You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Herve AGNOUX <he...@diaam-informatique.com> on 2005/07/26 17:18:16 UTC
[m2] Unable to download an artifact ?
Hi,
I want to use commons codec in a project. I wrote in my pom.xml :
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>>1.3</version>
<scope>compile</scope>
</dependency>
And, when I do "m2 compile", I get :
[INFO] [resources:resources]
Downloading:
http://repo1.maven.org/maven2/commons-codec/commons-codec/>1.3/com
mons-codec->1.3.pom
[WARNING] Unable to get resource from repository http://repo1.maven.org/maven2
[INFO]
------------------------------------------------------------------------
----
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
----
[INFO] Main Error:
Unable to read the metadata file
commons-codec:commons-codec:>1.3:jar
from the specified remote repositories:
http://repo1.maven.org/maven2
Path to dependency:
1) myproject:mything:jar:1.0-SNAPSHOT
Root error:
Unable to download the artifact from any repository
... I don't understand why ? I've look at
http://www.ibiblio.org/maven2/commons-codec/commons-codec/1.3/ and I see the
commons-codec-1.3.jar. Why m2 doesn't want download it ?
--
SARL diaam informatique - 04 77 25 43 28
Ingenierie, développements de systèmes d'information
http://www.diaam-informatique.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] Unable to download an artifact ?
Posted by Brett Porter <br...@gmail.com>.
your version gained a >
Feel free to file a bug that the POM validation needs to be improved, however.
- Brett
On 7/27/05, Herve AGNOUX <he...@diaam-informatique.com> wrote:
> Hi,
>
> I want to use commons codec in a project. I wrote in my pom.xml :
>
> <dependency>
> <groupId>commons-codec</groupId>
> <artifactId>commons-codec</artifactId>
> <version>>1.3</version>
> <scope>compile</scope>
> </dependency>
>
>
> And, when I do "m2 compile", I get :
>
> [INFO] [resources:resources]
> Downloading:
> http://repo1.maven.org/maven2/commons-codec/commons-codec/>1.3/com
> mons-codec->1.3.pom
> [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] Main Error:
> Unable to read the metadata file
> commons-codec:commons-codec:>1.3:jar
>
> from the specified remote repositories:
> http://repo1.maven.org/maven2
> Path to dependency:
> 1) myproject:mything:jar:1.0-SNAPSHOT
>
> Root error:
> Unable to download the artifact from any repository
>
>
> ... I don't understand why ? I've look at
> http://www.ibiblio.org/maven2/commons-codec/commons-codec/1.3/ and I see the
> commons-codec-1.3.jar. Why m2 doesn't want download it ?
>
>
>
> --
> SARL diaam informatique - 04 77 25 43 28
> Ingenierie, développements de systèmes d'information
> http://www.diaam-informatique.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org