-<?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"
- -->
+<?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>2.0</version>
+ <groupId>eu.etaxonomy</groupId>
+ <version>3.0</version>
+ <relativePath>pom.xml</relativePath>
</parent>
-
<modelVersion>4.0.0</modelVersion>
<artifactId>cdmlib-model</artifactId>
<name>CDM Domain Model</name>
<developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-model/</developerConnection>
<url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-model/</url>
</scm>
-
<build>
<plugins>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>aspectj-maven-plugin</artifactId>
+ <artifactId>maven-antrun-plugin</artifactId>
<executions>
+
<execution>
+ <id>aspectj-main</id>
+ <phase>process-sources</phase>
<goals>
- <goal>compile</goal>
- <goal>test-compile</goal>
+ <goal>run</goal>
</goals>
+ <configuration>
+ <tasks>
+ <property name="spring.aspects.jar" value="${settings.localRepository}/org/springframework/org.springframework.aspects/${spring.version}/org.springframework.aspects-${spring.version}.jar"/>
+ <path id="aspectPath">
+ <pathelement location="${spring.aspects.jar}"/>
+ </path>
+ <taskdef classname="org.aspectj.tools.ant.taskdefs.AjcTask" name="iajc">
+ <classpath refid="maven.plugin.classpath" />
+ </taskdef>
+ <iajc verbose="false" source="1.5" destDir="target/classes"
+ aspectPathRef="aspectPath">
+ <classpath refid="maven.plugin.classpath" />
+ <classpath refid="maven.compile.classpath" />
+ <sourceroots>
+ <pathelement location="src/main/java" />
+ </sourceroots>
+ </iajc>
+ </tasks>
+ </configuration>
</execution>
- </executions>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <includes>
- <include>**/cdm/**/*.java</include>
- <include>**/*.aj</include>
- </includes>
- </configuration>
- </plugin>
-
- <!-- JAXB Schema compiler task (xjc) not used at this point -->
- <!--
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
<execution>
- <phase>generate-sources</phase>
+ <id>aspectj-test</id>
+ <phase>process-test-sources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
- <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
- <classpath refid="maven.compile.classpath"/>
+ <taskdef classname="org.aspectj.tools.ant.taskdefs.AjcTask" name="iajc">
+ <classpath refid="maven.plugin.classpath" />
</taskdef>
- <mkdir dir="target/generated-sources/java"/>
- <xjc schema="src/main/resources/schema/cdm/cdm.xsd"
- extension="true"
- destdir="target/generated-sources/java">
- <depends dir="src/main/resources/schema" includes="cdm/cdm.xsd"/>
- <produces dir="target/generated-sources/java/eu/etaxonomy/cdm" includes="**/*.java"/>
- </xjc>
+ <iajc verbose="false" source="1.5" destDir="target/test-classes">
+ <classpath refid="maven.plugin.classpath" />
+ <classpath refid="maven.compile.classpath" />
+ <classpath refid="maven.test.classpath" />
+ <sourceroots>
+ <pathelement location="src/test/java" />
+ </sourceroots>
+ </iajc>
</tasks>
- </configuration>
- </execution>
- </executions>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>aspectjtools</artifactId>
+ <version>1.6.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>aspectjrt</artifactId>
+ <version>1.6.3</version>
+ </dependency>
+ </dependencies>
</plugin>
- -->
-
</plugins>
</build>
-
<dependencies>
-
- <dependency>
+ <dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-commons</artifactId>
</dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
- <dependency>
+ <dependency>
<groupId>xml-resolver</groupId>
<artifactId>xml-resolver</artifactId>
</dependency>
<artifactId>jaxb-xjc</artifactId>
</dependency>
<dependency>
- <groupId>aspectj</groupId>
+ <groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</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.unitils</groupId>
<artifactId>unitils</artifactId>
- <version>1.0</version>
- <!--<scope>test</scope>-->
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
- <artifactId>spring-jdbc</artifactId>
+ <artifactId>org.springframework.jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
+ <artifactId>org.springframework.test</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>org.springframework.aspects</artifactId>
</dependency>
<dependency>
<groupId>net.sf.opencsv</groupId>
<artifactId>opencsv</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.poi</groupId>
+ <artifactId>poi</artifactId>
</dependency>
<dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- </dependency>
- <dependency>\r
- <groupId>joda-time</groupId>\r
- <artifactId>joda-time</artifactId> \r
- </dependency>\r
- <dependency>\r
- <groupId>joda-time</groupId>\r
- <artifactId>joda-time-hibernate</artifactId>\r
- <exclusions>\r
- <exclusion>\r
- <artifactId>ehcache</artifactId>\r
- <groupId>ehcache</groupId>\r
- </exclusion>\r
- <exclusion>\r
- <groupId>cglib</groupId>\r
- <artifactId>cglib-full</artifactId>\r
- </exclusion>\r
- </exclusions>\r
- </dependency>
-
- <!-- joda-time perhaps needed in future for JAXB binding -->
- <!--
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ </dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<groupId>ehcache</groupId>
</exclusion>
<exclusion>
- <groupId>cglib</groupId>
<artifactId>cglib-full</artifactId>
+ <groupId>cglib</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>hibernate</artifactId>
+ <groupId>org.hibernate</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>hibernate</artifactId>
+ <groupId>hibernate</groupId>
</exclusion>
</exclusions>
</dependency>
- -->
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.ibm.lsid</groupId>
+ <artifactId>lsid-client</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>wsdl4j</groupId>
+ <artifactId>wsdl4j</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>jdom</groupId>
+ <artifactId>jdom</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jdom</groupId>
+ <artifactId>jdom</artifactId>
+ </dependency>
</dependencies>
-
-</project>
-
+</project>
\ No newline at end of file