Two Laptop Bag
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "maven ear plugin question" Watch "maven ear plugin question" New topic

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?


Ebusear pom.xml

I agree. Here's the link:
subject: maven ear plugin question
jQuery in Action, 3rd edition