[
https://issues.apache.org/jira/browse/SUREFIRE-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tibor Digana updated SUREFIRE-1468:
-----------------------------------
Fix Version/s: 3.0
> JUnit categories: 'groups' user parameter conflicts with javadoc plugin
> -----------------------------------------------------------------------
>
> Key: SUREFIRE-1468
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1468
> Project: Maven Surefire
> Issue Type: Bug
> Components: Junit 4.x support
> Reporter: Steve Arch
> Priority: Minor
> Fix For: 3.0
>
>
> The user parameter for setting [JUnit test
> groups|http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#groups]
> (-Dgroups=com.foo.Bar) conflicts with the
> [groups|https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#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:
>
> {code:java}
> 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{code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)