You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andreas Guther <An...@markettools.com> on 2006/04/17 08:20:46 UTC

[M2] Force order of jar files in classpath

Hi, 

I am encountering different situations where it would be helpful to force the order of the jar files within the classpath.  So far I could not figure out if Maven 2 allows this to configure at all as well as how the order of the jar files is compiled from the dependency section.  Is this arbitrary?

Is there a mechanism that allows defining the order of jar files within the classpath?

Andreas

	 
 



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


RE: [M2] Force order of jar files in classpath

Posted by Jeff Jensen <je...@upstairstechnology.com>.
Is there a way with M1?  We have a "patch jar" that needs to load first.  I
was just in progress with setting this up...
 

-----Original Message-----
From: dan tran [mailto:dantran@gmail.com] 
Sent: Monday, April 17, 2006 1:50 AM
To: Maven Users List
Subject: Re: [M2] Force order of jar files in classpath

There is no way to do that in maven2,  Just wonder,  What is your usecase
that requires this feature.

-D

On 4/16/06, Andreas Guther <An...@markettools.com> wrote:
>
> Hi,
>
> I am encountering different situations where it would be helpful to 
> force the order of the jar files within the classpath.  So far I could 
> not figure out if Maven 2 allows this to configure at all as well as 
> how the order of the jar files is compiled from the dependency section.
Is this arbitrary?
>
> Is there a mechanism that allows defining the order of jar files 
> within the classpath?
>
> Andreas
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


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


Re: [M2] Force order of jar files in classpath

Posted by dan tran <da...@gmail.com>.
There is no way to do that in maven2,  Just wonder,  What is your usecase
that requires this
feature.

-D

On 4/16/06, Andreas Guther <An...@markettools.com> wrote:
>
> Hi,
>
> I am encountering different situations where it would be helpful to force
> the order of the jar files within the classpath.  So far I could not figure
> out if Maven 2 allows this to configure at all as well as how the order of
> the jar files is compiled from the dependency section.  Is this arbitrary?
>
> Is there a mechanism that allows defining the order of jar files within
> the classpath?
>
> Andreas
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>