Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.8
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
If maven.test.skip is set (or if there are no unit tests), there should be no need to execute test:test-resources.
This allows putting preGoals and postGoals against test:test-resources which may be very time-consuming (such as database loads), and these other goals would not be executed if the tests are not run.
Issue Links
| This issue is related to: | ||||
| MPTEST-66 | 1.8 version introduces bug in other plugins |
|
|
|
I believe I'm having the same problem. If I define a pregoal for test:test and then run maven as:
maven -Dmaven.test.skip=true
it still executes my pregoal.