aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven:- writing in manifest 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:- writing in manifest" Watch "Maven:- writing in manifest" New topic
Author

Maven:- writing in manifest

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
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?


Thanks in Advance,
Kousik
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

That sounds like a classic case of a WAR referencing a JAR full of EJBs. So yes, I think you can do that.


Customer surveys are for companies who didn't pay proper attention to begin with.
Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
So how can I do that in Maven?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven:- writing in manifest