Actually, I got it working if I manually added it to the dependencies... so
this seems to be a bug in the M2 maven eclipse plugin, since I could not
find it by browsing...

Anyone have a comment on that?
Apart from this I have found the m2 plugin great so far and the artifact
browser is very nice! :-)

//Kent


2008/6/11 Ed Hillmann <[EMAIL PROTECTED]>:

> 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]
>
>


-- 
Kent Närling

System Architect
SEAMLESS
Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden
Phone: +46 8 5648 7800, fax: +46 8 5648 7823
Mobile: +46 70 836 9925
Mail: [EMAIL PROTECTED]
www.seamless.se

Reply via email to