You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Vladimir Jigounov <ji...@gmail.com> on 2010/03/10 23:14:44 UTC

RE: preserving order of dependencies

I'm using maven 2.2.1.
Order of libraries on classpath does not match order of dependencies in
pom.xml
Is there any way to specify order of jar files in pom.xml?
I understand that shuffling or jars makes you stronger, but still,
Java is sensitive to order of libraries, why not support this in maven?
-- 
View this message in context: http://old.nabble.com/preserving-order-of-dependencies-tp20123426p27856602.html
Sent from the Maven Developers mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: preserving order of dependencies

Posted by Brian Fox <br...@infinity.nu>.
Which classpath? The order should be as in your Pom followed by Parent
Pom, Grandparent Pom etc.

On Wed, Mar 10, 2010 at 5:14 PM, Vladimir Jigounov <ji...@gmail.com> wrote:
>
> I'm using maven 2.2.1.
> Order of libraries on classpath does not match order of dependencies in
> pom.xml
> Is there any way to specify order of jar files in pom.xml?
> I understand that shuffling or jars makes you stronger, but still,
> Java is sensitive to order of libraries, why not support this in maven?
> --
> View this message in context: http://old.nabble.com/preserving-order-of-dependencies-tp20123426p27856602.html
> Sent from the Maven Developers mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: preserving order of dependencies

Posted by Justin Edelson <ju...@gmail.com>.
Maven has supported an ordered classpath for a while now (since 2.0.9
IIRC). Can you provide more details?

Justin

On Mar 10, 2010, at 5:14 PM, Vladimir Jigounov <ji...@gmail.com>
wrote:

>
> I'm using maven 2.2.1.
> Order of libraries on classpath does not match order of dependencies
> in
> pom.xml
> Is there any way to specify order of jar files in pom.xml?
> I understand that shuffling or jars makes you stronger, but still,
> Java is sensitive to order of libraries, why not support this in
> maven?
> --
> View this message in context: http://old.nabble.com/preserving-order-of-dependencies-tp20123426p27856602.html
> Sent from the Maven Developers mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org