maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Boyd <andrew.b...@mindspring.com>
Subject Re: Re: dependency version (Newbie)
Date Wed, 27 Aug 2003 12:58:35 GMT
Yes I can see that it would be duplicate versions
except for the fact that the version tag is different.

If maven is going to require a version it should then 
be able to differentiate  the diff between two versions.

Anyway I just renamed the jars with a bogus 0 version
and it works.  Although it seems like an ugly hack.

Thanks for responding,

Andrew

-------Original Message-------
From: dion@multitask.com.au
Sent: 08/25/03 10:20 PM
To: Maven Users List <users@maven.apache.org>
Subject: Re: dependency version (Newbie)

> 
> Andrew Boyd <andrew.boyd@mindspring.com> wrote on 26/08/2003 05:59:01 AM:

> Hi,
>   I have the following jars
> jboss-common.jar
> jboss-jmx-core.jar
> jboss-jmx-services.jar
> jboss-jmx.jar
> 
> Since Maven requires a version I wrote my dependencies as such:
>         <dependency>
>             <groupId>jmx</groupId>
>             <artifactId>jboss</artifactId>
This is jmx/jars/jboss-<version>.jar

>        <version>common</version>
>         </dependency>
>         <dependency>
>             <groupId>jmx</groupId>
>             <artifactId>jboss</artifactId>
>        <version>jmx</version>
>         </dependency>
This is ALSO jmx/jars/jboss-<version>.jar, i.e. a duplicate dependency.

>         <dependency>
>             <groupId>jmx</groupId>
>             <artifactId>jboss-jmx</artifactId>
>        <version>core</version>
>         </dependency>
>         <dependency>
>             <groupId>jmx</groupId>
>             <artifactId>jboss-jmx</artifactId>
Ditto.

--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


> 

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


Mime
View raw message