Author: bimargulies
Date: Sat Dec 10 13:57:51 2011
New Revision: 1212794
URL: http://svn.apache.org/viewvc?rev=1212794&view=rev
Log:
Add more instructions to the integration tests.
Modified:
maven/site/trunk/src/site/apt/guides/development/guide-m2-development.apt
Modified:
maven/site/trunk/src/site/apt/guides/development/guide-m2-development.apt
URL:
http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/guides/development/guide-m2-development.apt?rev=1212794&r1=1212793&r2=1212794&view=diff
==============================================================================
--- maven/site/trunk/src/site/apt/guides/development/guide-m2-development.apt
(original)
+++ maven/site/trunk/src/site/apt/guides/development/guide-m2-development.apt
Sat Dec 10 13:57:51 2011
@@ -74,14 +74,15 @@ Developing Maven
If the problem case can't be set up in the unit tests, add an integration
test.
- Before submitting a patch, in any case, you should run all of the tests.
Proceed as follows:
+ Before submitting a patch, in any case, you should run all of the
integration tests. The tests require an empty local repository.
+-------------------------------------------------------------+
export M2_HOME=/place-to-put-test-maven-root
cd maven-3-trunk
ant all
cd ../core-integration-testing
-mvn -Prun-its
+rm -rf ~/.m2/repository
+mvn -Prun-its -B -U clean install
+-------------------------------------------------------------+
To run a single test, change the last command line to: