This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
Maven 1.x question: How to build an additional jar when my WAR is built
posted 6 years ago
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.