You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Getting the component dependencies into your local machine/company repository

If you are going to be running any of the examples from the current 3.0 M2 release then you will need to do a few things first. It will make sense to check out the 3.0 M2 source code release so that you can install the component resources in your local repository. First go here and download the ServiceMix 3.0-M2 Release sources. Next you will want to build the Servicemix app and it's included components. Go here for instructions. Once you have built the 3.0 M2 release you are ready to install/deploy the modules into your local/company repository. I can only give information on doing this for Maven 2. First go into the top level project pom.xml with you fav editor. This will be in the

Unknown macro: {Smix_source_folder}

/src folder. You are going to first edit out the references to Maven 1. Search for 'm1'. There was a property and a plug in section I deleted (maybe some other sections also). Once these are out you might need to edit the 'distributionManagement' section. Do this if you would like to get the M2 release dependencies into your company repository. If you only want to 'install' the dependencies in you local repository then don't.

You should now be able to do either 'mvn install -Dmaven.test.skip=true' or 'mvn deploy -Dmaven.test.skip=true' to get those dependencies up and out there.

 This will make build the wsdl-first application work!

  • No labels