Re: test-jar dependency not found when tests are disabled

2010-06-15 Thread Nick Stolwijk
There is a workaround. Use -DskipTests instead maven.test.skip. The second one also skips the compilation of the tests so the test-jars aren't being created. See http://maven.apache.org/plugins/maven-surefire-plugin/examples/skipping-test.html Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Cla

test-jar dependency not found when tests are disabled

2010-06-15 Thread Lóránt Pintér
Hi, I have two modules (A and B) in a multi-module project, B depending on A. The tests in B want to use the test classes defined in A, so did what is described here: http://maven.apache.org/guides/mini/guide-attached-tests.html . This way the test classes from project A get deployed to our compan