You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by il...@ubs.com on 2010/11/29 15:42:55 UTC
Best practices for dependency management for multiply projects
Hi,
I have more then 100 maven projects and each of then has .jar
dependencies.
I can put dependencies directly into each application POM file or keep
them separately as a separate POMs.
In the second scenario I may be able to share the dependency POM files
between few apps, however downside will be in case I change any content
in the dependency POM that will affect other apps.
Can you please share you experience managing (and sharing) dependencies
for multiple projects.
And related question - if I have one version of dependency in the
referenced dependency file and another version in the application POM
itself. Which one take precedence?
Thanks
Ilya Mayzel
Please visit our website at
http://financialservicesinc.ubs.com/wealth/E-maildisclaimer.html
for important disclosures and information about our e-mail
policies. For your protection, please do not transmit orders
or instructions by e-mail or include account numbers, Social
Security numbers, credit card numbers, passwords, or other
personal information.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Best practices for dependency management for multiply projects
Posted by "Yanko, Curtis" <cu...@uhc.com>.
I found this article to be very helpful
http://olex.openlogic.com/wazi/2010/creating-intelligent-projects-with-m
aven/
________________________________
Curt Yanko | Continuous Integration Services | UnitedHealth Group IT
Making IT Happen, one build at a time, 600 times a day
> -----Original Message-----
> From: ilya.mayzel@ubs.com [mailto:ilya.mayzel@ubs.com]
> Sent: Monday, November 29, 2010 9:43 AM
> To: users@maven.apache.org
> Subject: Best practices for dependency management for
> multiply projects
>
> Hi,
>
> I have more then 100 maven projects and each of then has .jar
> dependencies.
> I can put dependencies directly into each application POM
> file or keep them separately as a separate POMs.
> In the second scenario I may be able to share the dependency
> POM files between few apps, however downside will be in case
> I change any content in the dependency POM that will affect
> other apps.
>
> Can you please share you experience managing (and sharing)
> dependencies for multiple projects.
>
> And related question - if I have one version of dependency in
> the referenced dependency file and another version in the
> application POM itself. Which one take precedence?
>
> Thanks
>
> Ilya Mayzel
>
> Please visit our website at
> http://financialservicesinc.ubs.com/wealth/E-maildisclaimer.html
> for important disclosures and information about our e-mail
> policies. For your protection, please do not transmit orders
> or instructions by e-mail or include account numbers, Social
> Security numbers, credit card numbers, passwords, or other
> personal information.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org