Details
-
Wish
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.2.1
-
None
-
None
Description
with Java annotations support added in Maven Plugin Tools 3.0, descriptor cannot be generated before compilation
actually, to use annotations, users need to add extra configuration to avoid failure and to bind the goal to proper phase:
<configuration> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> </configuration> <executions> <execution> <id>mojo-descriptor</id> <goals> <goal>descriptor</goal> </goals> </execution>
changing the default lifecycle binding will enable removal of this extra configuration
notice that removing the configuration from pom will require to check newer Maven version is used to build the plugin
Attachments
Attachments
Issue Links
- is related to
-
MNG-6169 Packaging plugin bindings version updates
- Closed
- relates to
-
MPLUGIN-238 HelpMojo phases fails when using java-annotations
- Closed