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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 227
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: 15632
    
  15

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: 227
So how can I do that in Maven?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15632
    
  15

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
 
Similar Threads
Use of Manifest file
Application runs only inside WSAD
how to merge war file and ear file?
war files dependecy on the jar files in the war
Class Path for EJB.jar of an ear file