|
From: Geoffrey De S. <ge0...@gm...> - 2006-10-06 07:43:10
|
It looks like http://www.ibiblio.org/maven2/org/springframework/spring/2.0/spring-2.0.pom doesn't depend on all the modules, instead it uses a monolithic jar. M2 doesn't understand that it's actually a union of all modules. So, it's a bad idea to depend on org.springframework:spring:2.0, it's better to depend on the modules: org.springframework:spring-core:2.0 etc, like this: <properties> <spring.version>2.0</spring.version> </properties> ... <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>${spring.version}</version> </dependency> ... That way you 'll avoid problems when you start using acegi, web flow, spring-modules and/or spring-richclient, which depend on the modules of spring. Otherwise you 'll get a lot of classes in your classpath twice (which is bad). Brendan Grainger wrote, On 2006-10-05 4:19 PM: > They already are: > http://www.ibiblio.org/maven2/org/springframework/spring/2.0/ > <http://www.ibiblio.org/maven2/org/springframework/spring/2.0/> > > I pulled them down with this dependency: > > <dependency> > <groupId>org.springframework</groupId> > <artifactId>spring</artifactId> > <version>2.0</version> > </dependency> > > Although maybe you already know that, as it looks like your email was > sent two days ago? > > HTH > > On 10/3/06, *Dmitriy Kopylenko* <dko...@ru... > <mailto:dko...@ru...>> wrote: > > Is it possible that Spring 2.0 final artifacts are available in M2 > public repository? > > Thanks, > Dmitriy. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > <mailto:Spr...@li...> > https://lists.sourceforge.net/lists/listinfo/springframework-developer > <https://lists.sourceforge.net/lists/listinfo/springframework-developer> > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer -- With kind regards, Geoffrey De Smet |