Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Getting the component dependencies into your local machine/company repository

Wiki MarkupIf you are going to be running any of the examples from the current examples or doing any development with a current SNAPSHOT/release then you may want to do a few things first. It will make makes sense to check out the 3.0 (SNAPSHOT if you want the newest) source code so that you can install the Smix component resources dependencies in your local repository. First go here and download the [ServiceMix 3.0|http://servicemix.org/site/download.html] sources. Next you will want to build the Servicemix app and it's included components. Go [here|http://servicemix.org/site/building.html] for instructions.

Wiki Markup
 Once you have built the 3.0 app and component modules will be installed locally. If you are readywant to install/deploy thethose modulesdependencies intoto youra local/company repository then keep reading. 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. This is good for when other people you are working with will need the Smix component dependencies.

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