Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1468

JUnit categories: 'groups' user parameter conflicts with javadoc plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • Junit 4.x support
    • None

    Description

      The user parameter for setting JUnit test groups (-Dgroups=com.foo.Bar) conflicts with the 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:

       

      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

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              agentgonzo Steve Arch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: