Hi
you could try adding the dependency with scope "system" [1].
<dependency>
<groupId>oracle</groupId>
<artifactId>oracle</artifactId>
<version>x.x.x</version>
<scope>system</scope>
<systemPath>${basedir}/lib/oracle.jar</systemPath>
</dependency>
Cheers, michael
[1]
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
SiSi'mon schrieb:
We have a product we wish to deliver that requires compliation. We have a
pom.xml file that specifies all the dependencies but there is one dependency
(Oracle jdbc jars) for which there is no repository so we must package the
.jar files in a /lib/ directory under our application.
Outside of this all dependencies can be handled by Maven2. How do you
specify the location of the jar or class files on the maven command line?
we need to tell maven where the ojdbc jars are when it runs.
thanks
Si'mon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]