adding note on using the localrepository profile
[taxeditor.git] / src / site / apt / getting-started.apt
index f615732f552e65ebce53590d27b9629d62af49f2..6edc5a1d858915b72c516f541d68b7c47355c439 100644 (file)
@@ -7,7 +7,7 @@
 
 Setting up a Taxonomic Editor development environment
 
-       This document describes all steps necessarry to create a development environment to develop the EDIT Taxonomic Editor. If you are looking for 
+       This document describes all steps necessary to create a development environment to develop the EDIT Taxonomic Editor. If you are looking for 
        instructions on how to install the EDIT Taxonomic Editor please consult the {{{./manual.html} manual}}.
        
        <Table of Contents>
@@ -70,6 +70,12 @@ $ cd taxeditor/eu.etaxonomy.taxeditor.cdmlib/
 $ mvn validate
 ---
 
+    The maven pom.xml provides a special profile which you may want to use if you are developing the cdmlib at the same time. This profile, named <<<local-repository>>>, causes maven to always use the local maven repository, so the latest changes to the cdmlib which have been installed locally by <<<mvn install>>>  will be used. In order to use this profile you would execute the validate gloal differently:
+
+ ---
+ $ mvn -P local-repository  -Dlocalrepo=/home/${youUserName}/.m2/repository validate
+ ---
+
        This will take some time, as maven will download the required dependencies.
        After maven has finished follow these steps:
        
@@ -122,7 +128,7 @@ $ mvn validate
 
 ** <eu.etaxonomy.taxeditor.test>
        
-       Automated GUI Tests for the Taxonomic Editor that can be run with {{{http://swtbot.com/}SWTBot}}.
+       Automated GUI Tests for the Taxonomic Editor that can be run with {{{http://eclipse.org/swtbot/}SWTBot}}.
 
 * Creating a launch configuration