I tried turning off the firewall on my pc and network from my home office and got the same error. I am now at work and tried it from this LAN and it made no difference. One thing I noticed is that when I cut and paste http://repo1.maven.org/maven2 into my Mozilla browser, it redirected to http://www.ibiblio.org/maven2/ and I was able to see the directories. Could this be the source of the problem? What are the settings that I could check on my pc that could be preventing me from reaching those repositories, this is with the knowledge that I'm not behind a proxy, I'm on the internet, and I've turned my firewall off.
Thanks in advance for your help -----Original Message----- From: Nick Veys [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 10:03 AM To: Maven Users List Subject: Re: newbie question Is your computer on the internet? Are you behind a proxy? You are unable to download every jar, either there's a service interruption on the mirrors or your connection isn't right. On 8/28/06, Charles Griffin <[EMAIL PROTECTED]> wrote: > I installed maven2 and am trying to compile a simple class that requires two > servicemix jars to compile. I've successfully compiled it in eclipse by just > setting up a regular java project and including the > servicemix-core-3.0-incubating-SNAPSHOT.jar and > servicemix-jbi-3.0-incubating-SNAPSHOT in the project's class path. However, > when I tried to build it the maven way (default directory structure and POM), > I get the following errors. Can somebody help? The errors I get are below. > I've also pasted the POM. > <<<POM>>>> > > <?xml version="1.0" encoding="UTF-8"?><project> > <modelVersion>4.0.0</modelVersion> > <groupId>gov.nih.nci.caxchange</groupId> > <artifactId>AuthenticationService</artifactId> > <version>0.0.1</version> > <description></description> > <dependencies> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>3.8.1</version> > </dependency> > <dependency> > <groupId>servicemix</groupId> > <artifactId>servicemix-core</artifactId> > <version>2.0.2</version> > </dependency> > <dependency> > <groupId>servicemix</groupId> > <artifactId>servicemix-jbi</artifactId> > <version>2.0.2</version> > </dependency> > <dependency> > <groupId>jta</groupId> > <artifactId>jta</artifactId> > <version>1.0.1b</version> > </dependency> > <dependency> > <groupId>javax.activation</groupId> > <artifactId>activation</artifactId> > <version>1.0.2</version> > </dependency> > </dependencies> > </project> > > > <<END POM>> > > <<<<<<<<<<Error Below>>>>>>>>>>>>>>> > > Microsoft Windows XP [Version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > C:\eclipse\workspace\AuthenticationService>mvn compile > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] Building Unnamed - > gov.nih.nci.caxchange:AuthenticationService:jar:0.0.1 > [INFO] task-segment: [compile] > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [WARNING] While downloading jta:jta:1.0.1b > This artifact has been relocated to javax.transaction:jta:1.0.1B. > > > [WARNING] POM for 'activemq:activemq-web:pom:3.2:compile' is invalid. It will > be > ignored for artifact resolution. Reason: Failed to validate POM > Downloading: > http://repo.mergere.com/maven2//incubator-derby/derbynet/10.1.1.0/d > erbynet-10.1.1.0.pom > [WARNING] Unable to get resource from repository MavenIB > (http://repo.mergere.co > m/maven2/) > Downloading: > http://repo1.maven.org/maven2/incubator-derby/derbynet/10.1.1.0/der > bynet-10.1.1.0.pom > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org > /maven2) > Downloading: > http://repo.mergere.com/maven2//incubator-derby/derby/10.1.1.0/derb > y-10.1.1.0.pom > [WARNING] Unable to get resource from repository MavenIB > (http://repo.mergere.co > m/maven2/) > Downloading: > http://repo1.maven.org/maven2/incubator-derby/derby/10.1.1.0/derby- > 10.1.1.0.pom > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org > /maven2) > Downloading: > http://repo.mergere.com/maven2//jencks/jencks/${pom.currentVersion} > /jencks-${pom.currentVersion}.pom > [WARNING] Unable to get resource from repository MavenIB > (http://repo.mergere.co > m/maven2/) > Downloading: > http://repo1.maven.org/maven2/jencks/jencks/${pom.currentVersion}/j > encks-${pom.currentVersion}.pom > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org > /maven2) > [INFO] snapshot activecluster:activecluster:1.1-SNAPSHOT: checking for > updates f > rom MavenIB > Downloading: > http://repo.mergere.com/maven2//activecluster/activecluster/1.1-SNA > PSHOT/activecluster-1.1-SNAPSHOT.pom > [WARNING] Unable to get resource from repository MavenIB > (http://repo.mergere.co > m/maven2/) > [WARNING] POM for 'activemq:activemq-web:pom:3.2:compile' is invalid. It will > be > ignored for artifact resolution. Reason: Failed to validate POM > Downloading: http://repo.mergere.com/maven2//servicemix/jaxp/1.3/jaxp-1.3.pom > [WARNING] Unable to get resource from repository MavenIB > (http://repo.mergere.co > m/maven2/) > Downloading: http://repo1.maven.org/maven2/servicemix/jaxp/1.3/jaxp-1.3.pom > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org > /maven2) > Downloading: > http://repo.mergere.com/maven2//javax/activation/activation/1.0.2/a > ctivation-1.0.2.jar > [WARNING] Unable to get resource from repository MavenIB > (http://repo.mergere.co > m/maven2/) > Downloading: > http://repo1.maven.org/maven2/javax/activation/activation/1.0.2/act > ivation-1.0.2.jar > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org > /maven2) > Downloading: > http://repo.mergere.com/maven2//activecluster/activecluster/1.1-SNA > PSHOT/activecluster-1.1-SNAPSHOT.jar > [WARNING] Unable to get resource from repository MavenIB > (http://repo.mergere.co > m/maven2/) > Downloading: > http://repo.mergere.com/maven2//jencks/jencks/${pom.currentVersion} > /jencks-${pom.currentVersion}.jar > [WARNING] Unable to get resource from repository MavenIB > (http://repo.mergere.co > m/maven2/) > Downloading: > http://repo1.maven.org/maven2/jencks/jencks/${pom.currentVersion}/j > encks-${pom.currentVersion}.jar > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org > /maven2) > Downloading: > http://repo.mergere.com/maven2//javax/resource/connector/1.0/connec > tor-1.0.jar > [WARNING] Unable to get resource from repository MavenIB > (http://repo.mergere.co > m/maven2/) > Downloading: > http://repo1.maven.org/maven2/javax/resource/connector/1.0/connecto > r-1.0.jar > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org > /maven2) > Downloading: > http://repo.mergere.com/maven2//javax/mail/mail/1.3.2/mail-1.3.2.ja > r > [WARNING] Unable to get resource from repository MavenIB > (http://repo.mergere.co > m/maven2/) > Downloading: > http://repo1.maven.org/maven2/javax/mail/mail/1.3.2/mail-1.3.2.jar > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org > /maven2) > Downloading: > http://repo.mergere.com/maven2//incubator-derby/derby/10.1.1.0/derb > y-10.1.1.0.jar > [WARNING] Unable to get resource from repository MavenIB > (http://repo.mergere.co > m/maven2/) > Downloading: > http://repo1.maven.org/maven2/incubator-derby/derby/10.1.1.0/derby- > 10.1.1.0.jar > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org > /maven2) > Downloading: http://repo.mergere.com/maven2//servicemix/jaxp/1.3/jaxp-1.3.jar > [WARNING] Unable to get resource from repository MavenIB > (http://repo.mergere.co > m/maven2/) > Downloading: http://repo1.maven.org/maven2/servicemix/jaxp/1.3/jaxp-1.3.jar > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org > /maven2) > Downloading: > http://repo.mergere.com/maven2//javax/transaction/jta/1.0.1B/jta-1. > 0.1B.jar > [WARNING] Unable to get resource from repository MavenIB > (http://repo.mergere.co > m/maven2/) > Downloading: > http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0. > 1B.jar > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org > /maven2) > Downloading: > http://repo.mergere.com/maven2//incubator-derby/derbynet/10.1.1.0/d > erbynet-10.1.1.0.jar > [WARNING] Unable to get resource from repository MavenIB > (http://repo.mergere.co > m/maven2/) > Downloading: > http://repo1.maven.org/maven2/incubator-derby/derbynet/10.1.1.0/der > bynet-10.1.1.0.jar > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org > /maven2) > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) javax.activation:activation:jar:1.0.2 > > Try downloading the file manually from: > http://java.sun.com/products/javabeans/glasgow/jaf.html > > Then, install it using the command: > mvn install:install-file -DgroupId=javax.activation > -DartifactId=activatio > n \ > -Dversion=1.0.2 -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) gov.nih.nci.caxchange:AuthenticationService:jar:0.0.1 > 2) javax.activation:activation:jar:1.0.2 > > 2) activecluster:activecluster:jar:1.1-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=activecluster > -DartifactId=activecluste > r \ > -Dversion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) gov.nih.nci.caxchange:AuthenticationService:jar:0.0.1 > 2) servicemix:servicemix-core:jar:2.0.2 > 3) activecluster:activecluster:jar:1.1-SNAPSHOT > > 3) jencks:jencks:jar:${pom.currentVersion} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=jencks -DartifactId=jencks \ > -Dversion=${pom.currentVersion} -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) gov.nih.nci.caxchange:AuthenticationService:jar:0.0.1 > 2) servicemix:servicemix-core:jar:2.0.2 > 3) jencks:jencks-all:jar:1.1.1 > 4) jencks:jencks:jar:${pom.currentVersion} > > 4) javax.resource:connector:jar:1.0 > > Try downloading the file manually from: > http://java.sun.com/j2ee/connector/download.html > > Then, install it using the command: > mvn install:install-file -DgroupId=javax.resource > -DartifactId=connector \ > > -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) gov.nih.nci.caxchange:AuthenticationService:jar:0.0.1 > 2) servicemix:servicemix-core:jar:2.0.2 > 3) org.springframework:spring:jar:1.2.5 > 4) org.springframework:spring-support:jar:1.2.5 > 5) javax.resource:connector:jar:1.0 > > 5) javax.mail:mail:jar:1.3.2 > > Try downloading the file manually from: > http://java.sun.com/products/javamail/downloads/index.html > > Then, install it using the command: > mvn install:install-file -DgroupId=javax.mail -DartifactId=mail \ > -Dversion=1.3.2 -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) gov.nih.nci.caxchange:AuthenticationService:jar:0.0.1 > 2) servicemix:servicemix-core:jar:2.0.2 > 3) org.springframework:spring:jar:1.2.5 > 4) org.springframework:spring-support:jar:1.2.5 > 5) javax.mail:mail:jar:1.3.2 > > 6) incubator-derby:derby:jar:10.1.1.0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=incubator-derby -DartifactId=derby \ > -Dversion=10.1.1.0 -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) gov.nih.nci.caxchange:AuthenticationService:jar:0.0.1 > 2) servicemix:servicemix-core:jar:2.0.2 > 3) activemq:activemq-ra:jar:3.2 > 4) incubator-derby:derby:jar:10.1.1.0 > > 7) servicemix:jaxp:jar:1.3 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=servicemix -DartifactId=jaxp \ > -Dversion=1.3 -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) gov.nih.nci.caxchange:AuthenticationService:jar:0.0.1 > 2) servicemix:servicemix-core:jar:2.0.2 > 3) servicemix:jaxp:jar:1.3 > > 8) javax.transaction:jta:jar:1.0.1B > > Try downloading the file manually from: > http://java.sun.com/products/jta > > Then, install it using the command: > mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta \ > -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) gov.nih.nci.caxchange:AuthenticationService:jar:0.0.1 > 2) javax.transaction:jta:jar:1.0.1B > > 9) incubator-derby:derbynet:jar:10.1.1.0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=incubator-derby > -DartifactId=derbynet \ > > -Dversion=10.1.1.0 -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) gov.nih.nci.caxchange:AuthenticationService:jar:0.0.1 > 2) servicemix:servicemix-core:jar:2.0.2 > 3) activemq:activemq:jar:3.2 > 4) incubator-derby:derbynet:jar:10.1.1.0 > > ---------- > 9 required artifacts are missing. > > for artifact: > gov.nih.nci.caxchange:AuthenticationService:jar:0.0.1 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > MavenIB (http://repo.mergere.com/maven2/) > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 16 seconds > [INFO] Finished at: Mon Aug 28 08:03:22 EDT 2006 > [INFO] Final Memory: 5M/10M > [INFO] > ------------------------------------------------------------------------ > > C:\eclipse\workspace\AuthenticationService> > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]