Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic