This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven:- writing in manifest

 
Kousik Majumder
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a requirement where the jar file will not go in the war but will stay rather in ear.
But that jar will be refered by the war manifest file. And that manifest will be generated automatically.So I need to mention in the default made manifest file about that entry.
Can I do that?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sounds like a classic case of a WAR referencing a JAR full of EJBs. So yes, I think you can do that.
 
Kousik Majumder
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So how can I do that in Maven?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kousik Majumder wrote:So how can I do that in Maven?

I'm afraid I'll have to refer you to the documentation on the Maven EAR plugin for that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic