I assume the deploy goes ok if you can see it in the UI. Make sure the repo is 
part of the public group and also make sure you don't have a routing rule that 
is somehow causing the thirdparty to be excluded (maybe you have include 
org.jacorb = releases& snapshots for example)

-----Original Message-----
From: Kent Närling [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 10, 2008 1:58 AM
To: Maven Users List
Subject: How to make nexus work with thirdparty libraries??

I have read the FAQ on how to upload thirdparty jars to a repository, but
cannot seem to get it working?

I have tried to upload the jacorb jar to our own local repository (nexus)
with the command:
mvn deploy:deploy-file -DgroupId=org.jacorb -DartifactId=jacorb
-Dversion=2.3 -Dpackaging=jar -Dfile=jacorb.jar -Durl=
http://nexus:8081/nexus/content/repositories/releases

And then I have the following settings.xml:
<?xml version="1.0"?>
<settings>
  <mirrors>
    <mirror>
      <id>Nexus</id>
      <name>Nexus Public Mirror</name>
      <url>http://nexus:8081/nexus/content/groups/public</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
  </mirrors>
</settings>

But still I cannot use this artifact!!
I tried searching for it using the index plugin in M2 eclipse but cannot
find it (and cannot add it as a dependency either).

But when I go into nexus I can easily find it when searching for artifacts
in the web user interface...

I also tried to upload it to repositories/thirdparty (in nexus) but no
difference?
Can anyone tell me what I am doing wrong?

//Kent

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to