Next issue on the list...commons-beanutils refers to jdbc-2.0. However, shouldn't this be a compile time only dependency. And if so, why would I need to download it? Maven should know that jdk-1.4 already contains jdbc-2.0.
[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 reposit ory [INFO] maven-resources-plugin: resolved to version 2.0-alpha-2 from local reposi tory [INFO] [resources:resources] Downloading: http://repo1.maven.org/maven2/jdbc/jdbc/2.0/jdbc-2.0.jar [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 jdbc:jdbc:2.0:jar from the specified remote repositories: http://repo1.maven.org/maven2 Try downloading the file manually from http://java.sun.com/products/jdbc/download.html#spec and install it using the command: m2 install:install-file -DgroupId=jdbc -DartifactId=jdbc -Dversion=2.0 -Dpackaging=jar -Dfile=/path/to/file Root error: Unable to download the artifact from any repository [INFO] ------------------------------------------------------------------------ - --- [INFO] Total time: 4 seconds [INFO] Finished at: Thu Jun 16 01:42:37 PDT 2005 [INFO] Final Memory: 1M/3M [INFO] ------------------------------------------------------------------------ - --- -----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]