You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2024/06/26 21:16:00 UTC

[jira] [Closed] (SUREFIRE-1468) JUnit categories: 'groups' user parameter conflicts with javadoc plugin

     [ https://issues.apache.org/jira/browse/SUREFIRE-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed SUREFIRE-1468.
------------------------------------
    Resolution: Duplicate

> 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
>
> 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
(v8.20.10#820010)