We use Jenkins, Maven and Nexus to generate our builds.
When the build start the Unit tests we use maven-surefire-plugin and
org.twdata.maven maven-itblast-plugin.

As you can see in the attachment pom.xml the maven-itblast-plugin has to run
on a container tomcat5x.
The second one will run on a jetty6x container. But the problem is related
to the *container tomcat5x*.

As part of the maven-itblast-plugin (I assume) maven is trying to download:
Embedded error: Failed to download
[https://m2proxy.atlassian.com/repository/public/org/apache/tomcat/apache-tomcat/5.5.25/apache-tomcat-5.5.25.zip]
 

See attached console_ouput_error.txt for the complete stack trace.

However when I use nexus using the web I can search for apache-tomcat, and I
can find the 5.5.25 in the atlassian-public repository. See the attached
settings.xml. This is located in my maven 2.2.1 conf file.

So this apache-tomcat 5.5.25 can be found within Nexus using the web,
however during the build process Maven is not using nexus at all for this
one. How is this possible. Because in the settings.xml it says:
<mirrorOf>*</mirrorOf>.
In other words, every lookup for a dependency/artifact should be routed
through Nexus.
But still I can't get this one working as well. Everything is restared etc.
Also the proxy settings are correctly with Nexus itself.

For more info see the attached files.

Hopefully somebody knows what I do wrong here?

console_ouput_error.txt
<http://jenkins.361315.n4.nabble.com/file/n4662970/console_ouput_error.txt>  
pom.xml <http://jenkins.361315.n4.nabble.com/file/n4662970/pom.xml>  
settings.xml
<http://jenkins.361315.n4.nabble.com/file/n4662970/settings.xml>  




--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Maven-does-not-read-nexus-settings-from-settings-xml-java-net-UnknownHostException-m2proxy-atlassian-tp4662970.html
Sent from the Jenkins issues mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to