You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Anil Arora <aa...@interlacesystems.com> on 2005/06/15 23:29:44 UTC

[m2] error downloading resources:resources

I'm getting the following error when I try to run any goal using maven.


 

[INFO]
------------------------------------------------------------------------
----

[INFO] Building interlace.util

[INFO]
------------------------------------------------------------------------
----

[INFO] maven-jar-plugin: resolved to version 2.0-alpha-2 from local
repository

[INFO] maven-compiler-plugin: resolved to version 2.0-alpha-2 from local
repository

[INFO] maven-resources-plugin: resolved to version 2.0-alpha-2 from
local repository

[INFO] [resources:resources]

Downloading:
http://repo1.maven.org/maven2/resources/resources/1.0/resources-1.0.pom

[WARNING] Unable to get resource from repository
http://repo1.maven.org/maven2

[INFO]
------------------------------------------------------------------------
----

[INFO] BUILD FAILURE

[INFO]
------------------------------------------------------------------------
----

[INFO] Main Error:

  Unable to download the artifact from any repository

  resources:resources:1.0:pom

 

from the specified remote repositories:

  http://repo1.maven.org/maven2

 

Root error:

  Unable to download the artifact from any repository

[INFO]
------------------------------------------------------------------------
----

[INFO] Total time: 2 seconds

[INFO] Finished at: Wed Jun 15 14:24:40 PDT 2005

[INFO] Final Memory: 1M/2M

[INFO]
------------------------------------------------------------------------
----

 

 

It appears to be an issue when I have the commons-configuration
dependency in my pom file.

 

    <dependency>

      <groupId>commons-configuration</groupId>

      <artifactId>commons-configuration</artifactId>

      <version>1.1</version>

    </dependency>

 

If I comment this out, it works past this, but fails since I need this
to compile.

 

 


Re: [m2] error downloading resources:resources

Posted by Nicolas Chalumeau <ni...@gmail.com>.
I remember to have discuss about it but it was probably on the common list...
The resources:resources is an internal test artifact that the
commons-configuration use to execute some test. I thought it was fixed
!

I fix it in my local repo by change its scope to test.

Nicolas

2005/6/16, Brett Porter <br...@gmail.com>:
> Thankyou. We will fix the commons-configuration data.
> 
> You can also edit it in your local repository (eg
> ~/.m2/repository/commons-configuration/commons-configuration/1.1/commons-configuration-1.1.pom)
> to comment out the reosurces dependency.
> 
> In the next release, you could also add an exclusion to the dependency.
> 
> - Brett
> 
> 
> On 6/16/05, Anil Arora <aa...@interlacesystems.com> wrote:
> > I'm getting the following error when I try to run any goal using maven.
> >
> >
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > ----
> >
> > [INFO] Building interlace.util
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > ----
> >
> > [INFO] maven-jar-plugin: resolved to version 2.0-alpha-2 from local
> > repository
> >
> > [INFO] maven-compiler-plugin: resolved to version 2.0-alpha-2 from local
> > repository
> >
> > [INFO] maven-resources-plugin: resolved to version 2.0-alpha-2 from
> > local repository
> >
> > [INFO] [resources:resources]
> >
> > Downloading:
> > http://repo1.maven.org/maven2/resources/resources/1.0/resources-1.0.pom
> >
> > [WARNING] Unable to get resource from repository
> > http://repo1.maven.org/maven2
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > ----
> >
> > [INFO] BUILD FAILURE
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > ----
> >
> > [INFO] Main Error:
> >
> >   Unable to download the artifact from any repository
> >
> >   resources:resources:1.0:pom
> >
> >
> >
> > from the specified remote repositories:
> >
> >   http://repo1.maven.org/maven2
> >
> >
> >
> > Root error:
> >
> >   Unable to download the artifact from any repository
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > ----
> >
> > [INFO] Total time: 2 seconds
> >
> > [INFO] Finished at: Wed Jun 15 14:24:40 PDT 2005
> >
> > [INFO] Final Memory: 1M/2M
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > ----
> >
> >
> >
> >
> >
> > It appears to be an issue when I have the commons-configuration
> > dependency in my pom file.
> >
> >
> >
> >     <dependency>
> >
> >       <groupId>commons-configuration</groupId>
> >
> >       <artifactId>commons-configuration</artifactId>
> >
> >       <version>1.1</version>
> >
> >     </dependency>
> >
> >
> >
> > If I comment this out, it works past this, but fails since I need this
> > to compile.
> >
> >
> >
> >
> >
> >
> >
> 
> ---------------------------------------------------------------------
> 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


Re: [m2] error downloading resources:resources

Posted by Brett Porter <br...@gmail.com>.
Thankyou. We will fix the commons-configuration data.

You can also edit it in your local repository (eg
~/.m2/repository/commons-configuration/commons-configuration/1.1/commons-configuration-1.1.pom)
to comment out the reosurces dependency.

In the next release, you could also add an exclusion to the dependency.

- Brett


On 6/16/05, Anil Arora <aa...@interlacesystems.com> wrote:
> I'm getting the following error when I try to run any goal using maven.
> 
> 
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> ----
> 
> [INFO] Building interlace.util
> 
> [INFO]
> ------------------------------------------------------------------------
> ----
> 
> [INFO] maven-jar-plugin: resolved to version 2.0-alpha-2 from local
> repository
> 
> [INFO] maven-compiler-plugin: resolved to version 2.0-alpha-2 from local
> repository
> 
> [INFO] maven-resources-plugin: resolved to version 2.0-alpha-2 from
> local repository
> 
> [INFO] [resources:resources]
> 
> Downloading:
> http://repo1.maven.org/maven2/resources/resources/1.0/resources-1.0.pom
> 
> [WARNING] Unable to get resource from repository
> http://repo1.maven.org/maven2
> 
> [INFO]
> ------------------------------------------------------------------------
> ----
> 
> [INFO] BUILD FAILURE
> 
> [INFO]
> ------------------------------------------------------------------------
> ----
> 
> [INFO] Main Error:
> 
>   Unable to download the artifact from any repository
> 
>   resources:resources:1.0:pom
> 
> 
> 
> from the specified remote repositories:
> 
>   http://repo1.maven.org/maven2
> 
> 
> 
> Root error:
> 
>   Unable to download the artifact from any repository
> 
> [INFO]
> ------------------------------------------------------------------------
> ----
> 
> [INFO] Total time: 2 seconds
> 
> [INFO] Finished at: Wed Jun 15 14:24:40 PDT 2005
> 
> [INFO] Final Memory: 1M/2M
> 
> [INFO]
> ------------------------------------------------------------------------
> ----
> 
> 
> 
> 
> 
> It appears to be an issue when I have the commons-configuration
> dependency in my pom file.
> 
> 
> 
>     <dependency>
> 
>       <groupId>commons-configuration</groupId>
> 
>       <artifactId>commons-configuration</artifactId>
> 
>       <version>1.1</version>
> 
>     </dependency>
> 
> 
> 
> If I comment this out, it works past this, but fails since I need this
> to compile.
> 
> 
> 
> 
> 
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org