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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: Junit 4.x support
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated: