[ http://jira.codehaus.org/browse/MPWAR-62?page=all ]
nicolas de loof updated MPWAR-62:
---------------------------------
Attachment: MPWAR-62.patch
patch on plugin.jelly to add a prereq for "java:compile" to "war:webapp" goal.
This has as a side effect that java:compile is run twice when tests are enabled
> 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
> 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