A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Ant, Maven and Other Build Tools
Compiling package by package in Maven
Joined: May 12, 2010
Nov 22, 2011 13:01:02
I really like the way you can compile package by package and thus enforce dependencies between your packages. If a developer breaks the dependencies the code won't compile.
How is this achieved in
Joined: May 14, 2008
Nov 25, 2011 10:54:27
Make each package its own project. In effect, that is what you were doing in Ant. Then if you still want all of the classes packaged into a single JAR file you can use the Assembly plugin.
JBoss In Action
It is sorta covered in the
JavaRanch Style Guide
subject: Compiling package by package in Maven
exporting complete WAR bundle after build in M2/eclipse wtp project
config spring in eclipse
Maven : deploy libraries to WEB-INF/lib
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013