Revert ""
[cdmlib.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 5eed6fab6a89e4918fe11c7f6c4ac4f7b7a6a651..c874e2854a2a4a478b502eec783c27b595ce090f 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>eu.etaxonomy</groupId>
     <artifactId>cdmlib-parent</artifactId>
-       <version>3.1.4-SNAPSHOT</version>
+       <version>3.3.0-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://wp5.e-taxonomy.eu/cdmlib/</url>
     </modules>
     <properties>
                <java.codelevel>1.6</java.codelevel>
-        <spring.version>3.0.4.RELEASE</spring.version>
-               <hibernate.version>3.4.0-SNAPSHOT</hibernate.version>
+        <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>2.9.4</lucene.version><!-- lucene.version in hibernate-search 3.4.0-SNAPSHOT is 2.4.0-->
+        <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>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <argLine>-Xmx600M</argLine>
+                    <argLine>-Xmx512M -XX:MaxPermSize=128M</argLine>
                     <runOrder>alphabetical</runOrder>
                                        <includes>
                         <include>**/*Test.java</include>
             <dependency>
                 <groupId>javax.xml.bind</groupId>
                 <artifactId>jaxb-api</artifactId>
-                <version>2.1.6</version>
+                <version>2.2.7</version>
             </dependency>
             <dependency>
                 <groupId>xml-resolver</groupId>
             <dependency>
                 <groupId>com.sun.xml.bind</groupId>
                 <artifactId>jaxb-impl</artifactId>
-                <version>2.1.6</version>
+                <version>2.2-EA</version>
             </dependency>
             <dependency>
                 <groupId>com.sun.xml.bind</groupId>
                 <artifactId>jaxb1-impl</artifactId>
-                <version>2.1.6</version>
+                <version>2.2-EA</version>
             </dependency>
             <dependency>
                 <groupId>com.sun.xml.bind</groupId>
                 <artifactId>jaxb-xjc</artifactId>
-                <version>2.1.6</version>
+                <version>2.2-EA</version>
             </dependency>
-            <!-- ******* hibernate 3.4 uses slf4j ******* -->
+            <!-- ******* hibernate uses slf4j ******* -->
             <dependency>
                 <groupId>org.slf4j</groupId>
                 <artifactId>slf4j-api</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>
-                </exclusions>
-            </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>
                     <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>
-        <!-- ******* aspect ******* -->
-        <dependency>
-            <groupId>org.aspectj</groupId>
-            <artifactId>aspectjrt</artifactId>
-            <version>1.6.3</version>
-        </dependency>
-        <dependency>
-            <groupId>org.aspectj</groupId>
-            <artifactId>aspectjweaver</artifactId>
-            <version>1.6.3</version>
-        </dependency>
+               </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>
       <!-- ******* VARIOUS ******* -->
-      <dependency>
-        <groupId>log4j</groupId>
-        <artifactId>log4j</artifactId>
-        <version>1.2.15</version>
-      </dependency>
+                 <dependency>
+                       <groupId>log4j</groupId>
+                       <artifactId>log4j</artifactId>
+                       <version>1.2.17</version>
+                 </dependency>
             <dependency>
                 <groupId>javax.annotation</groupId>
                 <artifactId>jsr250-api</artifactId>
                        <dependency>
                                <groupId>org.apache.httpcomponents</groupId>
                                <artifactId>httpcore</artifactId>
-                               <version>${httpcomponents.version}</version>
+                       <!--    <version>${httpcomponents.version}</version> -->
+                               <version>4.2.4</version>
                        </dependency>
             <dependency>
                 <groupId>commons-io</groupId>
                 <artifactId>commons-io</artifactId>
                 <version>2.4</version>
             </dependency>
-            <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>
                 <artifactId>commons-beanutils</artifactId>
                 <version>1.8.3</version>
             </dependency>
-<!--                   <dependency> -->
-<!--                           <groupId>net.sf.sojo</groupId> -->
-<!--                           <artifactId>sojo</artifactId> -->
-<!--                           <version>1.0.5</version> -->
-<!--                   </dependency> -->
             <dependency>
                 <groupId>net.sf.json-lib</groupId>
                 <artifactId>json-lib</artifactId>
             <dependency>
                 <groupId>joda-time</groupId>
                 <artifactId>joda-time</artifactId>
-                <version>1.5</version>
+                <version>2.1</version>
             </dependency>
             <dependency>
-                <groupId>joda-time</groupId>
-                <artifactId>joda-time-hibernate</artifactId>
-                <version>1.0</version>
-                <exclusions>
-                    <exclusion>
-                        <artifactId>ehcache</artifactId>
-                        <groupId>ehcache</groupId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>cglib</groupId>
-                        <artifactId>cglib-full</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>org.hibernate</groupId>
-                        <artifactId>hibernate</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>hibernate</groupId>
-                        <artifactId>hibernate</artifactId>
-                    </exclusion>
-                </exclusions>
-            </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.springmodules</groupId>
-                <artifactId>spring-modules-lucene</artifactId>
-                <version>0.8</version>
-                <exclusions>
-                    <exclusion>
-                        <groupId>org.apache</groupId>
-                        <artifactId>poi</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>org.apache</groupId>
-                        <artifactId>poi-scratchpad</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>org.springframework</groupId>
-                        <artifactId>spring-dao</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>org.springframework</groupId>
-                        <artifactId>spring-jca</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>org.springframework</groupId>
-                        <artifactId>spring-support</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>org.springframework</groupId>
-                        <artifactId>spring-beans</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>org.springframework</groupId>
-                        <artifactId>spring-aop</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-jdbc</artifactId>
-                    </exclusion>
-                </exclusions>
+                      <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>com.ibm.lsid</groupId>
                 <artifactId>lsid-client</artifactId>
                 <artifactId>dozer</artifactId>
                 <version>5.3.0</version>
             </dependency>
+
             <!-- ******* XML ******* -->
             <dependency>
                 <groupId>xml-apis</groupId>
             <dependency>
                 <groupId>xerces</groupId>
                 <artifactId>xercesImpl</artifactId>
-                <version>2.7.1</version>
-            </dependency>
+                <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>
                 <artifactId>stax</artifactId>
                 <version>1.2.0</version>
             </dependency>
-            <!-- ******* HIBERNATE / EJB3 ******* -->
             <dependency>
-                <groupId>javax.persistence</groupId>
-                <artifactId>persistence-api</artifactId>
+                <groupId>xom</groupId>
+                <artifactId>xom</artifactId>
                 <version>1.0</version>
             </dependency>
-                       <dependency>
-                <groupId>org.hibernate</groupId>
-                <artifactId>hibernate-annotations</artifactId>
-                               <version>${hibernate.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.hibernate</groupId>
-                <artifactId>hibernate-commons-annotations</artifactId>
-                               <version>${hibernate.version}</version>
+       <!-- ******* 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>
+<dependency>
+       <groupId>org.apache.httpcomponents</groupId>
+       <artifactId>httpmime</artifactId>
+       <version>4.2.3</version>
+</dependency>
+<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>
             </dependency>
             <dependency>
                 <groupId>org.hibernate</groupId>
-                <artifactId>hibernate-search</artifactId>
-                <version>3.1.0.GA</version>
-                <exclusions>
-                    <exclusion>
-                        <groupId>org.apache.lucene</groupId>
-                        <artifactId>lucene-core</artifactId>
-                    </exclusion>
-                </exclusions>
+                <artifactId>hibernate-entitymanager</artifactId>
+                               <version>${hibernate.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.hibernate</groupId>
-                <artifactId>hibernate-entitymanager</artifactId>
+                <artifactId>hibernate-ehcache</artifactId>
                                <version>${hibernate.version}</version>
             </dependency>
             <dependency>
                 <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>javassist</groupId>
-                <artifactId>javassist</artifactId>
-                <version>3.12.1.GA</version>
+                <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-cglib-repack</artifactId>
-                <version>2.1_3</version>
+                <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-ehcache</artifactId>
-                               <version>${hibernate.version}</version>
+                <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>
-            <dependency>
-                <groupId>org.hibernate</groupId>
-                <artifactId>hibernate-c3p0</artifactId>
-                <version>${hibernate.version}</version>
-            </dependency>
+
             <!-- ******* SPRING ******* -->
             <dependency>
                 <groupId>org.springframework</groupId>
                 <artifactId>org.springframework.expression</artifactId>
                 <version>${spring.version}</version>
             </dependency>
-            <dependency>
+<!--             <dependency>
                 <groupId>org.springframework</groupId>
                 <artifactId>org.springframework.context.support</artifactId>
                 <version>${spring.version}</version>
-            </dependency>
+            </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>
             <dependency>
                 <groupId>org.springframework.security</groupId>
                 <artifactId>spring-security-core</artifactId>
-                <version>3.0.5.RELEASE</version>
+                <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-orm</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>org.springframework</groupId>
-                        <artifactId>spring-aop</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>org.springframework</groupId>
-                        <artifactId>spring-support</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-context</artifactId>
-                <version>3.0.5.RELEASE</version>
-            </dependency>
+            </dependency>            
+            
             <!-- ******* SERVLET/JSP/JSF ******* -->
             <dependency>
                 <groupId>javax.servlet</groupId>
                 <version>1.3.0</version>
             </dependency>
             <dependency>
-                <groupId>mysql</groupId>
-                <artifactId>mysql-connector-java</artifactId>
-                <version>5.0.5</version>
+                               <groupId>mysql</groupId>
+                               <artifactId>mysql-connector-java</artifactId>
+                               <version>5.1.24</version>
             </dependency>
             <dependency>
                 <groupId>postgresql</groupId>
                 <artifactId>jdbc4</artifactId>
                 <version>2.0</version>
             </dependency>
-            <!-- use SQL Server 2005 driver instead (com.microsoft.sqlserver/jdbc)
-        <dependency>
-            <groupId>com.microsoft.jdbcdriver</groupId>
-            <artifactId>mssqlserver</artifactId>
-            <version>2000.3</version>
-        </dependency>
-        <dependency>
-            <groupId>com.microsoft.jdbcdriver</groupId>
-            <artifactId>msutil</artifactId>
-            <version>2000.3</version>
-        </dependency>
-        <dependency>
-            <groupId>com.microsoft.jdbcdriver</groupId>
-            <artifactId>msbase</artifactId>
-            <version>2000.3</version>
-        </dependency>
--->
+
             <dependency>
                 <groupId>oracle</groupId>
                 <artifactId>ojdbc14</artifactId>
-                <version>10.2.0.2</version>
+                <version>10.2.0.4.0</version>
             </dependency>
-            <!--dependency>
-                <groupId>oracle</groupId>
-                <artifactId>ojdbc14</artifactId>
-                <version>9i</version>
-            </dependency>
-            <dependency>
-                <groupId>oracle</groupId>
-                <artifactId>ojdbc14</artifactId>
-                <version>9.2.0.5</version>
-            </dependency-->
             <dependency>
                 <groupId>com.h2database</groupId>
                 <artifactId>h2</artifactId>
-                <version>1.1.115</version>
+<!--                 <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>8.0.1</version>
+                <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.CR5</version>
+                <version>1.0.0.GA</version>
             </dependency>
             <dependency>
                 <groupId>org.hibernate</groupId>
                 <artifactId>hibernate-validator</artifactId>
-                <version>4.0.0.CR1</version>
+                <version>4.3.1.Final</version>
             </dependency>
             <dependency>
               <groupId>p6spy</groupId>
             <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>
         </dependencies>
     </dependencyManagement>
 </project>