Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.8
-
Fix Version/s: 1.8.1
-
Labels:None
-
Number of attachments :
Description
When maven-war-plugin is run with maven.test.skip=true, the sources are not compiled.
Latest version of test-plugin has removed prereqs on java:compile & java:jar-resources.
Assuming other plugins themself run the java:compile goal may have impact on lots of plugin and can break many application builds. I think the "test:test" goal may have a prereqs="java:compile,java:jar-resources", and the "test:compile" goal only prereqs="test:prepare-filesystem,test:test-resources"
Issue Links
- is depended upon by
-
MPEJB-23
ejb:init does not compile java code if tests are not run
-
-
MPWAR-62
maven-war-plugin doesn't compile java sources when used with maven-test-plugin 1.8
-
- is duplicated by
-
MAVEN-1784
running war plugin while skipping unit tests results in a war without src and resources
-
- is superceded by
-
MPTEST-73
test:test goal results in double invocation of java:compile goal
-
- relates to
-
MPTEST-46
Do not execute test:test-resources unless tests will be run
-
Patch to attach java:compile as a test:test prereqs
this patch also solves
MPWAR-62