Hi Tom,

This spring source repository (aka Zodiac) is just for zodiac.

For other Spring bundles, it uses Spring EBR:

http://repository.springsource.com/maven/bundles/external

Regards
JB

On 03/09/2016 04:37 PM, [email protected] wrote:
Hello,

I am building Servicemix behind a corporate firewall and for the most part I
am able to retrieve all the artifacts I need.  The build is failing in
Assembly when trying to pull from springsource.

This is the general maven build error:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single (unix-bin) on
project apache-servicemix: Failed to create assembly: Unable to resolve
dependencies for assembly 'apache-servicemix': Failed to resolve
dependencies for assembly: Unable to get dependency information for
org.apache.servicemix:org.apache.servicemix.branding:jar:6.1.0: Failed to
process POM for
org.apache.servicemix:org.apache.servicemix.branding:jar:6.1.0:
Non-resolvable import POM: Could not transfer artifact
org.optaplanner:optaplanner-bom:pom:6.2.0.Final from/to
com.springsource.repository.bundles.release
(http://repository.springsource.com/maven/bundles/release): Connection
refused: connect
[ERROR] org.apache.servicemix:org.apache.servicemix.branding:jar:6.1.0
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] central (http://server:8090/artifactory/repo, releases=true,
snapshots=false),
[ERROR] com.springsource.repository.bundles.release
(http://repository.springsource.com/maven/bundles/release, releases=true,
snapshots=false)

There is a reference to the spring source bundle repo in the assembly pom:
     <repositories>

         <repository>
             <id>com.springsource.repository.bundles.release</id>
             <name>SpringSource Enterprise Bundle Repository - SpringSource
Bundle Releases</name>

<url>http://repository.springsource.com/maven/bundles/release</url>
             <releases>
                 <enabled>true</enabled>
             </releases>
             <snapshots>
                 <enabled>false</enabled>
             </snapshots>
         </repository>
     </repositories>


I think I am missing something in my settings.xml.  The Artifactory
generated settings are pretty standard.  Maybe I need to add a mirror?


Thanks for all the help!

-Tom




--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Maven-Settings-for-building-beind-a-corporate-firewall-tp5723523.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to