• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

maven ear plugin question

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?

Regards,
Shane.

Ebusear pom.xml

 
You are HERE! The other map is obviously wrong. Better confirm with this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic