So, I have a spring mvc web application that I created in IntelliJ 9 using maven.
When I ran a:
mvn clean install
It packs everything in a .war file as well as in a parsed war.
My project layout uses the arch type of the simplest maven web application.
How can I have my classes compiled into a .jar file also?
My classes are currently in:
/target/myapp/WEB-INF/classes/
I want it to compile my code in .jar, for example:
myapp-1.0.jar
And this is in my /target/myapp/WEB-INF/lib
folder, like all my other banks.
Update
I want to do this via maven, not intellij specific.
Blankman
source share