You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by James Clinton <Ja...@patsystems.com> on 2008/04/14 12:31:35 UTC
Packaging of test-jar
A module (B) isn't compiling because maven is skipping the packaging of
test-jar in a dependant module (A).
<goal>test-jar</goal>
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
RE: Packaging of test-jar
Posted by Jason Chaffee <ja...@tvworks.com>.
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:sseidel@vub.de]
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).
>
>
>
> <goal>test-jar</goal>
>
>
>
> 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. sseidel@vub.de
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Packaging of test-jar
Posted by Dirk Olmes <di...@xanthippe.ping.de>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Packaging of test-jar
Posted by VUB Stefan Seidel <ss...@vub.de>.
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).
>
>
>
> <goal>test-jar</goal>
>
>
>
> 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. sseidel@vub.de
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org