composition of condensed distribution fully implemented - #3907
[cdmlib.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 3ece96caa19d02fa5587f8562e38bc69766cb0c9..7218bebda433684bbd13b5739ae6cced631e8de4 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?> 
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>eu.etaxonomy</groupId>
-    <artifactId>cdmlib-parent</artifactId>
-       <version>3.3.1-SNAPSHOT</version>
-    <name>CDM Library</name>
-    <description>The Java implementation of the Common Data Model (CDM), the data model for EDIT's internet platform for cybertaxonomy.</description>
-    <url>http://cybertaxonomy.eu/cdmlib/</url>
-    <inceptionYear>2007</inceptionYear>
-    <packaging>pom</packaging>
-    <modules>
-        <module>cdmlib-commons</module>
-        <module>cdmlib-model</module>
-        <module>cdmlib-persistence</module>
-        <module>cdmlib-services</module>
-        <module>cdmlib-ext</module>
-        <module>cdmlib-io</module>
-        <module>cdmlib-remote</module>
-        <module>cdmlib-print</module>
-        <module>cdmlib-remote-webapp</module>
-    </modules>
-    <properties>
-       <vaadin.version>7.0.7</vaadin.version>
-       <!-- <vaadin.version>7.1.3</vaadin.version> -->
-       <java.codelevel>1.6</java.codelevel>
-        <spring.version>3.2.2.RELEASE</spring.version>
-        <spring-security.version>3.1.3.RELEASE</spring-security.version>
-           <hibernate.version>4.1.10.Final</hibernate.version>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <unitils.version>3.3</unitils.version>
-        <lucene.version>3.6.2</lucene.version>
-        <hsqldb.version>1.8.0.10</hsqldb.version><!-- 1.8.0.10, 1.9.0-rc6 (manualy build only for debugging) -->
-               <httpcomponents.version>4.2.3</httpcomponents.version>
-               <doxia.version>1.3</doxia.version>
-    </properties>
-    <scm>
-        <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/</connection>
-        <developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/</developerConnection>
-        <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib</url>
-    </scm>
-    <mailingLists>
-        <mailingList>
-            <name>dev-edit</name>
-            <subscribe>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>eu.etaxonomy</groupId>
+  <artifactId>cdmlib-parent</artifactId>
+  <version>3.6.3-SNAPSHOT</version>
+  <name>CDM Library</name>
+  <description>The Java implementation of the Common Data Model (CDM), the data model for EDIT's internet platform for cybertaxonomy.</description>
+  <url>http://cybertaxonomy.eu/cdmlib/</url>
+  <inceptionYear>2007</inceptionYear>
+  <packaging>pom</packaging>
+  <modules>
+    <module>cdmlib-commons</module>
+    <module>cdmlib-model</module>
+    <module>cdmlib-persistence</module>
+    <module>cdmlib-services</module>
+    <module>cdmlib-ext</module>
+    <module>cdmlib-io</module>
+    <module>cdmlib-remote</module>
+    <module>cdmlib-print</module>
+    <module>cdmlib-remote-webapp</module>
+  </modules>
+  <properties>    
+    <java.codelevel>1.6</java.codelevel>
+    <spring.version>3.2.2.RELEASE</spring.version>
+    <spring-security.version>3.1.3.RELEASE</spring-security.version>
+    <hibernate.version>4.1.10.Final</hibernate.version>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <unitils.version>3.4.2</unitils.version>
+    <lucene.version>3.6.2</lucene.version>
+    <hsqldb.version>1.8.0.10</hsqldb.version><!-- 1.8.0.10, 1.9.0-rc6 (manualy 
+      build only for debugging) -->
+    <httpcomponents.version>4.2.3</httpcomponents.version>
+    <doxia.version>1.3</doxia.version>
+    <poi.version>3.10-FINAL</poi.version>
+    <jackson.version>2.2.3</jackson.version>
+  </properties>
+  
+  <scm>
+    <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/</connection>
+    <developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/</developerConnection>
+    <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib</url>
+  </scm>
+  
+  <prerequisites>
+    <maven>3.0.5</maven>
+  </prerequisites>
+  
+  <mailingLists>
+    <mailingList>
+      <name>dev-edit</name>
+      <subscribe>
                 https://listes.mnhn.fr/wwsympa.fcgi/suboptions/dev-edit
             </subscribe>
-            <unsubscribe>
+      <unsubscribe>
                 https://listes.mnhn.fr/wwsympa.fcgi/signoff/dev-edit
             </unsubscribe>
-            <post>dev-edit@mnhn.fr</post>
-            <archive>https://listes.mnhn.fr/wwsympa.fcgi/arc/dev-edit</archive>
-        </mailingList>
-        <mailingList>
-            <name>cdm-edit</name>
-            <post>cdm-edit@mnhn.fr</post>
-            <subscribe>
+      <post>dev-edit@mnhn.fr</post>
+      <archive>https://listes.mnhn.fr/wwsympa.fcgi/arc/dev-edit</archive>
+    </mailingList>
+    <mailingList>
+      <name>cdm-edit</name>
+      <post>cdm-edit@mnhn.fr</post>
+      <subscribe>
                 https://listes.mnhn.fr/wwsympa.fcgi/suboptions/cdm-edit
             </subscribe>
-            <unsubscribe>
+      <unsubscribe>
                 https://listes.mnhn.fr/wwsympa.fcgi/signoff/cdm-edit
             </unsubscribe>
-            <archive>https://listes.mnhn.fr/wwsympa.fcgi/arc/cdm-edit</archive>
-        </mailingList>
-    </mailingLists>
-    <licenses>
-        <license>
-            <name>Mozilla Public License Version 1.1</name>
-            <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
-            <distribution>repo</distribution>
-        </license>
-    </licenses>
-    <organization>
-        <name>EDIT</name>
-        <url>http://www.e-taxonomy.eu/</url>
-    </organization>
-    <developers>
-        <developer>
-            <!-- your SVN account id please! -->
-            <id>ben.clark</id>
-            <name>
+      <archive>https://listes.mnhn.fr/wwsympa.fcgi/arc/cdm-edit</archive>
+    </mailingList>
+  </mailingLists>
+  <licenses>
+    <license>
+      <name>Mozilla Public License Version 1.1</name>
+      <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <organization>
+    <name>EDIT</name>
+    <url>http://www.e-taxonomy.eu/</url>
+  </organization>
+  <developers>
+    <developer>
+      <!-- your SVN account id please! -->
+      <id>ben.clark</id>
+      <name>
                 Ben Clark
             </name>
-            <email>b.clark [at] kew.org</email>
-            <organization>
+      <email>b.clark [at] kew.org</email>
+      <organization>
                 Royal Botanic Gardens, Kew
             </organization>
-            <organizationUrl>http://www.kew.org/computing/</organizationUrl>
-            <timezone>0</timezone>
-            <roles>
-                <role>Architect</role>
-                <role>Java Developer</role>
-            </roles>
-            <url />
-        </developer>
-        <developer>
-            <!-- your SVN account id please! -->
-            <id>a.kohlbecker</id>
-            <name>
+      <organizationUrl>http://www.kew.org/computing/</organizationUrl>
+      <timezone>0</timezone>
+      <roles>
+        <role>Architect</role>
+        <role>Java Developer</role>
+      </roles>
+      <url />
+    </developer>
+    <developer>
+      <!-- your SVN account id please! -->
+      <id>a.kohlbecker</id>
+      <name>
                 Andreas Kohlbecker
             </name>
-            <email>a.kohlbecker [at] bgbm.org</email>
-            <organization>
+      <email>a.kohlbecker [at] bgbm.org</email>
+      <organization>
                 Botanical Garden Botanical Museum Berlin
             </organization>
-            <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
-            <timezone>+1</timezone>
-            <roles>
-                <role>Java Developer</role>
-            </roles>
-            <url />
-        </developer>
-        <developer>
-            <!-- your SVN account id please! -->
-            <id>k.luther</id>
-            <name>
+      <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
+      <timezone>+1</timezone>
+      <roles>
+        <role>Architect</role>
+        <role>Java Developer</role>
+        <role>Release Manager</role>
+      </roles>
+      <url />
+    </developer>
+    <developer>
+      <!-- your SVN account id please! -->
+      <id>c.mathew</id>
+      <name>
+                Cherian Mathew 
+            </name>
+      <email>c.mathew [at] bgbm.org</email>
+      <organization>
+                Botanical Garden Botanical Museum Berlin
+            </organization>
+      <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
+      <timezone>+1</timezone>
+      <roles>
+        <role>Java Developer</role>
+      </roles>
+      <url />
+    </developer>
+    <developer>
+      <!-- your SVN account id please! -->
+      <id>k.luther</id>
+      <name>
                 Katja Luther
             </name>
-            <email>k.luther [at] bgbm.org</email>
-            <organization>
+      <email>k.luther [at] bgbm.org</email>
+      <organization>
                 Botanical Garden Botanical Museum Berlin
             </organization>
-            <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
-            <timezone>+1</timezone>
-            <roles>
-                <role>Java Developer</role>
-            </roles>
-            <url />
-        </developer>
-        <developer>
-            <!-- your SVN account id please! -->
-            <id>a.mueller</id>
-            <name>
+      <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
+      <timezone>+1</timezone>
+      <roles>
+        <role>Java Developer</role>
+      </roles>
+      <url />
+    </developer>
+    <developer>
+      <!-- your SVN account id please! -->
+      <id>a.mueller</id>
+      <name>
                 Andreas Müller
             </name>
-            <email>a.mueller [at] bgbm.org</email>
-            <organization>
+      <email>a.mueller [at] bgbm.org</email>
+      <organization>
                 Botanical Garden Botanical Museum Berlin
             </organization>
-            <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
-            <timezone>+1</timezone>
-            <roles>
-                <role>Architect</role>
-                <role>Java Developer</role>
-                <role>Release Manager</role>
-            </roles>
-            <url />
-        </developer>
-    </developers>
-    <!--contributors>
-        <contributor>
-            <name>Test-Contributor</name>
-        </contributor>
-    </contributors-->
-    <issueManagement>
-        <system>Trac</system>
-        <url>http://dev.e-taxonomy.eu/trac/</url>
-    </issueManagement>
-    <ciManagement>
-        <system>Jenkins</system>
-        <url>http://int.e-taxonomy.eu/jenkins</url>
-    </ciManagement>
-    <!-- **** REPOSITORIES **** -->
-    <profiles>
-        <profile>
-          <id>local-repository</id>
-          <activation>
-            <property>
-              <name>localrepo</name>
-            </property>
-          </activation>
-          <repositories>
-            <repository>
-              <id>EditLocalRepository</id>
-              <url>file://${localrepo}/eu/etaxonomy/</url>
-              <releases>
-                <enabled>false</enabled>
-                <updatePolicy>always</updatePolicy>
-              </releases>
-              <snapshots>
-                <enabled>true</enabled>
-                <updatePolicy>always</updatePolicy>
-              </snapshots>
-            </repository>
-          </repositories>
-        </profile>
-      </profiles>
-    <repositories>
-        <!-- sun repository -->
-        <repository>
-            <id>java.net</id>
-            <url>http://download.java.net/maven/1/</url>
-        </repository>
-        <!-- the cdm internal repository -->
-        <repository>
-            <id>EditRepository</id>
-            <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
-        </repository>
-        <!-- apache incubating repository -->
-        <repository>
-            <id>ApacheIncubating</id>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </repository>
-        <!-- Neccessary for hibernate-envers -->
-        <repository>
-            <releases>
-                <enabled>true</enabled>
-                <updatePolicy>always</updatePolicy>
-                <checksumPolicy>warn</checksumPolicy>
-            </releases>
-            <snapshots>
-                <enabled>false</enabled>
-                <updatePolicy>never</updatePolicy>
-                <checksumPolicy>fail</checksumPolicy>
-            </snapshots>
-            <id>jboss-repository</id>
-            <name>JBoss Repository</name>
-            <url>http://repository.jboss.com</url>
-        </repository>
-        <!-- codehaus mule repository needed for yourkit  -->
-        <repository>
-            <id>CodehausMuleRepository</id>
-            <url>http://dist.codehaus.org/mule/dependencies/maven2/</url>
-        </repository>
-        <!-- current spring source repositories -->
-        <repository>
-            <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones</id>
-            <url>http://repository.springsource.com/maven/bundles/milestone</url>
-        </repository>
+      <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
+      <timezone>+1</timezone>
+      <roles>
+        <role>Architect</role>
+        <role>Java Developer</role>
+        <role>Release Manager</role>
+      </roles>
+      <url />
+    </developer>
+  </developers>
+  <!--contributors> <contributor> <name>Test-Contributor</name> </contributor> 
+    </contributors -->
+  <issueManagement>
+    <system>Trac</system>
+    <url>http://dev.e-taxonomy.eu/trac/</url>
+  </issueManagement>
+  <ciManagement>
+    <system>Jenkins</system>
+    <url>http://int.e-taxonomy.eu/jenkins</url>
+  </ciManagement>
+  <!-- **** REPOSITORIES **** -->
+  <profiles>
+    <profile>
+      <id>local-repository</id>
+      <activation>
+        <property>
+          <name>localrepo</name>
+        </property>
+      </activation>
+      <repositories>
         <repository>
-            <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</id>
-            <url>http://repository.springsource.com/maven/bundles/release</url>
+          <id>EditLocalRepository</id>
+          <url>file://${localrepo}/eu/etaxonomy/</url>
+          <releases>
+            <enabled>false</enabled>
+            <updatePolicy>always</updatePolicy>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+            <updatePolicy>always</updatePolicy>
+          </snapshots>
         </repository>
-        <repository>
-            <id>SpringSource Enterprise Bundle Repository - External Bundle Releases</id>
-            <url>http://repository.springsource.com/maven/bundles/external</url>
-        </repository>
-           <!-- for ikey-plus -->
-               <repository>
-               <id>itextpdf.com</id>
-            <name>Maven Repository for iText</name>
-            <url>http://maven.itextpdf.com/</url>
-        </repository>
-       <!-- Vaadin -->
-       <repository>
-         <id>vaadin-addons</id>
-         <url>http://maven.vaadin.com/vaadin-addons</url>
-       </repository>
-    </repositories>
-    <!-- **** PLUGINS **** -->
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <version>2.3.2</version>
-                <configuration>
-                    <source>${java.codelevel}</source>
-                    <target>${java.codelevel}</target>
-                    <encoding>UTF-8</encoding>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <version>2.12</version>
-                <configuration>
-                    <argLine>-Xmx512M -XX:MaxPermSize=128M</argLine>
-                    <runOrder>alphabetical</runOrder>
-                                       <includes>
-                        <include>**/*Test.java</include>
-                    </includes>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>buildnumber-maven-plugin</artifactId>
-                <version>1.0-beta-3</version>
-                <executions>
-                    <execution>
-                        <!--<phase>deploy</phase>-->
-                        <goals>
-                            <goal>create</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <doCheck>false</doCheck>
-                    <!-- Only create the build number if there are no local modifications -->
-                    <doUpdate>false</doUpdate>
-                    <!-- automatically update the local svn copy -->
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-site-plugin</artifactId>
-                <version>3.0</version>
-                <configuration>
-                    <locales>en</locales>
-                   <outputEncoding>UTF-8</outputEncoding>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-source-plugin</artifactId>
-                <version>2.1.2</version>
-                <executions>
-                    <execution>
-                        <id>attach-sources</id>
-                        <phase>verify</phase>
-                        <goals>
-                            <goal>jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <version>2.7</version>
-                <configuration>
-                    <stylesheet>maven</stylesheet>
-                    <quiet>true</quiet>
-                    <detectLinks>true</detectLinks>
-                    <failOnError>false</failOnError>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>aggregate</id>
-                        <goals>
-                            <goal>aggregate</goal>
-                        </goals>
-                        <phase>site</phase>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-eclipse-plugin</artifactId>
-                <version>2.9</version>
-                <configuration>
-                    <downloadSources>true</downloadSources>
-                    <downloadJavadocs>true</downloadJavadocs>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>com.agilejava.docbkx</groupId>
-                <artifactId>docbkx-maven-plugin</artifactId>
-                <version>2.0.9</version>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>generate-html</goal>
-                            <goal>generate-pdf</goal>
-                        </goals>
-                        <phase>pre-site</phase>
-                    </execution>
-                </executions>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.docbook</groupId>
-                        <artifactId>docbook-xml</artifactId>
-                        <version>4.4</version>
-                        <scope>runtime</scope>
-                    </dependency>
-                </dependencies>
-                <configuration>
-                    <includes>ReferenceDocumentation.xml</includes>
-                    <chunkedOutput>true</chunkedOutput>
-                    <htmlStylesheet>resources/css/html.css</htmlStylesheet>
-                    <xincludeSupported>true</xincludeSupported>
-                    <!--<htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl</htmlCustomization>-->
-                    <!-- if anyone can get the xsl-fo customization to work properly, then by all
-                        means use it
-                        <foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
-                    -->
-                    <entities>
-                        <entity>
-                            <name>version</name>
-                            <value>${project.version}</value>
-                        </entity>
-                    </entities>
-                    <!--We want the final documentation and the required resources to end up in
-              the right place-->
-                    <postProcess>
-                        <copy todir="target/site/reference">
-                            <fileset dir="target/docbkx">
-                                <include name="**/*.html" />
-                                <include name="**/*.pdf" />
-                            </fileset>
-                        </copy>
-                        <copy todir="target/site/reference/html">
-                            <fileset dir="src/docbkx">
-                                <include name="**/*.css" />
-                                <include name="**/*.png" />
-                                <include name="**/*.gif" />
-                                <include name="**/*.jpg" />
-                            </fileset>
-                        </copy>
-                    </postProcess>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>wagon-maven-plugin</artifactId>
-                <version>1.0-beta-3</version>
-                <configuration>
-                    <fromDir>${project.build.directory}/docbkx/</fromDir>
-                    <includes>**/*</includes>
-                    <excludes />
-                    <url>scpexe://wp5.e-taxonomy.eu</url>
-                    <serverId>wp5.e-taxonomy.eu</serverId>
-                    <toDir>var/www/wp5.e-taxonomy.eu/cdmlib/reference/${project.version}</toDir>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>upload-reference-documentation</id>
-                        <phase>site-deploy</phase>
-                        <goals>
-                            <goal>upload</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
+      </repositories>
+    </profile>
+  </profiles>
+  <repositories>
+    <!-- sun repository -->
+    <repository>
+      <id>java.net</id>
+      <url>http://download.java.net/maven/1/</url>
+    </repository>
+    <!-- the cdm internal repository -->
+    <repository>
+      <id>EditRepository</id>
+      <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
+    </repository>
+    <!-- apache incubating repository -->
+    <repository>
+      <id>ApacheIncubating</id>
+      <url>http://people.apache.org/repo/m2-incubating-repository/</url>
+    </repository>
+    <!-- Neccessary for hibernate-envers -->
+    <repository>
+      <releases>
+        <enabled>true</enabled>
+        <updatePolicy>always</updatePolicy>
+        <checksumPolicy>warn</checksumPolicy>
+      </releases>
+      <snapshots>
+        <enabled>false</enabled>
+        <updatePolicy>never</updatePolicy>
+        <checksumPolicy>fail</checksumPolicy>
+      </snapshots>
+      <id>jboss-repository</id>
+      <name>JBoss Repository</name>
+      <url>http://repository.jboss.com</url>
+    </repository>
+    <!-- codehaus mule repository needed for yourkit -->
+    <repository>
+      <id>CodehausMuleRepository</id>
+      <url>http://dist.codehaus.org/mule/dependencies/maven2/</url>
+    </repository>
+    <!-- current spring source repositories -->
+    <repository>
+      <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones</id>
+      <url>http://repository.springsource.com/maven/bundles/milestone</url>
+    </repository>
+    <repository>
+      <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</id>
+      <url>http://repository.springsource.com/maven/bundles/release</url>
+    </repository>
+    <repository>
+      <id>SpringSource Enterprise Bundle Repository - External Bundle Releases</id>
+      <url>http://repository.springsource.com/maven/bundles/external</url>
+    </repository>
+    <!-- for ikey-plus -->
+    <repository>
+      <id>itextpdf.com</id>
+      <name>Maven Repository for iText</name>
+      <url>http://maven.itextpdf.com/</url>
+    </repository>
+    <!-- for jena snapshot -->
+    <repository>
+      <id>apache</id>
+      <name>Apache Repository for Snapshots</name>
+      <url>https://repository.apache.org/content/repositories/snapshots/</url>
+    </repository>
+
+
+  </repositories>
+  <!-- **** PLUGINS **** -->
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>2.3.2</version>
+        <configuration>
+          <source>${java.codelevel}</source>
+          <target>${java.codelevel}</target>
+          <encoding>UTF-8</encoding>  <!-- necessary? should be covered by project. properties source encoding -->
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.12</version>
+        <configuration>
+          <argLine>-Xmx512M -XX:MaxPermSize=128M</argLine>
+          <runOrder>alphabetical</runOrder>
+          <includes>
+            <include>**/*Test.java</include>
+          </includes>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>buildnumber-maven-plugin</artifactId>
+        <version>1.0-beta-3</version>
+        <executions>
+          <execution>
+            <!--<phase>deploy</phase> -->
+            <goals>
+              <goal>create</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <doCheck>false</doCheck>
+          <!-- Only create the build number if there are no local modifications -->
+          <doUpdate>false</doUpdate>
+          <!-- automatically update the local svn copy -->
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>3.0</version>
+        <configuration>
+          <locales>en</locales>
+          <outputEncoding>UTF-8</outputEncoding>
+          <!-- chmod: not not use chmod, rather adapt the umask of the user 
+            at the server to which the site is deployed -->
+          <chmod>false</chmod>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <version>2.1.2</version>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.7</version>
+        <configuration>
+          <stylesheet>maven</stylesheet>
+          <quiet>true</quiet>
+          <detectLinks>true</detectLinks>
+          <failOnError>false</failOnError>
+        </configuration>
+        <executions>
+          <execution>
+            <id>aggregate</id>
+            <goals>
+              <goal>aggregate</goal>
+            </goals>
+            <phase>site</phase>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-eclipse-plugin</artifactId>
+        <version>2.9</version>
+        <configuration>
+          <downloadSources>true</downloadSources>
+          <downloadJavadocs>true</downloadJavadocs>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>com.agilejava.docbkx</groupId>
+        <artifactId>docbkx-maven-plugin</artifactId>
+        <version>2.0.9</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>generate-html</goal>
+              <goal>generate-pdf</goal>
+            </goals>
+            <phase>pre-site</phase>
+          </execution>
+        </executions>
+        <dependencies>
+          <dependency>
+            <groupId>org.docbook</groupId>
+            <artifactId>docbook-xml</artifactId>
+            <version>4.4</version>
+            <scope>runtime</scope>
+          </dependency>
+        </dependencies>
+        <configuration>
+          <includes>ReferenceDocumentation.xml</includes>
+          <chunkedOutput>true</chunkedOutput>
+          <htmlStylesheet>resources/css/html.css</htmlStylesheet>
+          <xincludeSupported>true</xincludeSupported>
+          <!--<htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl</htmlCustomization> -->
+          <!-- if anyone can get the xsl-fo customization to work properly, 
+            then by all means use it <foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization> -->
+          <entities>
+            <entity>
+              <name>version</name>
+              <value>${project.version}</value>
+            </entity>
+          </entities>
+          <!--We want the final documentation and the required resources 
+            to end up in the right place -->
+          <postProcess>
+            <copy todir="target/site/reference">
+              <fileset dir="target/docbkx">
+                <include name="**/*.html" />
+                <include name="**/*.pdf" />
+              </fileset>
+            </copy>
+            <copy todir="target/site/reference/html">
+              <fileset dir="src/docbkx">
+                <include name="**/*.css" />
+                <include name="**/*.png" />
+                <include name="**/*.gif" />
+                <include name="**/*.jpg" />
+              </fileset>
+            </copy>
+          </postProcess>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>wagon-maven-plugin</artifactId>
+        <version>1.0-beta-3</version>
+        <configuration>
+          <fromDir>${project.build.directory}/docbkx/</fromDir>
+          <includes>**/*</includes>
+          <excludes />
+          <url>scpexe://wp5.e-taxonomy.eu</url>
+          <serverId>wp5.e-taxonomy.eu</serverId>
+          <toDir>var/www/wp5.e-taxonomy.eu/cdmlib/reference/${project.version}</toDir>
+        </configuration>
+        <executions>
+          <execution>
+            <id>upload-reference-documentation</id>
+            <phase>site-deploy</phase>
+            <goals>
+              <goal>upload</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-release-plugin</artifactId>
           <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
           <autoVersionSubmodules>true</autoVersionSubmodules>
           <preparationGoals>clean verify install</preparationGoals>
-          <goals>deploy</goals><!-- skipping site-deploy by explicitly configuring the goal here -->
+          <goals>deploy</goals><!-- skipping site-deploy by explicitly configuring 
+            the goal here -->
           <tagBase>http://dev.e-taxonomy.eu/svn/tags/cdmlib</tagBase>
         </configuration>
       </plugin>
-        </plugins>
-        <!--  -->
-        <extensions>
-            <extension>
-                <groupId>org.apache.maven.wagon</groupId>
-                <artifactId>wagon-scm</artifactId>
-                <version>1.0-beta-6</version>
-            </extension>
-            <extension>
-                <groupId>org.apache.maven.wagon</groupId>
-                <artifactId>wagon-ssh</artifactId>
-                <version>1.0-beta-6</version>
-            </extension>
-            <extension>
-                <groupId>org.apache.maven.wagon</groupId>
-                <artifactId>wagon-ssh-external</artifactId>
-                <version>1.0-beta-6</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>
-        <plugins>
-            <plugin>
-                <!-- you will want to start by publishing your classes' Javadocs -->
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <version>2.7</version>
-                <configuration>
-                    <detectLinks>true</detectLinks>
-                </configuration>
-            </plugin>
-            <plugin>
-                <!-- this will generate an indexed and cross-referenced HTML version of your source code -->
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jxr-plugin</artifactId>
-                <version>2.2</version>
-            </plugin>
-            <plugin>
-                <!-- if you use @todo tags to remind you of things to be done (which is a good coding practice), the taglist report will generate a list of all the items marked @todo or TODO -->
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>taglist-maven-plugin</artifactId>
-                <version>2.4</version>
-            </plugin>
-            <plugin>
-                <!-- Test coverage can be a useful indication of the quality of your unit tests. It basically tells you how much of your code is actually run by your unit tests, which, in turn, can give you a good idea of the tests' quality -->
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>cobertura-maven-plugin</artifactId>
-                <version>2.4</version>
-                <!--
-                    <executions>
-                    <execution>
-                    <id>clean</id>
-                    <phase>clean</phase>
-                    <goals>
-                    <goal>clean</goal>
-                    </goals>
-                    </execution>
-                    </executions>
-                -->
-            </plugin>
-            <!--
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-project-info-reports-plugin</artifactId>
-                <reportSets>
-                    <reportSet>
-                        <reports>
-                            <report>dependencies</report>
-                            <report>project-team</report>
-                            <report>mailing-list</report>
-                            <report>cim</report>
-                            <report>issue-tracking</report>
-                            <report>license</report>
-                            <report>scm</report>
-                        </reports>
-                    </reportSet>
-                </reportSets>
-            </plugin>   -->
-            <!-- The changes-maven-plugin plug-in uses a special XML file (src/changes/changes.xml) to track releases and changes in each release -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-changes-plugin</artifactId>
-                <version>2.3</version>
-                <configuration>
-                    <issueLinkTemplatePerSystem>
-                        <default>%URL%/ticket/%ISSUE%</default>
-                    </issueLinkTemplatePerSystem>
-                </configuration>
-                <reportSets>
-                    <reportSet>
-                        <reports>
-                            <report>changes-report</report>
-                        </reports>
-                    </reportSet>
-                </reportSets>
-            </plugin>
-            <!--
-            <plugin>
-                <artifactId>maven-surefire-plugin</artifactId>
-            </plugin>
-            -->
-            <!-- The changelog plug-in generates a nice report describing which files have been changed and by whom -->
-            <!--
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>changelog-maven-plugin</artifactId>
-            </plugin>
-            -->
-        </plugins>
+    </plugins>
+    <!-- -->
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-scm</artifactId>
+        <version>1.0-beta-6</version>
+      </extension>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-ssh</artifactId>
+        <version>1.0-beta-6</version>
+      </extension>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-ssh-external</artifactId>
+        <version>1.0-beta-6</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>
+    <plugins>
+      <plugin>
+        <!-- you will want to start by publishing your classes' Javadocs -->
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.7</version>
+        <configuration>
+          <detectLinks>true</detectLinks>
+        </configuration>
+      </plugin>
+      <plugin>
+        <!-- this will generate an indexed and cross-referenced HTML version 
+          of your source code -->
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jxr-plugin</artifactId>
+        <version>2.2</version>
+      </plugin>
+      <plugin>
+        <!-- if you use @todo tags to remind you of things to be done (which 
+          is a good coding practice), the taglist report will generate a list of all 
+          the items marked @todo or TODO -->
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>taglist-maven-plugin</artifactId>
+        <version>2.4</version>
+      </plugin>
+      <plugin>
+        <!-- Test coverage can be a useful indication of the quality of your 
+          unit tests. It basically tells you how much of your code is actually run 
+          by your unit tests, which, in turn, can give you a good idea of the tests' 
+          quality -->
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>cobertura-maven-plugin</artifactId>
+        <version>2.4</version>
+        <!-- <executions> <execution> <id>clean</id> <phase>clean</phase> 
+          <goals> <goal>clean</goal> </goals> </execution> </executions> -->
+      </plugin>
+      <!-- -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>2.8</version>
+        <configuration>
+          <!-- when the dependencyLocations option is enabled maven will 
+            determine if resources are located within a given repository. If that repository 
+            doesn’t exist anyomore or is just terribly slow and will produce tons of 
+            line in the log starting with: '[ERROR] Unable to determine if resource ...' 
+            This will slow down site build drastically, therefore we disable this option 
+            here. -->
+          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+        </configuration>
+        <!-- just the deafault <reportSets> <reportSet> <reports> <report>dependencies</report> 
+          <report>project-team</report> <report>mailing-list</report> <report>cim</report> 
+          <report>issue-tracking</report> <report>license</report> <report>scm</report> 
+          </reports> </reportSet> </reportSets> -->
+      </plugin>
+      <!-- The changes-maven-plugin plug-in uses a special XML file (src/changes/changes.xml) 
+        to track releases and changes in each release -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-changes-plugin</artifactId>
+        <version>2.3</version>
+        <configuration>
+          <issueLinkTemplatePerSystem>
+            <default>%URL%/ticket/%ISSUE%</default>
+          </issueLinkTemplatePerSystem>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <reports>
+              <report>changes-report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <!-- <plugin> <artifactId>maven-surefire-plugin</artifactId> </plugin> -->
+      <!-- The changelog plug-in generates a nice report describing which 
+        files have been changed and by whom -->
+      <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>changelog-maven-plugin</artifactId> 
+        </plugin> -->
+    </plugins>
 
-    </reporting>
-    <!--     DISTRIBUTION MANAGEMENT -->
-    <distributionManagement>
-        <site>
-            <id>wp5.e-taxonomy.eu</id>
-            <name>CDM Library Website</name>
-            <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/cdmlib/</url>
-        </site>
-        <repository>
-            <uniqueVersion>false</uniqueVersion>
-            <id>wp5.e-taxonomy.eu</id>
-            <name>Edit Maven Repository</name>
-            <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/</url>
-            <layout>default</layout>
-        </repository>
-    </distributionManagement>
-    <!-- **** DEPENDENCIES **** -->
-<dependencies>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-        </dependency>
-    </dependencies>
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>eu.etaxonomy</groupId>
-                <artifactId>cdmlib-commons</artifactId>
-                <version>${project.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>eu.etaxonomy</groupId>
-                <artifactId>cdmlib-model</artifactId>
-                <version>${project.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>eu.etaxonomy</groupId>
-                <artifactId>cdmlib-persistence</artifactId>
-                <version>${project.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>eu.etaxonomy</groupId>
-                <artifactId>cdmlib-services</artifactId>
-                <version>${project.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>eu.etaxonomy</groupId>
-                <artifactId>cdmlib-io</artifactId>
-                <version>${project.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>eu.etaxonomy</groupId>
-                <artifactId>cdmlib-remote</artifactId>
-                <version>${project.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>eu.etaxonomy</groupId>
-                <artifactId>cdmlib-remote-webapp</artifactId>
-                <version>${project.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>eu.etaxonomy</groupId>
-                <artifactId>cdm-server</artifactId>
-                <version>${project.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>eu.etaxonomy</groupId>
-                <artifactId>cdmlib-ext</artifactId>
-                <version>${project.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>eu.etaxonomy</groupId>
-                <artifactId>cdmlib-print</artifactId>
-                <version>${project.version}</version>
-            </dependency>
-            <!--*********** JAXB********* -->
-            <dependency>
-                <groupId>javax.xml.bind</groupId>
-                <artifactId>jaxb-api</artifactId>
-                <version>2.2.7</version>
-            </dependency>
-            <dependency>
-                <groupId>xml-resolver</groupId>
-                <artifactId>xml-resolver</artifactId>
-                <version>1.2</version>
-            </dependency>
-            <dependency>
-                <groupId>javax.activation</groupId>
-                <artifactId>activation</artifactId>
-                <version>1.1.1</version>
-            </dependency>
-            <dependency>
-                <groupId>com.sun.xml.bind</groupId>
-                <artifactId>jaxb-impl</artifactId>
-                <version>2.2-EA</version>
-            </dependency>
-            <dependency>
-                <groupId>com.sun.xml.bind</groupId>
-                <artifactId>jaxb1-impl</artifactId>
-                <version>2.2-EA</version>
-            </dependency>
-            <dependency>
-                <groupId>com.sun.xml.bind</groupId>
-                <artifactId>jaxb-xjc</artifactId>
-                <version>2.2-EA</version>
-            </dependency>
-            <!-- ******* hibernate uses slf4j ******* -->
-            <dependency>
-                <groupId>org.slf4j</groupId>
-                <artifactId>slf4j-api</artifactId>
-                <version>1.7.2</version>
-            </dependency>
-            <dependency>
-                <groupId>org.slf4j</groupId>
-                <artifactId>slf4j-log4j12</artifactId>
-                <version>1.7.2</version>
-            </dependency>
+  </reporting>
+  <!-- DISTRIBUTION MANAGEMENT -->
+  <distributionManagement>
+    <site>
+      <id>wp5.e-taxonomy.eu</id>
+      <name>CDM Library Website</name>
+      <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/cdmlib/</url>
+    </site>
+    <repository>
+      <uniqueVersion>false</uniqueVersion>
+      <id>wp5.e-taxonomy.eu</id>
+      <name>Edit Maven Repository</name>
+      <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/</url>
+      <layout>default</layout>
+    </repository>
+  </distributionManagement>
+  <!-- **** DEPENDENCIES **** -->
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+    </dependency>
+  </dependencies>
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>eu.etaxonomy</groupId>
+        <artifactId>cdmlib-commons</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>eu.etaxonomy</groupId>
+        <artifactId>cdmlib-model</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>eu.etaxonomy</groupId>
+        <artifactId>cdmlib-persistence</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>eu.etaxonomy</groupId>
+        <artifactId>cdmlib-services</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>eu.etaxonomy</groupId>
+        <artifactId>cdmlib-io</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>eu.etaxonomy</groupId>
+        <artifactId>cdmlib-remote</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>eu.etaxonomy</groupId>
+        <artifactId>cdmlib-remote-webapp</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>eu.etaxonomy</groupId>
+        <artifactId>cdm-server</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>eu.etaxonomy</groupId>
+        <artifactId>cdmlib-ext</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>eu.etaxonomy</groupId>
+        <artifactId>cdmlib-print</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <!--*********** JAXB********* -->
+      <dependency>
+        <groupId>javax.xml.bind</groupId>
+        <artifactId>jaxb-api</artifactId>
+        <version>2.2.7</version>
+      </dependency>
+      <dependency>
+        <groupId>xml-resolver</groupId>
+        <artifactId>xml-resolver</artifactId>
+        <version>1.2</version>
+      </dependency>
+      <dependency>
+        <groupId>javax.activation</groupId>
+        <artifactId>activation</artifactId>
+        <version>1.1.1</version>
+      </dependency>
+      <dependency>
+        <groupId>com.sun.xml.bind</groupId>
+        <artifactId>jaxb-impl</artifactId>
+        <version>2.2-EA</version>
+      </dependency>
+      <dependency>
+        <groupId>com.sun.xml.bind</groupId>
+        <artifactId>jaxb1-impl</artifactId>
+        <version>2.2-EA</version>
+      </dependency>
+      <dependency>
+        <groupId>com.sun.xml.bind</groupId>
+        <artifactId>jaxb-xjc</artifactId>
+        <version>2.2-EA</version>
+      </dependency>
+      <!-- ******* hibernate uses slf4j ******* -->
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-api</artifactId>
+        <version>1.7.2</version>
+      </dependency>
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-log4j12</artifactId>
+        <version>1.7.2</version>
+      </dependency>
       <!-- ******* testing ******* -->
-            <dependency>
-                <groupId>junit</groupId>
-                <artifactId>junit</artifactId>
-                <version>4.11</version>
-                <scope>test</scope>
-            </dependency>
-             <dependency>
-               <groupId>com.carrotsearch</groupId>
-               <artifactId>junit-benchmarks</artifactId>
-               <version>0.5.0</version>
-               <scope>test</scope>
-             </dependency>
-             <dependency>
-               <groupId>org.unitils</groupId>
-               <artifactId>unitils-core</artifactId>
-               <version>${unitils.version}</version>
-               <!-- <scope>test</scope> unscoped since we need this dependency at compile time in persistence for H2DbSupport.java -->
-             </dependency>
-             <dependency>
-               <groupId>org.unitils</groupId>
-               <artifactId>unitils-database</artifactId>
-               <version>${unitils.version}</version>
-               <scope>test</scope>
-               <exclusions>
-                   <exclusion>
-                       <groupId>org.springframework</groupId>
-                       <artifactId>spring-jdbc</artifactId>
-                   </exclusion>
-               </exclusions>
-             </dependency>
-             <dependency>
-               <groupId>org.unitils</groupId>
-               <artifactId>unitils-dbmaintainer</artifactId>
-               <version>${unitils.version}</version>
-               <scope>test</scope>
-               <exclusions>
-                   <exclusion>
-                       <groupId>org.hibernate</groupId>
-                       <artifactId>hibernate</artifactId>
-                   </exclusion>
-               </exclusions>
-             </dependency>
-             <dependency>
-               <groupId>org.unitils</groupId>
-               <artifactId>unitils-dbunit</artifactId>
-               <version>${unitils.version}</version>
-               <scope>test</scope>
-               <exclusions>
-                 <exclusion>
-                   <groupId>org.springframework</groupId>
-                   <artifactId>spring-core</artifactId>
-                 </exclusion>
-                 <exclusion>
-                   <groupId>org.springframework</groupId>
-                   <artifactId>spring-jdbc</artifactId>
-                 </exclusion>
-                 <exclusion>
-                   <groupId>org.springframework</groupId>
-                   <artifactId>spring-beans</artifactId>
-                 </exclusion>
-               </exclusions>
-             </dependency>
-              <dependency>
-               <groupId>org.unitils</groupId>
-               <artifactId>unitils-easymock</artifactId>
-               <version>${unitils.version}</version>
-               <scope>test</scope>
-             </dependency>
-             <dependency>
-               <groupId>org.unitils</groupId>
-               <artifactId>unitils-mock</artifactId>
-               <version>${unitils.version}</version>
-               <scope>test</scope>
-             </dependency>
-             <dependency>
-               <groupId>org.unitils</groupId>
-               <artifactId>unitils-inject</artifactId>
-               <version>${unitils.version}</version>
-               <scope>test</scope>
-             </dependency>
-              <dependency>
-               <groupId>org.unitils</groupId>
-               <artifactId>unitils-orm</artifactId>
-               <version>${unitils.version}</version>
-               <scope>test</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.springframework</groupId>
-                    <artifactId>spring-context</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.springframework</groupId>
-                    <artifactId>spring-orm</artifactId>
-                </exclusion>
-                               <exclusion>
-                    <groupId>javax.persistence</groupId>
-                    <artifactId>persistence-api</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-            <dependency>
-                <groupId>org.unitils</groupId>
-                <artifactId>unitils-spring</artifactId>
-                <version>${unitils.version}</version>
-                <scope>test</scope>
-                <exclusions>
-                    <exclusion>
-                        <groupId>org.springframework</groupId>
-                        <artifactId>spring-core</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>org.springframework</groupId>
-                        <artifactId>spring-context</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>org.springframework</groupId>
-                        <artifactId>spring-beans</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>org.springframework</groupId>
-                        <artifactId>spring-test</artifactId>
-                    </exclusion>                    
-                    <exclusion>
-                        <groupId>org.springframework</groupId>
-                        <artifactId>spring-tx</artifactId>
-                    </exclusion>
-                </exclusions>
-               </dependency>
-               <dependency>
-                   <groupId>org.easymock</groupId>
-                   <artifactId>easymock</artifactId>
-                   <version>3.1</version>
-                   <scope>test</scope>
-               </dependency>
-               <dependency>
-                   <groupId>xmlunit</groupId>
-                   <artifactId>xmlunit</artifactId>
-                   <version>1.4</version>
-                   <scope>test</scope>
-               </dependency>
-               <dependency>
-                   <groupId>org.dbunit</groupId>
-                   <artifactId>dbunit</artifactId>
-                   <version>2.4.9</version>
-                   <scope>test</scope>
-               </dependency>
-               <!--  dependency of unitils database, but with lower number there
-               , higher number needed for compatibility with current hibernate and Java 1.6 PreparedStatement -->
-               <dependency>
-                     <groupId>commons-dbcp</groupId>
-                     <artifactId>commons-dbcp</artifactId>
-                     <version>1.4</version>
-<!--                 <scope>test</scope> -->
-               </dependency>
-               
-               <!-- ******* aspect ******* -->
-               <dependency>
-                   <groupId>org.aspectj</groupId>
-                   <artifactId>aspectjrt</artifactId>
-                   <version>1.7.1</version>
-               </dependency>
-               <dependency>
-                   <groupId>org.aspectj</groupId>
-                   <artifactId>aspectjweaver</artifactId>
-                   <version>1.7.1</version>
-               </dependency>
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>4.12</version>
+        <scope>test</scope>
+      </dependency>
+      <dependency>
+        <groupId>com.carrotsearch</groupId>
+        <artifactId>junit-benchmarks</artifactId>
+        <version>0.7.2</version>
+        <scope>test</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.unitils</groupId>
+        <artifactId>unitils-core</artifactId>
+        <version>${unitils.version}</version>
+        <!-- <scope>test</scope> unscoped since we need this dependency at 
+          compile time in persistence for H2DbSupport.java -->
+      </dependency>
+      <dependency>
+        <groupId>org.unitils</groupId>
+        <artifactId>unitils-database</artifactId>
+        <version>${unitils.version}</version>
+        <scope>test</scope>
+        <exclusions>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-jdbc</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>org.unitils</groupId>
+        <artifactId>unitils-dbmaintainer</artifactId>
+        <version>${unitils.version}</version>
+        <scope>test</scope>
+        <exclusions>
+          <exclusion>
+            <groupId>org.hibernate</groupId>
+            <artifactId>hibernate</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>org.unitils</groupId>
+        <artifactId>unitils-dbunit</artifactId>
+        <version>${unitils.version}</version>
+        <scope>test</scope>
+        <exclusions>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-core</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-jdbc</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-beans</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>org.unitils</groupId>
+        <artifactId>unitils-easymock</artifactId>
+        <version>${unitils.version}</version>
+        <scope>test</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.unitils</groupId>
+        <artifactId>unitils-mock</artifactId>
+        <version>${unitils.version}</version>
+        <scope>test</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.unitils</groupId>
+        <artifactId>unitils-inject</artifactId>
+        <version>${unitils.version}</version>
+        <scope>test</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.unitils</groupId>
+        <artifactId>unitils-orm</artifactId>
+        <version>${unitils.version}</version>
+        <scope>test</scope>
+        <exclusions>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-context</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-orm</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>javax.persistence</groupId>
+            <artifactId>persistence-api</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>org.unitils</groupId>
+        <artifactId>unitils-spring</artifactId>
+        <version>${unitils.version}</version>
+        <scope>test</scope>
+        <exclusions>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-core</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-context</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-beans</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-test</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-tx</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>xmlunit</groupId>
+        <artifactId>xmlunit</artifactId>
+        <version>1.6</version>
+        <scope>test</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.dbunit</groupId>
+        <artifactId>dbunit</artifactId>
+        <version>2.4.9</version>
+        <scope>test</scope>
+      </dependency>
+      <!-- dependency of unitils database, but with lower number there , 
+        higher number needed for compatibility with current hibernate and Java 1.6 
+        PreparedStatement -->
+      <dependency>
+        <groupId>commons-dbcp</groupId>
+        <artifactId>commons-dbcp</artifactId>
+        <version>1.4</version>
+        <!-- <scope>test</scope> -->
+      </dependency>
+
+      <!-- ******* aspect ******* -->
+      <dependency>
+        <groupId>org.aspectj</groupId>
+        <artifactId>aspectjrt</artifactId>
+        <version>1.7.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.aspectj</groupId>
+        <artifactId>aspectjweaver</artifactId>
+        <version>1.7.1</version>
+      </dependency>
       <!-- ******* VARIOUS ******* -->
-                 <dependency>
-                       <groupId>log4j</groupId>
-                       <artifactId>log4j</artifactId>
-                       <version>1.2.17</version>
-                 </dependency>
-            <dependency>
-                <groupId>javax.annotation</groupId>
-                <artifactId>jsr250-api</artifactId>
-                <version>1.0</version>
-            </dependency>
-            <dependency>
-                <groupId>net.sf.opencsv</groupId>
-                <artifactId>opencsv</artifactId>
-                <version>2.3</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse</groupId>
-                <artifactId>osgi</artifactId>
-                <version>3.6.0</version>
-            </dependency>
-            <dependency>
-                <groupId>cglib</groupId>
-                <artifactId>cglib</artifactId>
-                <version>2.2.2</version>
-            </dependency>
-            <dependency>
-                <groupId>cglib</groupId>
-                <artifactId>cglib-nodep</artifactId>
-                <version>2.2.2</version>
-            </dependency>
-            <dependency>
-                <groupId>commons-lang</groupId>
-                <artifactId>commons-lang</artifactId>
-                <version>2.6</version>
-            </dependency>
-            <dependency>
-                <groupId>commons-collections</groupId>
-                <artifactId>commons-collections</artifactId>
-                <version>3.2.1</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.httpcomponents</groupId>
-                <artifactId>httpclient</artifactId>
-                <version>${httpcomponents.version}</version>
-            </dependency>
-       <dependency>
-               <groupId>org.apache.httpcomponents</groupId>
-               <artifactId>httpcore</artifactId>
-       <!--    <version>${httpcomponents.version}</version> -->
-               <version>4.2.4</version>
-               </dependency>
-            <dependency>
-                <groupId>commons-io</groupId>
-                <artifactId>commons-io</artifactId>
-                <version>2.4</version>
-            </dependency>
-                       <!-- only for version management, poi currently requires 1.6, commons-logging 1.1.1 requires 1.6, so we update here to the latest version -->
-                       <dependency>
-                           <groupId>commons-codec</groupId>
-                               <artifactId>commons-codec</artifactId>
-                               <version>20041127.091804</version>  <!-- probably same as commons-codec version 1.8 --> 
-                       </dependency>
-                       <!-- only for version management, httpcore:4.2.4, commons-beanutils:1.8.3, commons-collections:3.2.1 currently require 1.1.1 , httpclient:4.2.3, spring-modules-cache require 1.1 and batik-ext requires 1.0.4, so we update here to the latest version 1.1.2 -->
-                       <dependency>
-                               <groupId>commons-logging</groupId>
-                               <artifactId>commons-logging</artifactId>
-                               <version>1.1.2</version>
-                       </dependency>
-            <!-- only for version management, hibernate-commons-annotations:4.0.1.Final requires 3.1.0.CR2 , hibernate-ehcache:4.1.10  requires 3.1.0.GA , so we update here to the latest version 3.1.3.GA -->
-                       <dependency>
-                               <groupId>org.jboss.logging</groupId>
-                               <artifactId>jboss-logging</artifactId>
-                               <version>3.1.3.GA</version>
-                       </dependency>
-                       <!-- TODO com.springsource.org.aopalliance  and com.springsource.org.apache.commons.logging seem to be duplicates of e.g. apache commons-logging. Needs to be further checked.   
-                       -->
-                       <!-- TODO xerces xmlParserAPIs duplicates many classes from jre and xml-apis. It is a dependency that comes with xom:xom  -->
-                       
-                       
-                       <dependency>
-                <groupId>net.sf.ezmorph</groupId>
-                <artifactId>ezmorph</artifactId>
-                <version>1.0.6</version>
-            </dependency>
-            <dependency>
-                <groupId>commons-beanutils</groupId>
-                <artifactId>commons-beanutils</artifactId>
-                <version>1.8.3</version>
-            </dependency>
-            <dependency>
-                <groupId>net.sf.json-lib</groupId>
-                <artifactId>json-lib</artifactId>
-                <version>2.4</version>
-                <classifier>jdk15</classifier>
-            </dependency>
-            <dependency>
-                <groupId>org.devlib.schmidt</groupId>
-                <artifactId>imageinfo</artifactId>
-                <version>1.9</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.poi</groupId>
-                <artifactId>poi</artifactId>
-                <version>3.9</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.sanselan</groupId>
-                <artifactId>sanselan</artifactId>
-                <version>0.97-incubator</version>
-            </dependency>
-            <!-- joda-time -->
-            <dependency>
-                <groupId>joda-time</groupId>
-                <artifactId>joda-time</artifactId>
-                <version>2.1</version>
-            </dependency>
-            <dependency>
-                               <groupId>org.jadira.usertype</groupId>
-                               <artifactId>usertype.jodatime</artifactId>
-                               <version>2.0.1</version>
-                       </dependency>
-            
-            <dependency>
-                <groupId>org.apache.lucene</groupId>
-                <artifactId>lucene-core</artifactId>
-                <version>${lucene.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.lucene</groupId>
-                <artifactId>lucene-spellchecker</artifactId>
-                <version>${lucene.version}</version>
-            </dependency>
-            <dependency>
-               <groupId>org.apache.lucene</groupId>
-               <artifactId>lucene-highlighter</artifactId>
-               <version>${lucene.version}</version>
-            </dependency>
-            <dependency>
-                      <groupId>org.apache.lucene</groupId>
-                      <artifactId>lucene-grouping</artifactId>
-                      <version>${lucene.version}</version>
-                   </dependency>
-            <dependency>
-               <groupId>org.apache.lucene</groupId>
-               <artifactId>lucene-join</artifactId>
-               <version>${lucene.version}</version>
-            </dependency>
+      <dependency>
+        <groupId>log4j</groupId>
+        <artifactId>log4j</artifactId>
+        <version>1.2.17</version>
+      </dependency>
+      <dependency>
+        <groupId>javax.annotation</groupId>
+        <artifactId>jsr250-api</artifactId>
+        <version>1.0</version>
+      </dependency>
+      <dependency>
+        <groupId>net.sf.opencsv</groupId>
+        <artifactId>opencsv</artifactId>
+        <version>2.3</version>
+      </dependency>
+      <dependency>
+        <groupId>org.eclipse</groupId>
+        <artifactId>osgi</artifactId>
+        <version>3.6.0</version>
+      </dependency>
+      <dependency>
+        <groupId>cglib</groupId>
+        <artifactId>cglib</artifactId>
+        <version>2.2.2</version>
+      </dependency>
+      <dependency>
+        <groupId>cglib</groupId>
+        <artifactId>cglib-nodep</artifactId>
+        <version>2.2.2</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-lang</groupId>
+        <artifactId>commons-lang</artifactId>
+        <version>2.6</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-collections</groupId>
+        <artifactId>commons-collections</artifactId>
+        <version>3.2.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.httpcomponents</groupId>
+        <artifactId>httpclient</artifactId>
+        <version>${httpcomponents.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.httpcomponents</groupId>
+        <artifactId>httpcore</artifactId>
+        <!-- <version>${httpcomponents.version}</version> -->
+        <version>4.2.4</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-io</groupId>
+        <artifactId>commons-io</artifactId>
+        <version>2.4</version>
+      </dependency>
+      <!-- only for version management, poi currently requires 1.6, commons-logging 
+        1.1.1 requires 1.6, so we update here to the latest version -->
+      <dependency>
+        <groupId>commons-codec</groupId>
+        <artifactId>commons-codec</artifactId>
+        <version>20041127.091804</version>  <!-- probably same as commons-codec version 1.8 -->
+      </dependency>
+      <!-- only for version management, httpcore:4.2.4, commons-beanutils:1.8.3, 
+        commons-collections:3.2.1 currently require 1.1.1 , httpclient:4.2.3, spring-modules-cache 
+        require 1.1 and batik-ext requires 1.0.4, so we update here to the latest 
+        version 1.1.2 -->
+      <dependency>
+        <groupId>commons-logging</groupId>
+        <artifactId>commons-logging</artifactId>
+        <version>1.1.2</version>
+      </dependency>
+      <!-- only for version management, hibernate-commons-annotations:4.0.1.Final 
+        requires 3.1.0.CR2 , hibernate-ehcache:4.1.10 requires 3.1.0.GA , so we update 
+        here to the latest version 3.1.3.GA -->
+      <dependency>
+        <groupId>org.jboss.logging</groupId>
+        <artifactId>jboss-logging</artifactId>
+        <version>3.1.3.GA</version>
+      </dependency>
+      <!-- TODO com.springsource.org.aopalliance and com.springsource.org.apache.commons.logging 
+        seem to be duplicates of e.g. apache commons-logging. Needs to be further 
+        checked. -->
+      <!-- TODO xerces xmlParserAPIs duplicates many classes from jre and 
+        xml-apis. It is a dependency that comes with xom:xom -->
+      <dependency>
+        <groupId>org.apache.jena</groupId>
+        <artifactId>jena-tdb</artifactId>
+        <version>1.0.2</version>
+      </dependency>
 
-            <dependency>
-                <groupId>com.ibm.lsid</groupId>
-                <artifactId>lsid-client</artifactId>
-                <version>1.1.2</version>
-            </dependency>
-            <dependency>
-                <groupId>com.ibm.lsid</groupId>
-                <artifactId>lsid-server</artifactId>
-                <version>1.1.2</version>
-            </dependency>
-            <dependency>
-                <groupId>wsdl4j</groupId>
-                <artifactId>wsdl4j</artifactId>
-                <version>1.6.2</version>
-            </dependency>
-            <dependency>
-                <groupId>net.sf.dozer</groupId>
-                <artifactId>dozer</artifactId>
-                <version>5.3.0</version>
-            </dependency>
+      <dependency>
+        <groupId>net.sf.ezmorph</groupId>
+        <artifactId>ezmorph</artifactId>
+        <version>1.0.6</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-beanutils</groupId>
+        <artifactId>commons-beanutils</artifactId>
+        <version>1.8.3</version>
+      </dependency>
+      <dependency>
+        <groupId>net.sf.json-lib</groupId>
+        <artifactId>json-lib</artifactId>
+        <version>2.4</version>
+        <classifier>jdk15</classifier>
+      </dependency>
+      <dependency>
+        <groupId>org.devlib.schmidt</groupId>
+        <artifactId>imageinfo</artifactId>
+        <version>1.9</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.poi</groupId>
+        <artifactId>poi</artifactId>
+        <version>${poi.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.poi</groupId>
+        <artifactId>poi-ooxml-schemas</artifactId>
+        <version>${poi.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.poi</groupId>
+        <artifactId>poi-ooxml</artifactId>
+        <version>${poi.version}</version>
+      </dependency>
 
-            <!-- ******* XML ******* -->
-            <dependency>
-                <groupId>xml-apis</groupId>
-                <artifactId>xml-apis</artifactId>
-                <version>2.0.2</version>
-            </dependency>
-            <dependency>
-                <groupId>xerces</groupId>
-                <artifactId>xercesImpl</artifactId>
-                <version>2.11.0</version>
-            </dependency>
-              <!-- >batik-ext required by Xerces 2.11.0 for class ElementTraversal, as this is not included anymore in xml-apis 2.x-->
-                         <dependency>
-                               <groupId>org.apache.xmlgraphics</groupId>
-                               <artifactId>batik-ext</artifactId>
-                               <version>1.7</version>
-                         </dependency>
-               <dependency> <!-- required by cdmlib-print -->
-                               <groupId>org.apache.xmlgraphics</groupId>
-                               <artifactId>fop</artifactId>
-                               <!-- version 1.1 does NOT work, because it depends on avalon-framework-api 4.2.0 which is not available in central maven repository under the given groupID  -->
-                               <version>1.1</version>
-                               <exclusions>
-                                       <!-- 1.1 depends on an old version of avalon-framework which does not exist in mvn repository under this groupId (has old groupId) -->
-                                       <exclusion>
-                                               <groupId>org.apache.avalon.framework</groupId>
-                                               <artifactId>avalon-framework-api</artifactId>
-                                       </exclusion>
-                                       <exclusion>
-                                               <groupId>org.apache.avalon.framework</groupId>
-                                               <artifactId>avalon-framework-impl</artifactId>
-                                       </exclusion>
-                               </exclusions>
-                       </dependency>
-            <!-- not directly required, but fix mentioned to force 
-              correct version number 4.3.1. Required by org.apache.xmlgraphics/fop 1.1 
-              Remove when dependency in fop in corrected.
-              --> 
-            <dependency>
-                               <groupId>org.apache.avalon.framework</groupId>
-                               <artifactId>avalon-framework-api</artifactId>
-                               <version>4.3.1</version>
-                       </dependency>
-                       <dependency>
-                       <groupId>org.odftoolkit</groupId>
-                               <artifactId>odfdom-java</artifactId>
-                               <version>0.8.7</version>
-                       </dependency>
-            
-            <dependency>
-                <groupId>jaxen</groupId>
-                <artifactId>jaxen</artifactId>
-                <version>1.1.4</version>
-            </dependency>
-            <dependency>
-                <groupId>org.jdom</groupId>
-                <artifactId>jdom</artifactId>
-                <version>1.1.3</version>
-            </dependency>
-            <dependency>
-                <groupId>com.thoughtworks.xstream</groupId>
-                <artifactId>xstream</artifactId>
-                <version>1.4.4</version>
-            </dependency>
-            <dependency>
-                <groupId>xpp3</groupId>
-                <artifactId>xpp3</artifactId>
-                <version>1.1.4c</version>
-            </dependency>
-            <dependency>
-                <groupId>stax</groupId>
-                <artifactId>stax</artifactId>
-                <version>1.2.0</version>
-            </dependency>
-            <dependency>
-                <groupId>xom</groupId>
-                <artifactId>xom</artifactId>
-                <version>1.0</version>
-                <exclusions>
-                    <!-- 
-                        need to exclude com.ibm.icu:icu4j since it contains an invalid file 
-                        which causes the jetty-maven-plugin to fail
-                        see http://stackoverflow.com/questions/3026956/javassist-failure-in-hibernate-invalid-constant-type-60
-                    -->
-                    <exclusion>
-                        <groupId>com.ibm.icu</groupId>
-                        <artifactId>icu4j</artifactId>
-                    </exclusion>
-                </exclusions>
-            </dependency>
-                       <!-- ******* SAXON (ViBRANT)******* -->
-                       <dependency>
-                               <groupId>net.sf.saxon</groupId>
-                               <artifactId>Saxon-HE</artifactId>
-                               <version>9.5.1-2</version>
-                       </dependency>
-                       <!-- ******* http components (ViBRANT)******* -->
-                       <dependency>
-                <groupId>org.apache.httpcomponents</groupId>
-                <artifactId>httpmime</artifactId>
-                <version>${httpcomponents.version}</version>
-                       </dependency>
-                       <!-- ***** json ********************-->
-                       <dependency>
-                               <groupId>org.json</groupId>
-                               <artifactId>json</artifactId>
-                               <version>20090211</version>
-                       </dependency>
-            <!-- ******* HIBERNATE / EJB3 ******* -->
-                       <dependency>
-                <groupId>org.hibernate.javax.persistence</groupId>
-                <artifactId>hibernate-jpa-2.0-api</artifactId>
-                <version>1.0.1.Final</version>
-            </dependency>
-            <dependency>
-                <groupId>org.hibernate</groupId>
-                <artifactId>hibernate-core</artifactId>
-                               <version>${hibernate.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.hibernate</groupId>
-                <artifactId>hibernate-entitymanager</artifactId>
-                               <version>${hibernate.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.hibernate</groupId>
-                <artifactId>hibernate-ehcache</artifactId>
-                               <version>${hibernate.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.hibernate</groupId>
-                <artifactId>hibernate-envers</artifactId>
-                               <version>${hibernate.version}</version>
-            </dependency>
-             <dependency>
-                <groupId>org.hibernate</groupId>
-                <artifactId>hibernate-c3p0</artifactId>
-                <version>${hibernate.version}</version>
-                <exclusions>
-                       <!-- version 0.9.1.x has a bug in NewProxyPreparedStatement 
-                       therefore we use com.mchange/c3po 0.9.2 instead  -->
-                       <exclusion>
-                               <groupId>c3p0</groupId>
-                                               <artifactId>c3p0</artifactId>
-                                       </exclusion>
-                </exclusions>
-            </dependency>
-                       <dependency>
-                               <groupId>com.mchange</groupId>
-                               <artifactId>c3p0</artifactId>
-                               <version>0.9.2</version>
-                       </dependency>
-    
-            
-    <!--     Part of hibernate-core since 3.6 -->
-<!--                   <dependency> -->
-<!--                 <groupId>org.hibernate</groupId> -->
-<!--                 <artifactId>hibernate-annotations</artifactId> -->
-<!--                           <version>3.5.6-Final</version> -->
-<!--             </dependency> -->
-            <dependency>
-                <groupId>org.hibernate.common</groupId>
-                <artifactId>hibernate-commons-annotations</artifactId>
-                               <version>4.0.1.Final</version>
-            </dependency>
-                   <dependency>
-                       <groupId>org.hibernate</groupId>
-                       <artifactId>hibernate-search</artifactId>
-                       <version>4.2.0.Final</version>
-                   </dependency>
-                   
-            <dependency>
-               <!-- needed?? -->
-                <groupId>org.hibernate</groupId>
-                <artifactId>hibernate-search-engine</artifactId>
-                <version>4.2.0.Final</version>
-                <exclusions>
-                    <!-- still needed ?? -->
-                    <exclusion>
-                        <groupId>org.apache.lucene</groupId>
-                        <artifactId>lucene-core</artifactId>
-                    </exclusion>
-                </exclusions>
-            </dependency>
-                       <dependency>
-                               <groupId>org.javassist</groupId>
-                               <artifactId>javassist</artifactId>
-                               <version>3.17.1-GA</version>
-                       </dependency>
-            <dependency>
-                <groupId>org.hibernate</groupId>
-                <artifactId>hibernate-cglib-repack</artifactId>
-                <version>2.1_3</version>
-            </dependency>
+      <dependency>
+        <groupId>org.apache.sanselan</groupId>
+        <artifactId>sanselan</artifactId>
+        <version>0.97-incubator</version>
+      </dependency>
+      <!-- joda-time -->
+      <dependency>
+        <groupId>joda-time</groupId>
+        <artifactId>joda-time</artifactId>
+        <version>2.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jadira.usertype</groupId>
+        <artifactId>usertype.jodatime</artifactId>
+        <version>2.0.1</version>
+      </dependency>
 
-            <dependency>
-                <!-- still needed ?? -->
-                <groupId>org.hibernate</groupId>
-                <artifactId>hibernate-parent</artifactId>
-                <!--  last version is 3.6.10.Final -->
-                               <version>${hibernate.version}</version>
-            </dependency>
+      <dependency>
+        <groupId>org.apache.lucene</groupId>
+        <artifactId>lucene-core</artifactId>
+        <version>${lucene.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.lucene</groupId>
+        <artifactId>lucene-spellchecker</artifactId>
+        <version>${lucene.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.lucene</groupId>
+        <artifactId>lucene-highlighter</artifactId>
+        <version>${lucene.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.lucene</groupId>
+        <artifactId>lucene-grouping</artifactId>
+        <version>${lucene.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.lucene</groupId>
+        <artifactId>lucene-join</artifactId>
+        <version>${lucene.version}</version>
+      </dependency>
 
-            <!-- ******* SPRING ******* -->
-            <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>org.springframework.core</artifactId>
-                <version>${spring.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>org.springframework.context</artifactId>
-                <version>${spring.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>org.springframework.beans</artifactId>
-                <version>${spring.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>org.springframework.orm</artifactId>
-                <version>${spring.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>org.springframework.jdbc</artifactId>
-                <version>${spring.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>org.springframework.test</artifactId>
-                <version>${spring.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>org.springframework.web.servlet</artifactId>
-                <version>${spring.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>org.springframework.web</artifactId>
-                <version>${spring.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>org.springframework.aop</artifactId>
-                <version>${spring.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>org.springframework.aspects</artifactId>
-                <version>${spring.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>org.springframework.expression</artifactId>
-                <version>${spring.version}</version>
-            </dependency>
-<!--             <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>org.springframework.context.support</artifactId>
-                <version>${spring.version}</version>
-            </dependency> -->
-            <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>spring-context-support</artifactId>
-                <version>${spring.version}</version>
-            </dependency> 
-            <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>org.springframework.oxm</artifactId>
-                <version>${spring.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.springframework.security</groupId>
-                <artifactId>spring-security-core</artifactId>
-                <version>${spring-security.version}</version>
-                <exclusions>
-                  <exclusion>
-                    <groupId>org.springframework</groupId>
-                       <artifactId>spring-aop</artifactId>
-                  </exclusion>
-                  <exclusion>
-                       <groupId>org.springframework</groupId>
-                    <artifactId>spring-beans</artifactId>
-                  </exclusion>
-                  <exclusion>
-                       <groupId>org.springframework</groupId>
-                    <artifactId>spring-context</artifactId>
-                  </exclusion>
-                  <exclusion>
-                       <groupId>org.springframework</groupId>
-                    <artifactId>spring-core</artifactId>
-                  </exclusion>
-                  <exclusion>
-                    <groupId>org.springframework</groupId>
-                    <artifactId>spring-expression</artifactId>
-                  </exclusion>
-                  <exclusion>
-                       <groupId>org.springframework</groupId>
-                    <artifactId>spring-tx</artifactId>
-                  </exclusion>
-                </exclusions>
-            </dependency>
-                   <dependency>
-                       <groupId>org.springframework.security</groupId>
-                               <artifactId>spring-security-config</artifactId>
-                       <version>${spring-security.version}</version>
-                       <exclusions>
-                  <exclusion>
-                    <groupId>org.springframework</groupId>
-                       <artifactId>spring-aop</artifactId>
-                  </exclusion>
-                  <exclusion>
-                       <groupId>org.springframework</groupId>
-                    <artifactId>spring-beans</artifactId>
-                  </exclusion>
-                  <exclusion>
-                       <groupId>org.springframework</groupId>
-                    <artifactId>spring-context</artifactId>
-                  </exclusion>
-                  <exclusion>
-                       <groupId>org.springframework</groupId>
-                    <artifactId>spring-core</artifactId>
-                  </exclusion>
-                  <exclusion>
-                       <groupId>org.springframework</groupId>
-                    <artifactId>spring-web</artifactId>
-                  </exclusion>
-                </exclusions>
-            </dependency>    
-            <dependency>
-                <groupId>org.springframework.security</groupId>
-                <artifactId>spring-security-web</artifactId>
-                <version>${spring-security.version}</version>
-                 <exclusions>
-                  <exclusion>
-                    <groupId>org.springframework</groupId>
-                    <artifactId>spring-aop</artifactId>
-                  </exclusion>
-                  <exclusion>
-                    <groupId>org.springframework</groupId>
-                    <artifactId>spring-beans</artifactId>
-                  </exclusion>
-                  <exclusion>
-                    <groupId>org.springframework</groupId>
-                    <artifactId>spring-context</artifactId>
-                  </exclusion>
-                  <exclusion>
-                    <groupId>org.springframework</groupId>
-                    <artifactId>spring-core</artifactId>
-                  </exclusion>
-                  <exclusion>
-                    <groupId>org.springframework</groupId>
-                    <artifactId>spring-web</artifactId>
-                  </exclusion>
-                  <exclusion>
-                    <groupId>org.springframework</groupId>
-                    <artifactId>spring-expression</artifactId>
-                  </exclusion>
-                </exclusions>
-            </dependency>    
-            
-            <!-- ******* SERVLET/JSP/JSF ******* -->
-            <dependency>
-                <groupId>javax.servlet</groupId>
-                <artifactId>servlet-api</artifactId>
-                <version>2.5</version>
-            </dependency>
-            <!-- ******* DATABASES DRIVER ******* -->
-            <dependency>
-                <!-- SQL Server and Sybase -->
-                <groupId>net.sourceforge.jtds</groupId>
-                <artifactId>jtds</artifactId>
-                <version>1.3.0</version>
-            </dependency>
-            <dependency>
-                               <groupId>mysql</groupId>
-                               <artifactId>mysql-connector-java</artifactId>
-                               <version>5.1.24</version>
-            </dependency>
-            <dependency>
-                <groupId>postgresql</groupId>
-                <artifactId>postgresql</artifactId>
-                <!--version>8.2-504.jdbc4</version-->
-                               <version>9.1-901.jdbc4</version>
-            </dependency>
-            <dependency>
-                <groupId>hsqldb</groupId>
-                <artifactId>hsqldb</artifactId>
-                <version>${hsqldb.version}</version>
-            </dependency>
-            <!--for sqlserver2008 and sqlserver2005-->
-            <dependency>
-                <groupId>com.microsoft.sqlserver</groupId>
-                <artifactId>jdbc4</artifactId>
-                <version>2.0</version>
-            </dependency>
+      <dependency>
+        <groupId>com.ibm.lsid</groupId>
+        <artifactId>lsid-client</artifactId>
+        <version>1.1.2</version>
+      </dependency>
+      <dependency>
+        <groupId>com.ibm.lsid</groupId>
+        <artifactId>lsid-server</artifactId>
+        <version>1.1.2</version>
+      </dependency>
+      <dependency>
+        <groupId>wsdl4j</groupId>
+        <artifactId>wsdl4j</artifactId>
+        <version>1.6.2</version>
+      </dependency>
+      <dependency>
+        <groupId>net.sf.dozer</groupId>
+        <artifactId>dozer</artifactId>
+        <version>5.3.0</version>
+      </dependency>
+      <dependency>
+        <groupId>net.sf.ehcache</groupId>
+        <artifactId>ehcache-core</artifactId>
+        <version>2.4.3</version>
+      </dependency>
+      <!-- ******* XML ******* -->
+      <dependency>
+        <groupId>xml-apis</groupId>
+        <artifactId>xml-apis</artifactId>
+        <version>2.0.2</version>
+      </dependency>
+      <dependency>
+        <groupId>xerces</groupId>
+        <artifactId>xercesImpl</artifactId>
+        <version>2.11.0</version>
+      </dependency>
+      <!-- >batik-ext required by Xerces 2.11.0 for class ElementTraversal, 
+        as this is not included anymore in xml-apis 2.x -->
+      <dependency>
+        <groupId>org.apache.xmlgraphics</groupId>
+        <artifactId>batik-ext</artifactId>
+        <version>1.7</version>
+      </dependency>
+      <dependency> <!-- required by cdmlib-print -->
+        <groupId>org.apache.xmlgraphics</groupId>
+        <artifactId>fop</artifactId>
+        <!-- version 1.1 does NOT work, because it depends on avalon-framework-api 
+          4.2.0 which is not available in central maven repository under the given 
+          groupID -->
+        <version>1.1</version>
+        <exclusions>
+          <!-- 1.1 depends on an old version of avalon-framework which does 
+            not exist in mvn repository under this groupId (has old groupId) -->
+          <exclusion>
+            <groupId>org.apache.avalon.framework</groupId>
+            <artifactId>avalon-framework-api</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.apache.avalon.framework</groupId>
+            <artifactId>avalon-framework-impl</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <!-- not directly required, but fix mentioned to force correct version 
+        number 4.3.1. Required by org.apache.xmlgraphics/fop 1.1 Remove when dependency 
+        in fop in corrected. -->
+      <dependency>
+        <groupId>org.apache.avalon.framework</groupId>
+        <artifactId>avalon-framework-api</artifactId>
+        <version>4.3.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.odftoolkit</groupId>
+        <artifactId>odfdom-java</artifactId>
+        <version>0.8.7</version>
+      </dependency>
+      <dependency>
+          <!-- used in eu.etaxonomy.cdm.io.markup and for swagger -->
+          <groupId>com.google.guava</groupId>
+          <artifactId>guava</artifactId>
+          <version>15.0</version>
+      </dependency>
+      <dependency>
+        <groupId>jaxen</groupId>
+        <artifactId>jaxen</artifactId>
+        <version>1.1.4</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jdom</groupId>
+        <artifactId>jdom</artifactId>
+        <version>1.1.3</version>
+      </dependency>
+      <dependency>
+        <groupId>com.thoughtworks.xstream</groupId>
+        <artifactId>xstream</artifactId>
+        <version>1.4.4</version>
+      </dependency>
+      <dependency>
+        <groupId>xpp3</groupId>
+        <artifactId>xpp3</artifactId>
+        <version>1.1.4c</version>
+      </dependency>
+      <dependency>
+        <groupId>stax</groupId>
+        <artifactId>stax</artifactId>
+        <version>1.2.0</version>
+      </dependency>
+      <dependency>
+        <groupId>xom</groupId>
+        <artifactId>xom</artifactId>
+        <version>1.0</version>
+        <exclusions>
+          <!-- need to exclude com.ibm.icu:icu4j since it contains an invalid 
+            file which causes the jetty-maven-plugin to fail see http://stackoverflow.com/questions/3026956/javassist-failure-in-hibernate-invalid-constant-type-60 -->
+          <exclusion>
+            <groupId>com.ibm.icu</groupId>
+            <artifactId>icu4j</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <!-- ******* SAXON (ViBRANT)******* -->
+      <dependency>
+        <groupId>net.sf.saxon</groupId>
+        <artifactId>Saxon-HE</artifactId>
+        <version>9.5.1-2</version>
+      </dependency>
+      <!-- ******* http components (ViBRANT)******* -->
+      <dependency>
+        <groupId>org.apache.httpcomponents</groupId>
+        <artifactId>httpmime</artifactId>
+        <version>${httpcomponents.version}</version>
+      </dependency>
+      <!-- ***** json ******************** -->
+      <dependency>
+        <groupId>org.json</groupId>
+        <artifactId>json</artifactId>
+        <version>20090211</version>
+      </dependency>
+      <!-- ******* HIBERNATE / EJB3 ******* -->
+      <dependency>
+        <groupId>org.hibernate.javax.persistence</groupId>
+        <artifactId>hibernate-jpa-2.0-api</artifactId>
+        <version>1.0.1.Final</version>
+      </dependency>
+      <dependency>
+        <groupId>org.hibernate</groupId>
+        <artifactId>hibernate-core</artifactId>
+        <version>${hibernate.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.hibernate</groupId>
+        <artifactId>hibernate-entitymanager</artifactId>
+        <version>${hibernate.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.hibernate</groupId>
+        <artifactId>hibernate-ehcache</artifactId>
+        <version>${hibernate.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.hibernate</groupId>
+        <artifactId>hibernate-envers</artifactId>
+        <version>${hibernate.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.hibernate</groupId>
+        <artifactId>hibernate-c3p0</artifactId>
+        <version>${hibernate.version}</version>
+        <exclusions>
+          <!-- version 0.9.1.x has a bug in NewProxyPreparedStatement therefore 
+            we use com.mchange/c3po 0.9.2 instead -->
+          <exclusion>
+            <groupId>c3p0</groupId>
+            <artifactId>c3p0</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>com.mchange</groupId>
+        <artifactId>c3p0</artifactId>
+        <version>0.9.2</version>
+      </dependency>
 
-            <dependency>
-                <groupId>oracle</groupId>
-                <artifactId>ojdbc14</artifactId>
-                <version>10.2.0.4.0</version>
-            </dependency>
-            <dependency>
-                <groupId>com.h2database</groupId>
-                <artifactId>h2</artifactId>
-<!--                 <version>1.1.115</version> -->
-                <version>1.3.170</version>
-            </dependency>
-            <!-- yourkit profiler api controller (used in ..)-->
-            <dependency>
-                <groupId>com.yourkit</groupId>
-                <artifactId>yjp-controller-api-redist</artifactId>
-                <version>9.0.8</version>
-                               <!-- <version>10.0.6</version> TODO find repo or put into our own -->
-                               <scope>test</scope>
-            </dependency>
-            <!-- For Validation -->
-            <dependency>
-                <groupId>javax.validation</groupId>
-                <artifactId>validation-api</artifactId>
-                <version>1.0.0.GA</version>
-            </dependency>
-            <dependency>
-                <groupId>org.hibernate</groupId>
-                <artifactId>hibernate-validator</artifactId>
-                <version>4.3.1.Final</version>
-            </dependency>
-            <dependency>
-              <groupId>p6spy</groupId>
-              <artifactId>p6spy</artifactId>
-              <version>1.3</version>
-          </dependency>
-       <!--  for ikey-plus  -->
-        <dependency>
-            <groupId>identificationKeyAPI</groupId>
-            <artifactId>identificationKeyAPI</artifactId>
-            <version>1.0-SNAPSHOT</version>
-        </dependency>
-        <dependency>
-            <groupId>com.itextpdf</groupId>
-            <artifactId>itextpdf</artifactId>
-            <version>5.4.0</version>
-            <scope>compile</scope>
-          </dependency>
-       <!-- Vaadin -->
-          <dependency>
-            <groupId>com.vaadin</groupId>
-            <artifactId>vaadin-server</artifactId>
-            <version>${vaadin.version}</version>
-          </dependency>
-         <dependency>
-            <groupId>com.vaadin</groupId>
-            <artifactId>vaadin-shared</artifactId>
-            <version>${vaadin.version}</version>
-          </dependency>
-          <dependency>
-            <groupId>com.vaadin</groupId>
-            <artifactId>vaadin-client-compiled</artifactId>
-            <version>${vaadin.version}</version>
-          </dependency>
-          <dependency>
-            <groupId>com.vaadin</groupId>
-            <artifactId>vaadin-client</artifactId>
-            <scope>provided</scope>
-            <version>${vaadin.version}</version>
-          </dependency>
-          <dependency>
-            <groupId>com.vaadin</groupId>
-            <artifactId>vaadin-themes</artifactId>
-            <version>${vaadin.version}</version>
-          </dependency>
-          <dependency>
-            <groupId>com.vaadin</groupId>
-            <artifactId>vaadin-client-compiler</artifactId>
-                   <version>${vaadin.version}</version>
-          </dependency>
-                 <dependency>
-                       <groupId>org.vaadin.addons</groupId>
-                       <artifactId>exporter</artifactId>
-                       <version>0.0.5.4</version>
-                 </dependency>
-                <dependency>
-                       <groupId>org.vaadin.addons</groupId>
-                       <artifactId>wizards-for-vaadin</artifactId>
-                       <version>1.0.0-beta1</version>
-                 </dependency>
-                 <dependency>
-                       <groupId>com.vaadin.addon</groupId>
-                       <artifactId>jpacontainer</artifactId>
-                       <version>3.1.1</version>
-                 </dependency>
-          <dependency>
-            <groupId>ru.xpoft.vaadin</groupId>
-            <artifactId>spring-vaadin-integration</artifactId>
-               <version>2.0.2</version>
-          </dependency>
-              <!-- AptView -->
-                   <dependency>
-                       <groupId>org.apache.maven.doxia</groupId>
-                       <artifactId>doxia-module-apt</artifactId>
-                       <version>${doxia.version}</version>
-                   </dependency>
-                   <dependency>
-                       <groupId>org.apache.maven.doxia</groupId>
-                       <artifactId>doxia-module-xhtml</artifactId>
-                       <version>${doxia.version}</version>
-                   </dependency>
-        </dependencies>
-    </dependencyManagement>
+
+      <!-- Part of hibernate-core since 3.6 -->
+      <!-- <dependency> -->
+      <!-- <groupId>org.hibernate</groupId> -->
+      <!-- <artifactId>hibernate-annotations</artifactId> -->
+      <!-- <version>3.5.6-Final</version> -->
+      <!-- </dependency> -->
+      <dependency>
+        <groupId>org.hibernate.common</groupId>
+        <artifactId>hibernate-commons-annotations</artifactId>
+        <version>4.0.1.Final</version>
+      </dependency>
+      <dependency>
+        <groupId>org.hibernate</groupId>
+        <artifactId>hibernate-search</artifactId>
+        <version>4.2.0.Final</version>
+      </dependency>
+
+      <dependency>
+        <groupId>org.hibernate</groupId>
+        <artifactId>hibernate-search-engine</artifactId>
+        <version>4.2.0.Final</version>
+      </dependency>
+      <dependency>
+        <groupId>org.javassist</groupId>
+        <artifactId>javassist</artifactId>
+        <version>3.17.1-GA</version>
+      </dependency>
+      <dependency>
+        <groupId>org.hibernate</groupId>
+        <artifactId>hibernate-cglib-repack</artifactId>
+        <version>2.1_3</version>
+      </dependency>
+
+      <dependency>
+        <!-- still needed ?? -->
+        <groupId>org.hibernate</groupId>
+        <artifactId>hibernate-parent</artifactId>
+        <!-- last version is 3.6.10.Final -->
+        <version>${hibernate.version}</version>
+      </dependency>
+
+      <!-- ******* SPRING ******* -->
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>org.springframework.core</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>org.springframework.context</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>org.springframework.beans</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>org.springframework.orm</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>org.springframework.jdbc</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>org.springframework.test</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>org.springframework.web.servlet</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>org.springframework.web</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>org.springframework.aop</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>org.springframework.aspects</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>org.springframework.expression</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <!-- <dependency> <groupId>org.springframework</groupId> <artifactId>org.springframework.context.support</artifactId> 
+        <version>${spring.version}</version> </dependency> -->
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-context-support</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>org.springframework.oxm</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.security</groupId>
+        <artifactId>spring-security-core</artifactId>
+        <version>${spring-security.version}</version>
+        <exclusions>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-aop</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-beans</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-context</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-core</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-expression</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-tx</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.security</groupId>
+        <artifactId>spring-security-config</artifactId>
+        <version>${spring-security.version}</version>
+        <exclusions>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-aop</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-beans</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-context</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-core</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-web</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.security</groupId>
+        <artifactId>spring-security-web</artifactId>
+        <version>${spring-security.version}</version>
+        <exclusions>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-aop</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-beans</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-context</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-core</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-web</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-expression</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+
+      <!-- ******* SERVLET/JSP/JSF ******* -->
+      <dependency>
+        <groupId>javax.servlet</groupId>
+        <artifactId>javax.servlet-api</artifactId>
+        <version>3.1.0</version>
+      </dependency>
+      <!-- ******* DATABASES DRIVER ******* -->
+      <dependency>
+        <!-- SQL Server and Sybase -->
+        <groupId>net.sourceforge.jtds</groupId>
+        <artifactId>jtds</artifactId>
+        <version>1.3.0</version>
+      </dependency>
+      <dependency>
+        <groupId>mysql</groupId>
+        <artifactId>mysql-connector-java</artifactId>
+        <version>5.1.24</version>
+      </dependency>
+      <dependency>
+        <groupId>postgresql</groupId>
+        <artifactId>postgresql</artifactId>
+        <!--version>8.2-504.jdbc4</version -->
+        <version>9.1-901.jdbc4</version>
+      </dependency>
+      <dependency>
+        <groupId>hsqldb</groupId>
+        <artifactId>hsqldb</artifactId>
+        <version>${hsqldb.version}</version>
+      </dependency>
+      <!--for sqlserver2008 and sqlserver2005 -->
+      <dependency>
+        <groupId>com.microsoft.sqlserver</groupId>
+        <artifactId>jdbc4</artifactId>
+        <version>2.0</version>
+      </dependency>
+
+      <dependency>
+        <groupId>oracle</groupId>
+        <artifactId>ojdbc14</artifactId>
+        <version>10.2.0.4.0</version>
+      </dependency>
+      <dependency>
+        <groupId>com.h2database</groupId>
+        <artifactId>h2</artifactId>
+        <!-- <version>1.1.115</version> -->
+        <version>1.3.170</version>
+      </dependency>
+      <!-- yourkit profiler api controller (used in ..) -->
+      <dependency>
+        <groupId>com.yourkit</groupId>
+        <artifactId>yjp-controller-api-redist</artifactId>
+        <version>9.0.8</version>
+        <!-- <version>10.0.6</version> TODO find repo or put into our own -->
+        <scope>test</scope>
+      </dependency>
+      <!-- For Validation -->
+      <dependency>
+        <groupId>javax.validation</groupId>
+        <artifactId>validation-api</artifactId>
+        <version>1.0.0.GA</version>
+      </dependency>
+      <dependency>
+        <groupId>org.hibernate</groupId>
+        <artifactId>hibernate-validator</artifactId>
+        <version>4.3.1.Final</version>
+      </dependency>
+      <dependency>
+        <groupId>p6spy</groupId>
+        <artifactId>p6spy</artifactId>
+        <version>1.3</version>
+      </dependency>
+      <!-- for ikey-plus -->
+      <dependency>
+        <groupId>identificationKeyAPI</groupId>
+        <artifactId>identificationKeyAPI</artifactId>
+        <version>1.0-SNAPSHOT</version>
+      </dependency>
+      <dependency>
+        <groupId>com.itextpdf</groupId>
+        <artifactId>itextpdf</artifactId>
+        <version>5.4.0</version>
+        <scope>compile</scope>
+      </dependency>
+      <!-- AptView -->
+      <dependency>
+        <groupId>org.apache.maven.doxia</groupId>
+        <artifactId>doxia-module-apt</artifactId>
+        <version>${doxia.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.maven.doxia</groupId>
+        <artifactId>doxia-module-xhtml</artifactId>
+        <version>${doxia.version}</version>
+      </dependency>
+      <!-- swagger (rest service doc) -->
+      <dependency>
+        <groupId>com.wordnik</groupId>
+        <artifactId>swagger-annotations</artifactId>
+        <!-- should match the swagger-spring depends on -->
+        <version>1.3.5</version>
+      </dependency>
+      <dependency>
+        <groupId>com.mangofactory</groupId>
+        <artifactId>swagger-springmvc</artifactId>
+        <version>0.8.5</version>
+                <exclusions>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-test</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-web</artifactId>
+          </exclusion>
+<!--           <exclusion>  -currently not referenced by any other project
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-webmvc</artifactId>
+          </exclusion> -->
+        </exclusions>
+      </dependency>
+      <!-- dependencies for swagger-springmvc, added explicitely -->
+      <dependency>
+        <groupId>com.fasterxml.jackson.core</groupId>
+        <artifactId>jackson-databind</artifactId>
+        <version>${jackson.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>com.fasterxml.jackson.core</groupId>
+        <artifactId>jackson-core</artifactId>
+        <version>${jackson.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>com.fasterxml.jackson.core</groupId>
+        <artifactId>jackson-annotations</artifactId>
+        <version>${jackson.version}</version>
+      </dependency>
+      <!-- END of dependencies for swagger-springmvc, added explicitely -->
+    </dependencies>
+  </dependencyManagement>
 </project>