spring-parent defines all dependencies
spring-2.5 pulls in spring-parent as parent (and re-declares only those 
dependencies that changed for 2.5)

spring-3.0 pulls in spring-parent as parent (and re-declares only those 
dependencies that changed for 3.0)


the 'shared dependencies' for spring are in spring-parent

 

if you need to pull in other managed-dependencies declare <scope>import</scope> 
for that <managed->dependency


does this help?
Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.



 

> From: t...@saceboard.sa.gov.au
> To: users@maven.apache.org
> Date: Thu, 24 Jun 2010 17:56:16 +0930
> Subject: RE: Activating profiles declared in parent pom
> 
> > The best solution is to have either:
> > 
> > 1. A project for spring 3 and a project for spring 2.5 that 
> > defines the dependencyManagement for each of the spring 
> > versions and then use dependency scope import to pull in the 
> > spring 3 or the spring 2.5 dependency version info (assumes 
> > that the same GAV coords exist in both versions of spring and 
> > only the versions/exclusions change, and or the transitive 
> > deps are pulling in the diffs)
> 
> OK, I wasn't aware of scope import, I'll have a look. Thanks
> 
> > 2. A project for spring 3 and a project for spring 2.5 that 
> > pull in all the deps for these and then just depend on either 
> > the spring 3 or the spring 2.5 version.
> 
> This is pretty horrible. I just want a nice way to share dependencyManagement 
> information between projects so that it's defined somewhere central. This 
> proposal actually changes the pulled in dependencies.
> 
> Thanks for the suggestions
> 
> Tom
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
                                          
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3

Reply via email to