<parent>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-parent</artifactId>
- <version>1.0.1</version>
+ <version>2.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>cdmlib-model</artifactId>
- <name>EDIT Common Data Model Library - Domain Model</name>
+ <name>CDM Domain Model</name>
<description>The domain model java implementation of EDIT's Common Data Model</description>
<scm>
<connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-model/</connection>
<build>
<plugins>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>aspectj-maven-plugin</artifactId>
+ <artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
+ <id>aspectj-main</id>
<goals>
- <goal>compile</goal>
- <goal>test-compile</goal>
+ <goal>run</goal>
</goals>
+ <phase>process-sources</phase>
+ <configuration>
+ <tasks>
+ <taskdef name="iajc" classname="org.aspectj.tools.ant.taskdefs.AjcTask">
+ <classpath refid="maven.plugin.classpath"/>
+ </taskdef>
+ <iajc destDir="target/classes" verbose="false" source="1.5">
+ <classpath refid="maven.plugin.classpath"/>
+ <classpath refid="maven.compile.classpath"/>
+ <sourceroots>
+ <pathelement location="src/main/java"/>
+ </sourceroots>
+ </iajc>
+ </tasks>
+ </configuration>
+ </execution>
+ <execution>
+ <id>aspectj-test</id>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <phase>process-test-sources</phase>
+ <configuration>
+ <tasks>
+ <taskdef name="iajc" classname="org.aspectj.tools.ant.taskdefs.AjcTask">
+ <classpath refid="maven.plugin.classpath"/>
+ </taskdef>
+ <iajc destDir="target/test-classes" verbose="false" source="1.5">
+ <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>
+ <dependencies>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>aspectjtools</artifactId>
+ <version>1.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>aspectjrt</artifactId>
+ <version>1.5.4</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+
+ <!-- JAXB Schema compiler task (xjc) not used at this point -->
+ <!--
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
+ <classpath refid="maven.compile.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>
+ </tasks>
+ </configuration>
</execution>
</executions>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <includes>
- <include>**/cdm/**/*.java</include>
- <include>**/*.aj</include>
- </includes>
- </configuration>
</plugin>
+ -->
+
</plugins>
</build>
<dependencies>
- <dependency>
+ <dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-commons</artifactId>
</dependency>
<dependency>
- <groupId>aspectj</groupId>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>xml-resolver</groupId>
+ <artifactId>xml-resolver</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.activation</groupId>
+ <artifactId>activation</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jsr173_api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb1-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-xjc</artifactId>
+ </dependency>
+ <dependency>
+ <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>
+ </dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<groupId>net.sf.opencsv</groupId>
<artifactId>opencsv</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>
+ <exclusion>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>hibernate</groupId>
+ <artifactId>hibernate</artifactId>
+ </exclusion>\r
+ </exclusions>\r
+ </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>
+ <!-- joda-time perhaps needed in future for JAXB binding -->
+ <!--
+ <dependency>
+ <groupId>joda-time</groupId>
+ <artifactId>joda-time</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>joda-time</groupId>
+ <artifactId>joda-time-hibernate</artifactId>
+ <exclusions>
+ <exclusion>
+ <artifactId>ehcache</artifactId>
+ <groupId>ehcache</groupId>
+ </exclusion>
+ <exclusion>
+ <groupId>cglib</groupId>
+ <artifactId>cglib-full</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ -->
</dependencies>
</project>