THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Wiki Markup |
---|
Once you have built the 3.0 app, following the instructions linked aboeabove, 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', or in another case I searched for 'maven-one'. There was a property and a plug in section I deleted (maybe some other sections also). I think the plug in is the important one to delte/coment out. Next edit the 'distributionManagement' section. Put the relevent information for you company repository here. If you are working with a SNAPSHOT release then you will need to put your snapshot repository information in here. |
You should now be able to 'mvn deploy -Dmaven.test.skip=true deploy' 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. I think there are other benefits too, such as faster fetching since the dependencies are more local (physically).