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

Compare with Current View Page History

« Previous Version 5 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 SNAPSHOT/release then you may want to do a few things first. It will make sense to check out the 3.0 (SNAPSHOT if you want the newest) source code so that you can install the component resources in your local repository. First go here and download the ServiceMix 3.0 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 app and component modules you are ready to install/deploy the modules into your local/company repository. I can only give information on doing this for Maven 2 as I did not try this for Maven 1. First go into the top level project pom.xml with you favorite editor. This will be in the [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 component 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.

 Now all the Servicemix components are available for the given release you checked out.

  • No labels