Have you defined own dependencies? If yes, ensure your dependencies are not using the old artifacts as indirect dependencies. If they do so, you must exclude the artifacts from this dependencies.
We use maven overlay in cas projects since a long time, and solved such collisions by excluding the offending dependencies. Btw. We use maven 2.0.8 and it works (here). maybe a "mvn dependency:analyze" or "mvn -X" will help. Robert Am 17.12.2008 um 06:35 schrieb Adam Rybicki: > Scott, > > I have version 2.0.9. > > Adam > > Scott Battaglia wrote: >> Adam, >> >> Which version of Maven is being used? Older versions tended to >> pull in incorrect versions of Spring. >> >> -Scott >> >> -Scott Battaglia >> PGP Public Key Id: 0x383733AA >> LinkedIn: http://www.linkedin.com/in/scottbattaglia >> >> >> On Tue, Dec 16, 2008 at 8:58 PM, Adam Rybicki <[email protected] >> <mailto:[email protected] >> >> wrote: >> >> All, >> >> On a project I am doing I need to build an implementation-specific >> version of CAS server 3.3.1. I am trying to use a Maven war >> overlay method in which I only need to supply the files to add or >> replace in cas.war in the JA-SIG Maven repository. This should >> make future CAS server upgrades trivially simple. >> >> I am not much of a Maven expert, so I am likely missing some >> option. The war file built by Maven ends up with both >> spring-beans-2.0.7.jar and spring-beans-2.5.6.jar as well as >> spring-core-2.0.7.jar and spring-core-2.5.6.jar. >> >> I've attached my pom.xml in case someone can spot my error. >> >> Thanks, >> Adam >> >> _______________________________________________ >> cas-dev mailing list >> [email protected] <mailto:[email protected]> >> http://tp.its.yale.edu/mailman/listinfo/cas-dev >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> cas-dev mailing list >> [email protected] >> http://tp.its.yale.edu/mailman/listinfo/cas-dev >> > <arybicki.vcf>_______________________________________________ > cas-dev mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas-dev _______________________________________________ cas-dev mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas-dev
