Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

maven ear plugin question  RSS feed

Shane Lee
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!