Maven 3 JavaDoc Plugin Conflicts with TestNG Groups
问题 I have the following: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <executions> <execution> <id>javadoc-jar</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> Which works fine during packaging or installing: mvn install or mvn package, however, as soon as I try to specify a TestNG Group to run for the tests: mvn install -Dgroups=somegroup it