RE: Packaging of test-jar
You can you "-Dmaven.test.skip.exec=true" or "-DskipTests" instead of "-Dmaven.test.skip=true" and it will still be created. -Original Message- From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] Sent: Monday, April 14, 2008 4:14 AM To: Maven Users List Subject: Re: Packaging of test-jar The test-jar is not built when tests are skipped. Stefan James Clinton wrote: > A module (B) isn't compiling because maven is skipping the packaging of > test-jar in a dependant module (A). > > > > test-jar > > > > The goal above if declared as part of the profile in the module (A) but > Skipping packaging of the test-jar is always outputted. > > > > Advice appreciated. > > > > J > > > > -- best regards, Stefan Seidel software developer VUB Printmedia GmbH Chopinstraße 4 D-04103 Leipzig Germany tel.+49 (341) 9 60 50 07 fax.+49 (341) 9 60 50 92 mail. [EMAIL PROTECTED] web.www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. Achim Preuss Neudorf, Dr. Christian Preuss Neudorf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Packaging of test-jar
VUB Stefan Seidel wrote: The test-jar is not built when tests are skipped. That's only true for maven-surefire-plugin versions < 2.4. If you use -DskipTests now, test-jar will be built. For older versions you could still compile using -Dmaven.test.skip.exec=true to have the test-jar built but no tests executed. -dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Packaging of test-jar
The test-jar is not built when tests are skipped. Stefan James Clinton wrote: A module (B) isn't compiling because maven is skipping the packaging of test-jar in a dependant module (A). test-jar The goal above if declared as part of the profile in the module (A) but Skipping packaging of the test-jar is always outputted. Advice appreciated. J -- best regards, Stefan Seidel software developer VUB Printmedia GmbH Chopinstraße 4 D-04103 Leipzig Germany tel.+49 (341) 9 60 50 07 fax.+49 (341) 9 60 50 92 mail. [EMAIL PROTECTED] web.www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. Achim Preuss Neudorf, Dr. Christian Preuss Neudorf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Packaging of test-jar
A module (B) isn't compiling because maven is skipping the packaging of test-jar in a dependant module (A). test-jar The goal above if declared as part of the profile in the module (A) but Skipping packaging of the test-jar is always outputted. Advice appreciated. J