I put this into my settings.xml:
<mirrors>
<mirror>
<id>external-redirect</id>
<name>Redirect of external refs to local</name>
<url>http://our.local.server.host/repository</url>
<mirrorOf>external:*</mirrorOf>
</mirror>
</mirrors>
Same errors occur in the log regardless of this change.
Tom
-----Original Message-----
From: Manfred Moser [mailto:[email protected]]
Sent: Friday, January 29, 2010 4:37 PM
To: Thomas Harris
Cc: [email protected]
Subject: Re: Errors after upgrade to 2.2.1
Thats fine too. Just try the mirror of external everything setting. I
would really recommend looking at nexus on that server though. The
repository is still just a filesystem but you have a lot of tooling
around it via the webapp and you just run jetty/nexus instead of
apache..
manfred
--
Manfred Moser
http://www.mosabuam.com
skype mosabua, twitter.com/mosabua
http://www.linkedin.com/in/manfredmoser
On Friday January 29 2010, Thomas Harris wrote:
> Manfred:
>
> What if we aren't running Nexus locally? I set up a VM on our
> network with Apache, and we're using that to host a repository
> folder and a place to deploy the "site". But, we haven't even
> begun to look into installing Nexus locally.
>
> Tom
>
> -----Original Message-----
> From: Manfred Moser [mailto:[email protected]]
> Sent: Friday, January 29, 2010 4:30 PM
> To: Thomas Harris
> Cc: [email protected]
> Subject: Re: Errors after upgrade to 2.2.1
>
> Try <mirrorOf>external:*</mirrorOf>
> with a local nexus instance to speed things up and then something
> like
>
> <mirrors>
> <mirror>
> <id>central</id>
> <name>Localhost Nexus</name>
>
> <url>http://localhost:9081/nexus/content/groups/all</url>
> <mirrorOf>external:*</mirrorOf>
> </mirror>
> </mirrors>
>
> > Muser, Manfred:
> >
> > I'm getting these same errors, but many many more of them. I did
> > not have any reference to this oddball repository anywhere in my
> > projects' pom.xml files, yet it seems Maven wants desperately to
> > pull these jars from the ancient and deleted Maven 1 repository.
> >
> > I added this to my settings.xml, to no avail:
> >
> > <mirrors>
> > <mirror>
> > <id>java.net2</id>
> > <name>Mirror of
> > https://maven-repository.dev.java.net/nonav/repository/</name>
> > <url>http://download.java.net/maven/2/</url>
> > <mirrorOf>java.net</mirrorOf>
> > </mirror>
> > </mirrors>
> >
> > Were you able to resolve this issue, Muser? How? Manfred, any
> > ideas? Even though the build EVENTUALLY succeeds, these bogus
> > lookups make our build like 20 times slower.
> >
> > Tom Harris
> > Axispoint, Inc.
> >
> > Maven log output in question:
> >
> > [ERROR] Unable to determine if resource
> > aopalliance:aopalliance:jar:1.0:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > apache-log4j:log4j:jar:1.2.14:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource asm:asm:jar:3.1:compile exists
> > in https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource cglib:cglib:jar:2.2:compile
> > exists in https://maven-repository.dev.java.net/nonav/repository
> > [ERROR] Unable to determine if resource
> > cglib:cglib-nodep:jar:2.1_3:test exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource active project artifact: artifact
> > = active project artifact:
> > artifact = active project artifact:
> > artifact = active project artifact:
> > artifact = active project artifact:
> > artifact =
> > com.abc.xyz.etp:proj-commons:jar:1.0.6-SNAPSHOT:compile;
> > project: MavenProject:
> > com.abc.xyz.etp:proj-commons:1.0.6-SNAPSHOT @
> > C:\eclipse-workspaces\project-workspace\proj-pm-parent\modules\pr
> >o j-commons\pom.xml; project: MavenProject:
> > com.abc.xyz.etp:proj-commons:1.0.6-SNAPSHOT @
> >
> > C:\eclipse-workspaces\project-workspace\proj-pm-parent\modules\pr
> >o j-commons\pom.xml; project: MavenProject:
> > com.abc.xyz.etp:proj-commons:1.0.6-SNAPSHOT @
> >
> > C:\eclipse-workspaces\project-workspace\proj-pm-parent\modules\pr
> >o j-commons\pom.xml; project: MavenProject:
> > com.abc.xyz.etp:proj-commons:1.0.6-SNAPSHOT @
> >
> > C:\eclipse-workspaces\project-workspace\proj-pm-parent\modules\pr
> >o j-commons\pom.xml; project: MavenProject:
> > com.abc.xyz.etp:proj-commons:1.0.6-SNAPSHOT @
> >
> > C:\eclipse-workspaces\project-workspace\proj-pm-parent\modules\pr
> >o j-commons\pom.xml exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > com.abc.xyz.etp:proj-edoms-lib:jar:1.0.1:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource active project artifact:
> > artifact = active project artifact:
> > artifact = active project artifact:
> > artifact = active project artifact:
> > artifact = active project artifact:
> > artifact =
> > com.abc.xyz.etp:proj-pm-if:jar:1.0.6-SNAPSHOT:compile; project:
> > MavenProject: com.abc.xyz.etp:proj-pm-if:1.0.6-SNAPSHOT @
> >
> > C:\eclipse-workspaces\project-workspace\proj-pm-parent\modules\pr
> >o j-pm-if\pom.xml; project: MavenProject:
> > com.abc.xyz.etp:proj-pm-if:1.0.6-SNAPSHOT @
> >
> > C:\eclipse-workspaces\project-workspace\proj-pm-parent\modules\pr
> >o j-pm-if\pom.xml; project: MavenProject:
> > com.abc.xyz.etp:proj-pm-if:1.0.6-SNAPSHOT @
> >
> > C:\eclipse-workspaces\project-workspace\proj-pm-parent\modules\pr
> >o j-pm-if\pom.xml; project: MavenProject:
> > com.abc.xyz.etp:proj-pm-if:1.0.6-SNAPSHOT @
> >
> > C:\eclipse-workspaces\project-workspace\proj-pm-parent\modules\pr
> >o j-pm-if\pom.xml; project: MavenProject:
> > com.abc.xyz.etp:proj-pm-if:1.0.6-SNAPSHOT @
> >
> > C:\eclipse-workspaces\project-workspace\proj-pm-parent\modules\pr
> >o j-pm-if\pom.xml exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > com.servlets:cos:jar:05Nov2002:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > com.sun.xml.bind:jaxb-impl:jar:2.1.10:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > com.sun.xml.fastinfoset:FastInfoset:jar:1.2.7:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > com.sun.xml.stream:sjsxp:jar:1.0.1:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > com.thoughtworks.xstream:xstream:jar:1.3.1:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > commons-codec:commons-codec:jar:1.2:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > commons-collections:commons-collections:jar:3.1:compile exists
> > in https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > commons-httpclient:commons-httpclient:jar:3.1:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > commons-lang:commons-lang:jar:2.4:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > commons-logging:commons-logging:jar:1.0.4:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource ehcache:ehcache:jar:1.1:compile
> > exists in https://maven-repository.dev.java.net/nonav/repository
> > [ERROR] Unable to determine if resource
> > javassist:javassist:jar:3.6.0.GA:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > javax.activation:activation:jar:1.1:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > javax.annotation:jsr250-api:jar:1.0:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > javax.mail:mail:jar:1.3.2:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > javax.resource:connector:jar:1.0:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > javax.servlet:jstl:jar:1.0:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > javax.transaction:jta:jar:1.0.1B:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > javax.xml.bind:jaxb-api:jar:2.1:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > javax.xml.stream:stax-api:jar:1.0-2:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > jboss.jbossws:jboss-jaxrpc:jar:1.0.4.GA:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource junit:junit:jar:3.8.1:test
> > exists in https://maven-repository.dev.java.net/nonav/repository
> > [ERROR] Unable to determine if resource
> > org.apache.openejb:javaee-api:jar:5.0-1:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.codehaus.jettison:jettison:jar:1.1:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.directwebremoting:dwr:jar:2.0.5:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.easymock:easymock:jar:2.4:test exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.easymock:easymockclassextension:jar:2.4:test exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.jboss:jboss-common-core:jar:2.2.8.GA:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.jboss.ejb3:jboss-ejb3-ext-api:jar:1.0.0:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.jboss.javaee:jboss-ejb-api:jar:3.0.0.CR1:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.jboss.javaee:jboss-transaction-api:jar:1.0.1.CR1:provided
> > exists in https://maven-repository.dev.java.net/nonav/repository
> > [ERROR] Unable to determine if resource
> > org.jboss.logging:jboss-logging-spi:jar:2.0.5.GA:provided exists
> > in https://maven-repository.dev.java.net/nonav/repository
> > [ERROR] Unable to determine if resource
> > org.jboss.metadata:jboss-metadata:jar:1.0.0.CR16:provided exists
> > in https://maven-repository.dev.java.net/nonav/repository
> > [ERROR] Unable to determine if resource
> > org.jboss.resteasy:jaxrs-api:jar:1.1.GA:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.jboss.resteasy:resteasy-jaxb-provider:jar:1.1.GA:provided
> > exists in https://maven-repository.dev.java.net/nonav/repository
> > [ERROR] Unable to determine if resource
> > org.jboss.resteasy:resteasy-jaxrs:jar:1.1.GA:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.scannotation:scannotation:jar:1.0.2:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.slf4j:jcl-over-slf4j:jar:1.5.8:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.slf4j:slf4j-api:jar:1.5.8:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.slf4j:slf4j-simple:jar:1.5.8:provided exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.springframework:spring:jar:1.2.5:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.springframework:spring-aop:jar:1.2.5:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.springframework:spring-beans:jar:1.2.5:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.springframework:spring-context:jar:1.2.5:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.springframework:spring-core:jar:1.2.5:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.springframework:spring-dao:jar:1.2.5:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.springframework:spring-hibernate:jar:1.2.5:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.springframework:spring-jdbc:jar:1.2.5:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.springframework:spring-orm:jar:1.2.5:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.springframework:spring-remoting:jar:1.2.5:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.springframework:spring-support:jar:1.2.5:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.springframework:spring-web:jar:1.2.5:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > org.springframework:spring-webmvc:jar:1.2.5:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource oro:oro:jar:2.0.8:compile exists
> > in https://maven-repository.dev.java.net/nonav/repository
> > [ERROR] Unable to determine if resource
> > quartz:quartz:jar:1.5.0-RC1:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > taglibs:standard:jar:1.0.6:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository [ERROR]
> > Unable to determine if resource
> > xpp3:xpp3_min:jar:1.1.4c:compile exists in
> > https://maven-repository.dev.java.net/nonav/repository
>