History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: MAVEN-1784
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Critical Critical
Assignee: Lukas Theussl
Reporter: Michael Franken
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Maven 1

running war plugin while skipping unit tests results in a war without src and resources

Created: 28/Aug/06 09:41 AM   Updated: 28/Aug/06 01:12 PM
Component/s: core
Affects Version/s: 1.1-beta-3
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Duplicate
 


 Description  « Hide
(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



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Marnix J. van Wendel de Joode - 28/Aug/06 09:50 AM
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.

Lukas Theussl - 28/Aug/06 01:12 PM
Both the test and ejb plugins are scheduled to be re-released for Maven 1.1rc1 [1], if you think that your issues are not covered by the respective roadmaps [2,3], please open new tickets at either MPTEST or MPEJB. Thanks.

[1] http://jira.codehaus.org/browse/MAVEN?report=com.atlassian.jira.plugin.system.project:roadmap-panel
[2] http://jira.codehaus.org/browse/MPTEST?report=com.atlassian.jira.plugin.system.project:roadmap-panel
[3] http://jira.codehaus.org/browse/MPEJB?report=com.atlassian.jira.plugin.system.project:roadmap-panel