[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=16324686#comment-16324686 ]

Tibor Digana commented on SUREFIRE-1462:
----------------------------------------

[~dipakpawar231]
We have to rename it to {{surefire.group}} or {{failsafe.group}}. Why you want to have {{maven.test.groups}}?
Please do this trick in surefire and similarily in failsafe:
<groups>${surefire.group}</groups>
and in the POM define empty property {{surefire.group}}.

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