On Tue, Jun 10, 2008 at 3:58 PM, Kent Närling <[EMAIL PROTECTED]> wrote: > 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
Is the releases repository defined as a member of the public group? When we've added additional repositories, we've had to make sure that we include them in the group definition if they're to be found at the group URL. Hope this helps, Ed --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
