SOLVED!
We changed our mirror settings based upon the advanced guide:
http://maven.apache.org/guides/mini/guide-mirror-settings.html
Our settings.xml now excludes our local repositories (local meaning in our
building, not on the local machine):
<mirror>
<id>thirdparty</id>
<mirrorOf>*,!internal,!ga,!snapshots</mirrorOf>
<name>ISL Third Party Proxy Repository</name>
<url>http://m2repo/archiva/repository/thirdparty</url>
</mirror>
Thanks for the suggestions, it lead us down the right path to find the solution.
________________________________________
From: Tim Andersen [[email protected]]
Sent: Monday, June 15, 2009 9:35 AM
To: Maven Users List
Subject: RE: maven 2.1.0 why it is looking at servicemix.org?
Wayne, thanks for the suggestions. I did not find anything in my ~/.m2 that
contained servicemix.org except for the problematic jars that contained
javascript/html instead of the pom.xml. I also ran a "mvn help:effective-pom"
and did not see servicemix.org.
When I changed <mirrorOf>central</mirrorOf> to <mirrorOf>external:*</mirrorOf>
in my settings.xml, I was able to download the jars that had been a problem. I
get the same results if I use <mirrorOf>*</mirrorOf>. (This seems to have
fixed my original problem.)
My new problem with the <mirrorOf>external:*</mirrorOf> is that I can no longer
access any of my local repositories except for thirdparty.
My guess is that one of my local repository names conflicts with another
repository. My local repository names are:
internal
thirdparty
ga
snapshots
I'm guessing that I had a problem with these jars because one of our local
repositories has a conflict with the repositoryId (which is why it was looking
for servicemix.org):
commons-pool-1.2
commons-pool-1.3
geronimo--jta_1.1_spec
howl-1.0.1-1
slf4j-api-1.4.3
xerces-2.0.2
Can anyone confirm my guess about conflicting repositoryId's?
________________________________________
From: Wayne Fay [[email protected]]
Sent: Friday, June 12, 2009 8:32 PM
To: Maven Users List
Subject: Re: maven 2.1.0 why it is looking at servicemix.org?
> Any ideas on how I can determine where the servicemix.org is coming from?
Grep your ~/.m2/ directory for servicemix.org and see if it might be
in a random artifact's pom that is being brought into your build as a
direct dependency or transitive.
Probably your settings.xml does not specify <mirrorOf>*</mirrorOf> but
only <mirrorOf>central. This means only central will be accessed via
your Archiva instance.
Wayne
This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom
they are addressed. If you have received this e-mail in error please notify the
originator of the message. This footer also
confirms that this e-mail message has been scanned for the presence of computer
viruses. Any views expressed in this message are
those of the individual sender, except where the sender specifies and with
authority, states them to be the views of Iowa Student
Loan.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]