restoring r16675 (reintegrating ^/branches/cdmlib/campanula with pom.xml modification...
[cdmlib.git] / cdmlib-persistence / pom.xml
index 28a4ae87d479b65c8e3eaa74d14180ff2b0ecdad..f3b005823c4c3112a36ec8c456963b34448ffddf 100644 (file)
-<?xml version="1.0" encoding="UTF-8"?>\r
-<project xmlns="http://maven.apache.org/POM/4.0.0" \r
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
-  <!-- \r
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"\r
-   -->\r
-       <parent>
-               <groupId>eu.etaxonomy</groupId>
-               <artifactId>cdmlib-parent</artifactId>
-               <version>1.1.0-SNAPSHOT</version>
-       </parent>
-       \r
-  <modelVersion>4.0.0</modelVersion>\r
-  <artifactId>cdmlib-persistence</artifactId>\r
-  <name>EDIT CDM Library Persistence</name>\r
-  <description>EDIT CDM library persistence layer. Mainly DAOs</description>\r
-  <scm>\r
-    <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-persistence/</connection>\r
-    <developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-persistence/</developerConnection>\r
-    <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-persistence/</url>\r
-  </scm>\r
-\r
-  <dependencies>\r
-        <dependency>\r
-               <groupId>eu.etaxonomy</groupId>\r
-               <artifactId>cdmlib-model</artifactId>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>javax.persistence</groupId>\r
-               <artifactId>ejb</artifactId>\r
-       </dependency>\r
-       <dependency>
-               <groupId>javax.annotation</groupId>
-               <artifactId>jsr250-api</artifactId>
-       </dependency>
-       <dependency>\r
-               <groupId>org.hibernate</groupId>\r
-               <artifactId>hibernate-commons-annotations</artifactId>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>org.hibernate</groupId>\r
-               <artifactId>hibernate</artifactId>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>org.springframework</groupId>\r
-               <artifactId>spring</artifactId>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>org.springframework</groupId>\r
-               <artifactId>spring-beans</artifactId>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>org.springframework</groupId>\r
-               <artifactId>spring-orm</artifactId>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>org.springframework</groupId>\r
-               <artifactId>spring-jdbc</artifactId>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>org.springframework</groupId>\r
-               <artifactId>spring-test</artifactId>\r
-       </dependency>\r
-       \r
-       \r
-       <!-- ******* DATABASES DRIVER ******* -->\r
-       <dependency>\r
-               <groupId>mysql</groupId>\r
-               <artifactId>mysql-connector-java</artifactId>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>postgresql</groupId>\r
-               <artifactId>postgresql</artifactId>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>hsqldb</groupId>\r
-               <artifactId>hsqldb</artifactId>\r
-       </dependency>\r
-       <!-- SQL Server and Sybase -->
-       <dependency>
-               <groupId>net.sourceforge.jtds</groupId>
-               <artifactId>jtds</artifactId>
-       </dependency>
-       <dependency>\r
-               <groupId>com.microsoft.jdbcdriver</groupId>\r
-               <artifactId>mssqlserver</artifactId>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>com.microsoft.jdbcdriver</groupId>\r
-               <artifactId>msutil</artifactId>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>com.microsoft.jdbcdriver</groupId>\r
-               <artifactId>msbase</artifactId>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>com.microsoft.sqlserver</groupId>\r
-               <artifactId>jdbc</artifactId>\r
-       </dependency>\r
-       \r
-  </dependencies>\r
-</project>\r
+<?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">
+  <parent>
+    <groupId>eu.etaxonomy</groupId>
+    <artifactId>cdmlib-parent</artifactId>
+               <version>3.1.3-SNAPSHOT</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>cdmlib-persistence</artifactId>
+  <name>CDM Persistence</name>
+  <description>EDIT CDM library persistence layer. Mainly DAOs</description>
+  <scm>
+    <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-persistence/</connection>
+    <developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-persistence/</developerConnection>
+    <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-persistence/</url>
+  </scm>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>hibernate3-maven-plugin</artifactId>
+        <version>2.1</version>
+        <configuration>
+          <components>
+            <component>
+              <name>hbm2ddl</name>
+              <implementation>annotationconfiguration</implementation>
+            </component>
+          </components>
+          <componentProperties>
+            <namingstrategy>org.hibernate.cfg.DefaultComponentSafeNamingStrategy</namingstrategy>
+            <propertyfile>/src/test/resources/dbscripts/hibernate.properties</propertyfile>
+            <outputfilename>001_cdm.ddl</outputfilename>
+            <configurationfile>/src/main/resources/eu/etaxonomy/cdm/hibernate.cfg.xml</configurationfile>
+          </componentProperties>
+        </configuration>
+        <dependencies>
+          <dependency>
+            <groupId>hsqldb</groupId>
+            <artifactId>hsqldb</artifactId>
+            <version>${hsqldb.version}</version>
+          </dependency>
+          <dependency>
+            <groupId>org.hibernate</groupId>
+            <artifactId>hibernate-annotations</artifactId>
+            <version>3.4.0-SNAPSHOT</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <configuration>
+          <tasks>
+            <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.EnversHibernateToolTask">
+              <classpath refid="maven.plugin.classpath" />
+            </taskdef>
+            <mkdir dir="target/generated-sources/hibernate3" />
+            <hibernatetool destdir=".">
+              <classpath>
+                <path refid="maven.plugin.classpath" />
+                <path refid="maven.compile.classpath" />
+                <path refid="maven.test.classpath" />
+              </classpath>
+              <jpaconfiguration persistenceunit="cdm" />
+              <hbm2ddl drop="false" create="true" export="false" outputfilename="target/generated-sources/hibernate3/001_cdm.ddl" delimiter=";" format="true" />
+              </hibernatetool>
+          </tasks>
+        </configuration>
+        <dependencies>
+          <dependency>
+            <groupId>hsqldb</groupId>
+            <artifactId>hsqldb</artifactId>
+            <version>${hsqldb.version}</version>
+          </dependency>
+          <dependency>
+          <groupId>mysql</groupId>
+          <artifactId>mysql-connector-java</artifactId>
+            <version>5.0.5</version>
+          </dependency>
+          <dependency>
+            <groupId>org.hibernate</groupId>
+            <artifactId>hibernate-envers</artifactId>
+            <version>3.4.0-SNAPSHOT</version>
+          </dependency>
+          <dependency>
+            <groupId>org.hibernate</groupId>
+            <artifactId>hibernate-entitymanager</artifactId>
+            <version>3.4.0-SNAPSHOT</version>
+          </dependency>
+          <dependency>
+            <groupId>org.hibernate</groupId>
+            <artifactId>hibernate-tools</artifactId>
+            <version>3.2.3.GA</version>
+          </dependency>
+          <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-log4j12</artifactId>
+            <version>1.5.2</version>
+          </dependency>
+          <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+              <version>1.1.1</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.3.2</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+  <dependencies>
+     <dependency>
+      <groupId>eu.etaxonomy</groupId>
+      <artifactId>cdmlib-model</artifactId>
+    </dependency>
+  <dependency>
+      <groupId>eu.etaxonomy</groupId>
+      <artifactId>cdmlib-commons</artifactId>
+    </dependency>
+    <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-log4j12</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>javax.persistence</groupId>
+      <artifactId>persistence-api</artifactId>
+    </dependency>
+    <dependency>
+        <groupId>javassist</groupId>
+        <artifactId>javassist</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>jsr250-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.aspectj</groupId>
+      <artifactId>aspectjweaver</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.hibernate</groupId>
+      <artifactId>hibernate-commons-annotations</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.hibernate</groupId>
+      <artifactId>hibernate-annotations</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.hibernate</groupId>
+      <artifactId>hibernate-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.hibernate</groupId>
+      <artifactId>hibernate-envers</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.hibernate</groupId>
+      <artifactId>hibernate-search</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.hibernate</groupId>
+      <artifactId>hibernate-c3p0</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-spellchecker</artifactId>
+    </dependency>
+    <dependency>
+        <groupId>commons-beanutils</groupId>
+        <artifactId>commons-beanutils</artifactId>
+        <version>1.7.0</version>
+     </dependency>
+     <dependency>
+          <groupId>commons-lang</groupId>
+          <artifactId>commons-lang</artifactId>
+     </dependency>
+     <dependency>
+      <groupId>commons-dbcp</groupId>
+      <artifactId>commons-dbcp</artifactId>
+      <version>1.2.2</version>
+    </dependency>
+    <dependency>
+     <groupId>org.springmodules</groupId>
+     <artifactId>spring-modules-lucene</artifactId>
+    </dependency>
+    <dependency>
+        <groupId>org.unitils</groupId>
+        <artifactId>unitils-core</artifactId>
+        <!-- <scope>test</scope> unscoped since we need this dependency at compile time for H2DbSupport.java -->
+    </dependency>
+    <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-database</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-dbmaintainer</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-dbunit</artifactId>
+      <scope>test</scope>
+    </dependency>
+     <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-easymock</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-mock</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-inject</artifactId>
+      <scope>test</scope>
+    </dependency>
+     <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-orm</artifactId>
+      <scope>test</scope>
+    </dependency>
+     <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-spring</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.dbunit</groupId>
+      <artifactId>dbunit</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>com.carrotsearch</groupId>
+      <artifactId>junit-benchmarks</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>org.springframework.beans</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>org.springframework.orm</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>org.springframework.jdbc</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>org.springframework.test</artifactId>
+    </dependency>
+    <dependency>
+    <groupId>org.springframework</groupId>
+    <artifactId>org.springframework.aop</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>org.springframework.aspects</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework.security</groupId>
+      <artifactId>spring-security-core</artifactId>
+    </dependency>
+    <!-- ******* DATABASES DRIVER ******* -->
+    <dependency>
+      <groupId>mysql</groupId>
+      <artifactId>mysql-connector-java</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>postgresql</groupId>
+      <artifactId>postgresql</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>hsqldb</groupId>
+      <artifactId>hsqldb</artifactId>
+    </dependency>
+    <!-- SQL Server and Sybase -->
+    <dependency>
+      <groupId>net.sourceforge.jtds</groupId>
+      <artifactId>jtds</artifactId>
+    </dependency>
+    <!--<dependency>
+      <groupId>com.microsoft.sqlserver</groupId>
+      <artifactId>jdbc4</artifactId>
+    </dependency>-->
+  <dependency>
+      <groupId>com.microsoft.sqlserver</groupId>
+      <artifactId>jdbc4</artifactId>
+    </dependency>
+<!-- use SQL Server 2005 driver instead (com.microsoft.sqlserver/jdbc)
+    <dependency>
+      <groupId>com.microsoft.jdbcdriver</groupId>
+      <artifactId>mssqlserver</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>com.microsoft.jdbcdriver</groupId>
+      <artifactId>msutil</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>com.microsoft.jdbcdriver</groupId>
+      <artifactId>msbase</artifactId>
+    </dependency>
+-->
+    <dependency>
+    <groupId>com.h2database</groupId>
+    <artifactId>h2</artifactId>
+    </dependency>
+
+    <!--  SQL Debugging  -->
+    <dependency>
+        <groupId>p6spy</groupId>
+        <artifactId>p6spy</artifactId>
+    </dependency>
+  </dependencies>
+
+</project>