I have setup a local repository and dependencies are getting downloaded
to it fine.

I tried to put my own jar in their (an oracle db driver)

I am running maven 2 of windows xp.

Doing the following:

Setup repository at location

C:/mvnlocalrep

Then add the following structure

C:
  mvnlocalrep
      oraclejar
        jars
          classes12.jar
        poms
          classes12.pom

In the pom file I write the following

<project>
  <modelVersion>10.0.1</modelVersion>
  <groupId>oraclejdbc</groupId>
  <artifactId>classes12</artifactId>
  <version>0.1</version>
</project>

The I add this to the pom.xml where I want to use the dependency

     <dependency>
      <groupId>oraclejdbc</groupId>
      <artifactId>classes12</artifactId>
      <version>0.1</version>
      <scope>compile</scope>
    </dependency>

When I then do a

Mvn compile on the project I get this:

required artifacts missing:
  oraclejdbc:classes12:jar:0.1

for the artifact:
  org.bms:bms1_3:jar:1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
  
I would be eternally grateful for any help on this.

Thanks in advance.

Reply via email to