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

Reply via email to