add factory method for derivation event with type parameter
[cdmlib.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index b60ede9f21bcfdf5616b127ab30c9dfaa98660a4..b93890f2452242425431219056b93bfb1cbbfd99 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
     </modules>
     <properties>
                <java.codelevel>1.6</java.codelevel>
-        <spring.version>3.2.1.RELEASE</spring.version>
-        <spring-security.version>3.0.7.RELEASE</spring-security.version>
-               <hibernate.version>4.1.9.Final</hibernate.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>
-        <!-- OLD: <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><!-- 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 uses slf4j ******* -->
             <dependency>
                     <exclusion>
                         <groupId>org.springframework</groupId>
                         <artifactId>spring-test</artifactId>
+                    </exclusion>                    
+                    <exclusion>
+                        <groupId>org.springframework</groupId>
+                        <artifactId>spring-tx</artifactId>
                     </exclusion>
                 </exclusions>
                </dependency>
       <dependency>
         <groupId>log4j</groupId>
         <artifactId>log4j</artifactId>
-        <version>1.2.15</version>
+        <version>1.2.17</version>
       </dependency>
             <dependency>
                 <groupId>javax.annotation</groupId>
                        <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-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>
                                <version>2.0.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> -->
-            
-            
             <dependency>
                 <groupId>org.apache.lucene</groupId>
                 <artifactId>lucene-core</artifactId>
             <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>
                     </exclusion>
                 </exclusions>
             </dependency>
-            <dependency>
-                <groupId>javassist</groupId>
-                <artifactId>javassist</artifactId>
-                <version>3.12.1.GA</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>
                 <artifactId>spring-context-support</artifactId>
                 <version>${spring.version}</version>
             </dependency> 
-            
-            
             <dependency>
                 <groupId>org.springframework</groupId>
                 <artifactId>org.springframework.oxm</artifactId>
                 <exclusions>
                   <exclusion>
                     <groupId>org.springframework</groupId>
-                    <artifactId>spring-expression</artifactId>
+                       <artifactId>spring-aop</artifactId>
                   </exclusion>
                   <exclusion>
-                    <groupId>org.springframework</groupId>
+                       <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-expression</artifactId>
+                  </exclusion>
+                  <exclusion>
+                       <groupId>org.springframework</groupId>
+                    <artifactId>spring-tx</artifactId>
+                  </exclusion>
                 </exclusions>
             </dependency>
-            <dependency>
-                <groupId>org.springframework.security</groupId>
-                <artifactId>spring-security-context</artifactId>  <!-- could not find this on http://mvnrepository.com/ -->
-                <version>${spring-security.version}</version>
-            </dependency>
-            <dependency>  <!-- needed for the FSDirectoryFactoryBean -->
-                <groupId>org.springmodules</groupId>
-                <artifactId>spring-modules-lucene</artifactId>
-                <version>0.8</version>
-                <exclusions>
-                    <exclusion>
-                        <groupId>org.apache.lucene</groupId>
-                        <artifactId>lucene-core</artifactId>
-                    </exclusion>
-                    <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>
+                   <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>            
             
             <!-- ******* SERVLET/JSP/JSF ******* -->
             <dependency>
                 <version>1.3.0</version>
             </dependency>
             <dependency>
-                <groupId>mysql</groupId>
-                <artifactId>mysql-connector-java</artifactId>
-                <version>5.1.23</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.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>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>