File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
I agree. Here's the link:
subject: Compiling package by package in Maven
config spring in eclipse
exporting complete WAR bundle after build in M2/eclipse wtp project
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-2014