David,
Im quite new myself but can try and give a couple of suggestions.
One is your model version. I believe this refers to the pom so should
probably be 4.0.0.
Also you may be better to use the install command to upload your jar to
the repository. I believe this command auto generates the metadata and
md5 checksum for your jar so it should be more reliable.
regards
Tim D
Abbs, David A wrote:
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.
--
Tim Davies
Analyst Developer
KTS PLC: Service you can bank on
8th Floor, Finsbury Tower,
103-105 Bunhill Row,
London EC1Y 8LZ
tel: +44 (0)20 7256 2300
fax: +44 (0)20 7256 2301
email: [EMAIL PROTECTED]
web: http://www.ktsplc.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]