This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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
 
GeeCON Prague 2014
 
subject: Maven 1.x question: How to build an additional jar when my WAR is built