RE: maven dependency classpath
It seems in maven2.0.5, we can control the order in pom.xml -Original Message- From: Rod Mclaughlin [mailto:[EMAIL PROTECTED] Sent: Thursday, March 08, 2007 1:10 PM To: Maven Users List Subject: Re: maven dependency classpath That's a good question! If we can control the classpath order, we can avoid the 'cglib-full' issue (the issue is that class x.y.Z is on the classpath twice, our code requires method a(), and the first example of x.y.Z on the classpath does not have a method a() but the second does, so if we could reverse the classpath order, our code will build using Maven). Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco) wrote: > > Does anyone know how maven creates the classpath from the dependencies. > > Whats the order it creates ? How can we control the order ? > > Thanks!! > > -- Rod McLaughlin [EMAIL PROTECTED] .m2/repository/cglib/cglib-full/2.0.2/cglib-full-2.0.2.jar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven dependency classpath
That's a good question! If we can control the classpath order, we can avoid the 'cglib-full' issue (the issue is that class x.y.Z is on the classpath twice, our code requires method a(), and the first example of x.y.Z on the classpath does not have a method a() but the second does, so if we could reverse the classpath order, our code will build using Maven). Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco) wrote: Does anyone know how maven creates the classpath from the dependencies. Whats the order it creates ? How can we control the order ? Thanks!! -- Rod McLaughlin [EMAIL PROTECTED] .m2/repository/cglib/cglib-full/2.0.2/cglib-full-2.0.2.jar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven dependency classpath
Does anyone know how maven creates the classpath from the dependencies. Whats the order it creates ? How can we control the order ? Thanks!!
Maven Dependency Classpath and other types
Hi Folks, I'm using beta-9 sucessfully. A minor problem leads me to a new question: How does maven assebles maven.depedency.classpath? For instance the following dependencies _won't_ work with java:compile: jPortal-ejb ejb jPortal-ejb-0.6.1.jar jPortal-security ejb jPortal-security-0.1.5.jar It seems that java:compile will take care only on assemblies under jar/ and not under the type you mave configure. This coulde be very usefull if you try to assemble a modular enterprise application. Or is this against a strategy the maven.dependecy.classpath follows? Thx Toby - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]