Matt Raible wrote: > I'm just starting to play around with Maven 2's Ant tasks. While I > like the transitive dependencies, it seems like I have to exclude more > than I'd normally include. ;-) > > Onto my question - is it possible to declare a single > <artifact:dependencies>, set the scopes appropriately and then > copy/include only the compile+runtime JARS in WEB-INF/lib? As far as > I can tell this is not possible - unless you declare dependencies in a > pom.xml and use different <artifact:dependencies> for compile, test > and runtime. >
What's wrong with that? It's good to seperate concerns of {project
dependency info} with {project build functionality}. In my case it's
necessary because we use Ant imports to achieve a generic ant build tool
(same functionality everywhere) with configuration files, like pom.xml,
for each project (different dependencies for each project).
--
Dave Brondsema
Software Developer
Cornerstone University
signature.asc
Description: OpenPGP digital signature
