[ http://jira.codehaus.org/browse/MPWAR-62?page=all ]
Lukas Theussl closed MPWAR-62.
------------------------------
Assignee: Lukas Theussl
Resolution: Fixed
Fix Version/s: 1.6.3
Checking for maven.test.skip in the war plugin, so java:compile is not attained
twice. Thanks!
> maven-war-plugin doesn't compile java sources when used with
> maven-test-plugin 1.8
> -----------------------------------------------------------------------------------
>
> Key: MPWAR-62
> URL: http://jira.codehaus.org/browse/MPWAR-62
> Project: maven-war-plugin
> Issue Type: Bug
> Affects Versions: 1.6.2
> Reporter: nicolas de loof
> Assigned To: Lukas Theussl
> Fix For: 1.6.3
>
> Attachments: MPWAR-62.patch
>
>
> 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".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira