You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Nicolas De Loof <ni...@capgemini.com> on 2006/07/21 12:13:35 UTC
[m1] maven-war-plugin bugs when used with maven-test-plugin 1.8
Hello,
I've found an issue when using latest versions of maven-test-plugin (1.8) :
when maven.test.skip=true is set, the <test:compile> goal is not
executed. This sounds good, BUT the maven-war-plugin use "test:test"
goal to attain the "java:compile" goal, so the generated war has no
classes !
The war:resources plugin should have
prereqs="war:war-resources,*java:compile*,test:test".
Nico.
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [m1] maven-war-plugin bugs when used with maven-test-plugin 1.8
Posted by Nicolas De Loof <ni...@capgemini.com>.
I've created MPTEST-66 for this :
test:test should have prereqs on "java:compile,java:jar-resources"
test:compile should only require
"test:prepare-filesystem,test:test-resources".
Nicolas De Loof a écrit :
>
> Hello,
>
> I've found an issue when using latest versions of maven-test-plugin
> (1.8) :
> when maven.test.skip=true is set, the <test:compile> goal is not
> executed. This sounds good, BUT the maven-war-plugin use "test:test"
> goal to attain the "java:compile" goal, so the generated war has no
> classes !
>
> The war:resources plugin should have
> prereqs="war:war-resources,*java:compile*,test:test".
>
> Nico.
>
>
> This message contains information that may be privileged or
> confidential and is the property of the Capgemini Group. It is
> intended only for the person to whom it is addressed. If you are not
> the intended recipient, you are not authorized to read, print,
> retain, copy, disseminate, distribute, or use this message or any
> part thereof. If you receive this message in error, please notify the
> sender immediately and delete all copies of this message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org