This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Maven 1.x question: How to build an additional jar when my WAR is built Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Maven 1.x question: How to build an additional jar when my WAR is built" Watch "Maven 1.x question: How to build an additional jar when my WAR is built" New topic
Author

Maven 1.x question: How to build an additional jar when my WAR is built

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
Hi,

I'm using Maven 1.1 (I know, my company is behind). Does anyone know what I should include in my project.xml file so that an additional jar containing classes from my WEB-INF/classes direcotry gets built when I build my war file. I thought I read somewhere that it is possible to simultaneously build a "-classes.jar" file when I run "maven war:war" but so far I haven't figured out how to do that with Maven 1.1.

Thanks, - Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven 1.x question: How to build an additional jar when my WAR is built