Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
Maven
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<p>During 2.x development, the Maven-eclipse-plugin became more and more complex with addition of support for many variants of Eclipse (RAD, MyEclipse, ...) and support for various users request. The 2.5.x series introduced nice integration with eclipse with detection of projects present in workspace, with the cost of yet more code. In the same time, many users are still not happy with the way this plugin configures the workspace, with request to support many tools configuration, that exist both as maven and eclipse plugins.</p> <p>This proposal goal is to define a new architecture for the maven-eclipse-plugin 3.x , based on a limited and extensible core, completed by loosely coupled components to analyse the workspace and setup eclipse to match user environement. Custom extension can be added to the plugin simply by adding a dependency to the plugin configuration. This will encourage other plugin developpers to create maven-eclipse-plugin extension that can be used with no delay, and could be later included in the plugin itself if supported by the community.</p> <p><strong>Please note this proposal is early draft</strong></p> <h1>new extensible architecture </h1> <p>The maven-eclipse-plugin will define a public contributor API, as a dedicated artifact that any extension will depend on. This API consist of :</p> <h4>An interface for contributors that will analyse the workspace and detect some features to be available</h4> <p>The contributor will receive the workspace location path and can extract from there any relevant information (eclipse variant, installed features, ...)</p> <p>examples :</p> <ul> <li>detect WTP version</li> <li>detect m2eclipse plugin</li> <li>detect RAD6 / RAD7 / myEclipse</li> <li>...</li> </ul> <h4>An interface for contributors that will analyse the maven project and extract some configuration</h4> <p>The contributor will receive the MavenProject model object to be analyzed ant extract maven configuration that may be translated to eclipse</p> <p>examples :</p> <ul> <li>maven compiler plugin target (for JRE</li> <li>checkstyle configuration</li> <li>servlet API (from dependencies)</li> </ul> <h4>An interface for contributors that will create or extend the set of configuration files</h4> <p>The contributor will get invoked after workspace and project analysis, and can then add / contribute configuration objets in the context</p> <h4>A context (Map-style) for contributors to share datas</h4> <p>The context will contain informations extracted from the environment (eclipse workspace + maven project) and configuration objects</p> <h4>A base abstract class for any configuration file to be generated</h4> <p>At contributor-API level, this is not related to files beeing writen but only to abstract configuration objects. Only the core plugin will convert those classes to configuration files. The plugin offers a default set of Configuration objects for standard eclipse configuration files (.classpath, .project, .settings ...)<br class="atl-forced-newline" /></p> <p>A contributor can then detect if the feature it supports is enabled/supported (and share the info with other contributors), contribute configuration objets and define new ones.</p> <h2>Pre-packaged contributors </h2> <p>The maven-eclipse-plugin itself will package many contributors for the features supported by the 2.5.x series. The code from this branch will be refactored to the new architecture.</p> <h2>Contributors configuration</h2> <p>to be investigated</p> <p>one option is to declare all contributors as nested <extension> elements in the plugin configuration, but this may create huge/ugly configuration blocs.</p> <p>another option is for the plugin to share a global Tree-style configuration object, with some default entries ("workspace" for the eclipse workspace location) an some contributor dedicated ones ("spring.context.includes" = *<strong>/applicationContext</strong>.xml) that will be used only by the contributors. <br class="atl-forced-newline" /> <br class="atl-forced-newline" /></p>
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced