You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Rob Walker <ro...@ascert.com> on 2006/05/15 17:19:32 UTC
Dumb maven newbie question ...
So just done clean Felix checkout, installed a clean vanilla maven2
(2.0.4) and added to path.
Getting an error that I'm sure has been asked and answered before on
this list, but searching the archives couldn't find an obvious answer:
Reason: Unable to download the artifact from any repository
org.apache.maven.plugins:maven-plugins:pom:1
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots (http://cvs.apache.org/maven-snapshot-repository)
Guessing it needs an extra maven config step - or extra repos.
definition, but didn't see any referenced on the only "build howto" page
I could find:
http://docs.safehaus.org/display/OSGI/Building+Felix
Please be gentle on me - I know this is probably a trivial one - but I'm
a die-hard Ant user !
-- Rob
Ascert - Taking systems to the Edge
robw@ascert.com
+44 (0)20 7488 3470
www.ascert.com
Re: Dumb maven newbie question ...
Posted by Rob Walker <ro...@ascert.com>.
Many thanks Bram
- Rob
Bram de Kruijff wrote:
>Hello Rob,
>
>'central' seems down and is always slow anyway :S Try adding a mirror to
>your ~/.m2/settings.xml. I'm using ggi-project.org as shown below..
>
> <!--
> mirrors
>
> Specify one or more mirrors to use for central (or any
> other repository defined by the project).
>
> -->
> <mirrors>
> <mirror>
> <id>ggi-project.org</id>
>
><url>http://ftp.ggi-project.org/pub/packages/maven2</url>
> <mirrorOf>central</mirrorOf>
> </mirror>
>
> <!-- mirror>
> <id>planetmirror.com</id>
> <url>http://public.planetmirror.com/pub/maven2</url>
> <mirrorOf>central</mirrorOf>
> </mirror>
> <mirror>
> <id>lsu.edu</id>
>
><url>http://ibiblio.lsu.edu/main/pub/packages/maven2</url>
> <mirrorOf>central</mirrorOf>
> </mirror>
> <mirror>
> <id>ibiblio.net</id>
>
><url>http://www.ibiblio.net/pub/packages/maven2</url>
> <mirrorOf>central</mirrorOf>
> </mirror -->
> </mirrors>
>
>
>Best Regards,
>Bram
>
>
>
>>-----Original Message-----
>>From: Rob Walker [mailto:robw@ascert.com]
>>Sent: Monday, May 15, 2006 5:20 PM
>>To: felix-dev@incubator.apache.org
>>Subject: Dumb maven newbie question ...
>>
>>So just done clean Felix checkout, installed a clean vanilla maven2
>>(2.0.4) and added to path.
>>
>>Getting an error that I'm sure has been asked and answered
>>before on this list, but searching the archives couldn't find
>>an obvious answer:
>>
>> Reason: Unable to download the artifact from any repository
>>
>> org.apache.maven.plugins:maven-plugins:pom:1
>>
>> from the specified remote repositories:
>> central (http://repo1.maven.org/maven2),
>> apache.snapshots
>>(http://cvs.apache.org/maven-snapshot-repository)
>>
>>Guessing it needs an extra maven config step - or extra repos.
>>definition, but didn't see any referenced on the only "build
>>howto" page I could find:
>>
>> http://docs.safehaus.org/display/OSGI/Building+Felix
>>
>>Please be gentle on me - I know this is probably a trivial
>>one - but I'm a die-hard Ant user !
>>
>>-- Rob
>>
>>
>>Ascert - Taking systems to the Edge
>>robw@ascert.com
>>+44 (0)20 7488 3470
>>www.ascert.com
>>
>>
>>
>>
>
>
>
--
Ascert - Taking systems to the Edge
robw@ascert.com
+44 (0)20 7488 3470
www.ascert.com
RE: Dumb maven newbie question ...
Posted by Bram de Kruijff <br...@gx.nl>.
Hello Rob,
'central' seems down and is always slow anyway :S Try adding a mirror to
your ~/.m2/settings.xml. I'm using ggi-project.org as shown below..
<!--
mirrors
Specify one or more mirrors to use for central (or any
other repository defined by the project).
-->
<mirrors>
<mirror>
<id>ggi-project.org</id>
<url>http://ftp.ggi-project.org/pub/packages/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
<!-- mirror>
<id>planetmirror.com</id>
<url>http://public.planetmirror.com/pub/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>lsu.edu</id>
<url>http://ibiblio.lsu.edu/main/pub/packages/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>ibiblio.net</id>
<url>http://www.ibiblio.net/pub/packages/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror -->
</mirrors>
Best Regards,
Bram
> -----Original Message-----
> From: Rob Walker [mailto:robw@ascert.com]
> Sent: Monday, May 15, 2006 5:20 PM
> To: felix-dev@incubator.apache.org
> Subject: Dumb maven newbie question ...
>
> So just done clean Felix checkout, installed a clean vanilla maven2
> (2.0.4) and added to path.
>
> Getting an error that I'm sure has been asked and answered
> before on this list, but searching the archives couldn't find
> an obvious answer:
>
> Reason: Unable to download the artifact from any repository
>
> org.apache.maven.plugins:maven-plugins:pom:1
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> apache.snapshots
> (http://cvs.apache.org/maven-snapshot-repository)
>
> Guessing it needs an extra maven config step - or extra repos.
> definition, but didn't see any referenced on the only "build
> howto" page I could find:
>
> http://docs.safehaus.org/display/OSGI/Building+Felix
>
> Please be gentle on me - I know this is probably a trivial
> one - but I'm a die-hard Ant user !
>
> -- Rob
>
>
> Ascert - Taking systems to the Edge
> robw@ascert.com
> +44 (0)20 7488 3470
> www.ascert.com
>
>