The following comment has been added to this issue: Author: Todd Huss Created: Thu, 24 Feb 2005 5:56 PM Body: 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. --------------------------------------------------------------------- View this comment: http://jira.codehaus.org/browse/MPTEST-46?page=comments#action_30283 --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MPTEST-46 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPTEST-46 Summary: Do not execute test:test-resources unless tests will be run Type: Improvement Status: Unassigned Priority: Minor Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-test-plugin Assignee: Reporter: thierry lach Created: Thu, 18 Nov 2004 4:28 PM Updated: Thu, 24 Feb 2005 5:56 PM 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. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]