blob: d66275772e69983931171b36f18848235ef66c6e [file] [log] [blame]
Cedric Beustd68d14c2010-07-16 14:22:05 -07001# Two different POMs are needed to build TestNG with Maven because it's not
2# allowed to have circular dependencies.
3# - pom.xml defines the project version "n-SNAPSHOT", builds, jars and deploys (but doesn't
4# run the tests).
5# - pom-test.xml declares a test dependency on "n-SNAPSHOT", which it will find
6# in the local repository (~/.m2/repository). All it does then is run the tests.
7
8mvn resources:resources compiler:compile resources:testResources compiler:testCompile jar:jar install:install
9mvn -f pom-test.xml test
10