-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Starting in maven2, we have two features you might be able to take
advantage of:

1. transitive dependency resolution

  This is the resolution of your dependencies' dependencies and so on
until the full closure is calculated, and is automatic. To help reduce
the bloat which is imminent in this type of system, we've also added
dependency scopes (compile, runtime, test) which will resolve different
sets depending on the specific application (whether you're currently
running unit tests, bundling the app, etc.).

2. <dependencyManagement/> POM section

  This new section is meant to be specified in a parent POM for your
projects, and will help you to manage scope and version information for
a set of standardized dependencies. In other words, if many - BUT NOT
NECESSARILY ALL - of your projects use servletapi, you can specify an
entry in <dependencyManagement/> in a common ancestor-POM which
specifies the version '2.3' for servletapi. Then, when one of your
projects references servletapi, it need only specify <groupId/> and
<artifactId/> for that dependency, and the version will be retrieved
from the <dependencyManagement/> section (NOTE: specifying the version
locally will override the standards defined in the managed information).

Do these satisfy your requirements? You can find more information at
http://maven.apache.org/maven2 (although that site is very much a work
in progress)...

If this doesn't settle your specific issue, feel free to refine your
question, and we'll do our best to address it.

HTH,

- -john

solo turn wrote:
> is there any possibility (or if not, plan to allow) to include
> multiple jars with stating just one dependency?
> 
> most of our projects depend on the same set of jars, but this may
> change depending on the base version of the jars, and for ALL
> projects.
> 
> what we try to avoid is editing these dependencies in all projects
> (i.e. add or remove a jar, adjust the versions of all of it). we would
> like to just increase the version of the one dependency.
> 
> -solo.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCpeh/K3h2CZwO/4URAi41AJ4yF9hWyDPihRIppEy87Qw9/EFtXQCgo5xM
iEAQTx3jpb1zYFACxQw3TRQ=
=X7r5
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to