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

Compare with Current View Page History

« Previous Version 7 Next »

Getting the component dependencies into your local machine/company repository

If you are going to be running any of the examples or doing any development with a current SNAPSHOT/release then you may want to do a few things first. It makes sense to check out the 3.0 (SNAPSHOT if you want the newest) source code so that you can install the Smix component dependencies 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, following the instructions linked aboe, the Smix component modules will be installed locally. If you want to deploy those dependencies to a 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). Next edit the 'distributionManagement' section. Put the relevent information for you company repository here.

You should now be able to 'mvn deploy -Dmaven.test.skip=true' and the dependencies will upload to the remote repository you defined. This is good for when other people you are working with will need the Smix component dependencies.

  • No labels