[ http://jira.codehaus.org/browse/MAVEN-1784?page=comments#action_73487 ] 
            
Marnix J. van Wendel de Joode commented on MAVEN-1784:
------------------------------------------------------

This goes for the ejb plugin as well. When running ejb:install with 
maven.test.skip=true no XML files are included in the META-INF directory of the 
resulting jar.

> running war plugin while skipping unit tests results in a war without src and 
> resources
> ---------------------------------------------------------------------------------------
>
>                 Key: MAVEN-1784
>                 URL: http://jira.codehaus.org/browse/MAVEN-1784
>             Project: Maven
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.1-beta-3
>            Reporter: Michael Franken
>            Priority: Critical
>
> (Probably) due to Jelly issues, plugin pregoals are sometimes evaluated 
> wrongly. In our case this causes a war goal to NOT call the necessary pregoal 
> (java:jar-resources and even java:compile) when you skip running the tests 
> (maven.test.skip=true). The problem does not occur with maven 1.02, and it 
> does not occur when NOT skipping unit tests.
> The issues can be verified by running:
> maven -Dmaven.test,skip=true war on a web project

-- 
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

        

Reply via email to