-
Bug
-
Resolution: Unresolved
-
Major
-
None
The plugin pom has profiles and other things that are setup by virtue of a plugin specific flag being set.
For example javadoc publishig is skiped with "skipTests" property.
Similar for findbugs.
This is very bad as you may want to speed a release by skipping tests (using the standard maven way[1]) in the perform goal yet this leads to the surprising thing that javadocs are missing. This is very costly and it is NOT the maven way. The POM has even invented its own workaround for this that again is not what maven users would expect
If you want to bind things to "tests not being run" then they should be bound to general maven properties like maven.test.skip and NOT a plugin specific property.
If we want to be helpful to people so that they do not have to type long flags then we set a profile with an id of "quickBuild" that configures specific plugin flags
[1] -Darguments=-DskipTests
- is duplicated by
-
JENKINS-37657 plugin pom overloads a standard mojo config file for other things
- Closed
- links to