File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes maven ear plugin question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "maven ear plugin question" Watch "maven ear plugin question" New topic
Author

maven ear plugin question

Shane Lee
Ranch Hand

Joined: Mar 19, 2005
Posts: 63
Maven 2.2.0
Eclipse Galileo
M2Eclipe plugin

i have created a new ear project to package my underlying web project in an ear.
the web project eagent build final name is 001.war, instead of for example eagent-1.4-SNAPSHOT.war. They seemingly use /001 as the context path. So i want to try and replicate this in my ear project. When i add the web dependency i set the value of version to the correct version, but that is not the name of the war i want to see in the ear file created, i want to see 001.war. How can i change this or if i uncomment the element contextRoot and set to 001 will that work instead of changing the war name?

Regards,
Shane.

Ebusear pom.xml

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: maven ear plugin question
 
Similar Threads
Continuous integration - Bamboo, Maven
Ear Building in Maven
Maven excluding dependencies from ear
JBOSS DeploymentException : Not able to find module file : .war in a .ear file
Maven: deploy application to server