maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Liard <sam...@net-liard.com>
Subject [m2] dependency with local file
Date Fri, 27 Jan 2006 17:05:12 GMT
Hi,

I just start with maven 2 and I have some trouble..

I just want to add a dependency to a jar file (a jar
file in my local machine).
Something like :
    <dependency>
      <groupId>j2ee</groupId>
      <artifactId>j2ee</artifactId>
      <version>1.4</version>
      <scope>compile</scope>
    </dependency>
add the j2ee.jar file is in /lib dir...

In maven 1, I use a project.properties to do that :
maven.jar.override = on
maven.jar.j2ee = ../LIB/j2ee.jar

In the same direction I want to add dependency whith
Jonas :
    <dependency>
      <groupId>jonas</groupId>
      <artifactId>jonas</artifactId>
      <version>4.3.5</version>
      <scope>compile</scope>
    </dependency>
And in a pom file list all jar file use with a jonas
dependency.

Is it possible ?
And, more important, how to do that ? :)

Thanks

Samuel Liard

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


Mime
View raw message