Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0-alpha-3
-
Fix Version/s: 3.2
-
Component/s: Plugins and Lifecycle
-
Labels:None
-
Number of attachments :
Description
Currently, the 'jar' lifecycle mapping specifies that the 'compiler:complie' mojo will be bound to the 'compile' phase. The 'compiler' prefix is mapped concretely to the maven-compiler-plugin. This means that it's not currently possible to use a different mojo to compile jar projects.
How can a third party implementor touch this lifecycle phase for jars without implementing a new plexus-compiler implementation, and even then, how is the new compiler impl supposed to be added to the plugin container?
Issue Links
- depends upon
-
MNG-2806
Provide a means of replacing one mojo binding with another, without knowing the location of the first binding in the lifecycle
-
I should mention that I think the solution is to provide a way of binding a mojo api-type to the phase, and let maven determine which implementation to use.