maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Arch (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SUREFIRE-1468) JUnit categories: 'groups' user parameter conflicts with javadoc plugin
Date Mon, 29 Jan 2018 12:30:00 GMT

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

Steve Arch updated SUREFIRE-1468:
---------------------------------
    Description: 
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 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}
 

  was:
The user parameter for setting JUnit test 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 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}
 


> 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 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)

Mime
View raw message