2010/11/11 Ron Wheeler <rwhee...@artifact-software.com>:
> War project has almost no code or preferably no code .
> Code is in jar project.
>
> War project has WebContent stuff (configurations, XML, images, JSPs) and
> depends on your Jar project for its classes. It will create a WAR file with
> the classes from the dependencies.

I disagree, you can put code in war projects, as long as it is tightly
connected to the web project itself, e.g. actions in an MVC framework,
servlets, etc.
If you really like to pack all the code into a jar, see here:
http://maven.apache.org/plugins/maven-war-plugin/faq.html#attached

Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to