updated maven site to reflect change in dependeny management
authorn.hoffmann <n.hoffmann@localhost>
Thu, 1 Sep 2011 10:44:17 +0000 (10:44 +0000)
committern.hoffmann <n.hoffmann@localhost>
Thu, 1 Sep 2011 10:44:17 +0000 (10:44 +0000)
pom.xml
src/site/apt/getting-started.apt

diff --git a/pom.xml b/pom.xml
index c65a5bd..2268b7f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>wagon-maven-plugin</artifactId>
-                           <!--
+                               <!--
                                Problems with the wagon-maven-plugin have been encounterd on Windows,
                                        it should work properly on linux though.
                                 -->
                        </plugins>
                </pluginManagement>
                <extensions>
-               <extension>
-               <groupId>org.apache.maven.wagon</groupId>
-               <artifactId>wagon-scm</artifactId>
-               <version>1.0-alpha-5</version>
-               </extension>
-               <extension>
-               <groupId>org.apache.maven.wagon</groupId>
-               <artifactId>wagon-ssh</artifactId>
-               <version>1.0-beta-7</version>
-               </extension>
-               <extension>
-               <groupId>org.apache.maven.scm</groupId>
-               <artifactId>maven-scm-manager-plexus</artifactId>
-               <version>1.0</version>
-               </extension>
-               <extension>
-               <groupId>org.apache.maven.scm</groupId>
-               <artifactId>maven-scm-provider-svnexe</artifactId>
-               <version>1.0</version>
-               </extension>
-               <!-- WebDAV plugin to upload snapshots -->
-               <extension>
-               <groupId>org.apache.maven.wagon</groupId>
-               <artifactId>wagon-webdav</artifactId>
-               <version>1.0-beta-2</version>
-               </extension>
+                       <extension>
+                               <groupId>org.apache.maven.wagon</groupId>
+                               <artifactId>wagon-scm</artifactId>
+                               <version>1.0-alpha-5</version>
+                       </extension>
+                       <extension>
+                               <groupId>org.apache.maven.wagon</groupId>
+                               <artifactId>wagon-ssh</artifactId>
+                               <version>1.0-beta-7</version>
+                       </extension>
+                       <extension>
+                               <groupId>org.apache.maven.scm</groupId>
+                               <artifactId>maven-scm-manager-plexus</artifactId>
+                               <version>1.0</version>
+                       </extension>
+                       <extension>
+                               <groupId>org.apache.maven.scm</groupId>
+                               <artifactId>maven-scm-provider-svnexe</artifactId>
+                               <version>1.0</version>
+                       </extension>
+                       <!-- WebDAV plugin to upload snapshots -->
+                       <extension>
+                               <groupId>org.apache.maven.wagon</groupId>
+                               <artifactId>wagon-webdav</artifactId>
+                               <version>1.0-beta-2</version>
+                       </extension>
                </extensions>
        </build>
        <reporting>
index 17ecd1a..6bd8b2f 100644 (file)
@@ -31,26 +31,40 @@ $ svn co http://dev.e-taxonomy.eu/svn/trunk/taxeditor
 
 * Setting up eclipse
 
-       The Taxonomic Editor uses maven for convenient configuration and automation of common tasks, such as setting up eclipse. 
-       
----
-$ cd taxeditor/
-$ mvn eclipse:eclipse
----
-       
-       This will take some time, as maven will download the required dependencies and configure the projects. After maven has finished follow these steps:
-       
        * Start up eclipse (make sure you have the required version installed) and open a workspace. 
        
        * Open up the Import Wizard via <File -\> Import...> from the menu
        
        * Choose <General -\> Existing projects into Workspace > and click next.
        
-       * Check <Select Root Directory> and browse to the <<<taxeditor/>>> directory. After confirming the directory selection dialog, the <Projects> list should contain a number of projects.
+       * Check <Select Root Directory> and browse to the <<<taxeditor/>>> directory. After confirming the directory selection dialog, the <Projects> list should contain a number of projects all starting with 
+       <<<eu.etaxonomy.taxditor>>> which should be checked for import.
+       
+       * Click <Select All> to finish the wizard and import the projects into your workspace.
+       
+       You should now be able to see the taaxeditor projects in your workspace.
+       
+* Dependencies
+       
+       The Taxonomic Editor uses <maven 3> for convenient configuration and automation of common tasks, 
+       such as resolving dependencies and automating builds.
+       
+       The <<<trunk>>> branch of the Taxonomic Editor is programmed against the latest
+       SNAPSHOT version of the cdmlibrary. Because that dependency will change quickly, we
+       do not imclude it with the other dependencies but rather install it with maven.
+
+       In order to do that you have to run <<<mvn validate>>> in your <<<taxeditor/>>> directory.
+
+---
+$ cd taxeditor/
+$ mvn validate
+---
+
+       This will take some time, as maven will download the required dependencies.
+       After maven has finished follow these steps:
        
-       * Click <Select All> and finish the wizard.
        
-       The package exporer should show a bunch of projects. To get rid of the errors, you have to update the classpaths of all plugin projects. To do this right-click any of the <taxeditor-*> projects and choose <PDE Tools -\> Update Classpath...>. Click <Select All> in the dialog and confirm. After a rebuild of your entire workspace all errors should be gone and you are ready to go.
+       To get rid of the errors, you have to update the classpaths of all plugin projects. To do this right-click any of the <taxeditor-*> projects and choose <PDE Tools -\> Update Classpath...>. Click <Select All> in the dialog and confirm. After a rebuild of your entire workspace all errors should be gone and you are ready to go.
        
 * Bundle overview
 
@@ -90,9 +104,9 @@ $ mvn eclipse:eclipse
 
        A feature containing all dependencies for the eclipse platform.
 
-** <eu.etaxonomy.taxeditor.product>
+** <eu.etaxonomy.taxeditor>
 
-       A feature configuring the standalone application and bundling all plugins and dependencies.
+       The product configuration for the standalone application.
 
 ** <eu.etaxonomy.taxeditor.test>
        
@@ -102,7 +116,7 @@ $ mvn eclipse:eclipse
 
        To start the Taxonomic Editor from your newly created development environment you need to create a launch configuration.
        
-       * Expand <taxeditor-feature-product> and open <<<taxeditor.product>>>
+       * Expand <eu.etaxonomy.taxeditor> and open <<<eu.etaxonomy.taxeditor.product>>>
        
        * In the <Testing> section (down left) click on <Launch an Eclipse application in Debug mode>