Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Boost this thread!