Should it be the responsibility of the component owner to define the
scope for the dependencies in the pom file?  
If you look at this component, there are a lot of dependencies and each
with their own set of dependencies.

For example, shouldn't junit be a test dependency?

A.




-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 15, 2005 6:38 PM
To: Maven Users List
Subject: Re: [m2] error downloading resources:resources

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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to