[Commented] (SUREFIRE-1462) surefire-plugin's "groups" has conflicts with javadoc-plugin's "groups"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Commented] (SUREFIRE-1462) surefire-plugin's "groups" has conflicts with javadoc-plugin's "groups"

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SUREFIRE-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16325020#comment-16325020 ]

Dipak Pawar commented on SUREFIRE-1462:
---------------------------------------

[~tibor17],

Thanks for the trick. We are already using it.

If we decided to use {{surefire.groups}} and if someone has to use it in {{failsafe}} plugin, then he has to use {{surefire.groups}} which looks bit odd to me.

Either we should change it use {{surefire.groups}} for surefire plugin and {{failsafe.groups}} for failsafe or we should make one unique name which we can use it both of them that's why I want to have it as {{maven.test.groups}}.

Also one more thing, should we make it backward compatible? So users who are already using {{groups}} doesn't have to deal with any changes if we support both i.e. for surefire - {{groups}} and {{surefire.groups}}, for failsafe - {{groups}} and {{failsafe.groups}}.

> surefire-plugin's "groups" has conflicts with javadoc-plugin's "groups"
> -----------------------------------------------------------------------
>
>                 Key: SUREFIRE-1462
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1462
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.20.1
>            Reporter: Dipak Pawar
>             Fix For: 3.0
>
>
> *Steps to Reproduce*
> * Take a clone of reproducer project using
> {code}
> git clone https://github.com/dipak-pawar/surefire-groups-reproducer.git
> {code}
> * Run test using
> * {code} mvn clean install {code} or {code} mvn clean verify{code} in case of failsafe plugin.
> *Expected Result*
> Test should run fine
> *Actual Result*
> Getting following error while executing mvn clean install
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) on project category-reproducer: Unable to parse configuration of mojo org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar for parameter #: Cannot find default setter in class org.apache.maven.plugins.javadoc.options.Group -> [Help 1]
> {code}
> References:
> http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#groups
> https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#groups



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)