Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
None
Description
The user parameter for setting JUnit test groups (-Dgroups=com.foo.Bar) conflicts with the groups parameter in the javadoc plugin as they both use the same 'groups' parameter name.
This means that if you run a build that uses both the surefire and the javadoc plugin, the javadoc plugin will try to interpret the same argument that was intended for the surefire plugin, resulting in the following error:
Unable to parse configuration of mojo org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:javadoc for parameter #: Cannot find default setter in class org.apache.maven.plugin.javadoc.options.Group
Attachments
Issue Links
- duplicates
-
SUREFIRE-1462 surefire-plugin's "groups" has conflicts with javadoc-plugin's "groups"
- Closed