Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.8
-
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
- is related to
-
MPTEST-66
1.8 version introduces bug in other plugins
-
Activity
Lukas Theussl
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.8 [ 11934 ] | |
| Assignee | Lukas Theussl [ lukas ] | |
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
Shinobu Kawai
made changes -
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.