Fixed a couple of bugs introduced during #464
[cdmlib.git] / cdmlib-model / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4 <!--
5 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
6 -->
7 <parent>
8 <groupId>eu.etaxonomy</groupId>
9 <artifactId>cdmlib-parent</artifactId>
10 <version>2.0</version>
11 </parent>
12
13 <modelVersion>4.0.0</modelVersion>
14 <artifactId>cdmlib-model</artifactId>
15 <name>CDM Domain Model</name>
16 <description>The domain model java implementation of EDIT's Common Data Model</description>
17 <scm>
18 <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-model/</connection>
19 <developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-model/</developerConnection>
20 <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-model/</url>
21 </scm>
22
23 <build>
24 <plugins>
25 <plugin>
26 <artifactId>maven-antrun-plugin</artifactId>
27 <executions>
28 <execution>
29 <id>aspectj-main</id>
30 <goals>
31 <goal>run</goal>
32 </goals>
33 <phase>process-sources</phase>
34 <configuration>
35 <tasks>
36 <taskdef name="iajc" classname="org.aspectj.tools.ant.taskdefs.AjcTask">
37 <classpath refid="maven.plugin.classpath"/>
38 </taskdef>
39 <iajc destDir="target/classes" verbose="false" source="1.5">
40 <classpath refid="maven.plugin.classpath"/>
41 <classpath refid="maven.compile.classpath"/>
42 <sourceroots>
43 <pathelement location="src/main/java"/>
44 </sourceroots>
45 </iajc>
46 </tasks>
47 </configuration>
48 </execution>
49 <execution>
50 <id>aspectj-test</id>
51 <goals>
52 <goal>run</goal>
53 </goals>
54 <phase>process-test-sources</phase>
55 <configuration>
56 <tasks>
57 <taskdef name="iajc" classname="org.aspectj.tools.ant.taskdefs.AjcTask">
58 <classpath refid="maven.plugin.classpath"/>
59 </taskdef>
60 <iajc destDir="target/test-classes" verbose="false" source="1.5">
61 <classpath refid="maven.plugin.classpath"/>
62 <classpath refid="maven.compile.classpath"/>
63 <classpath refid="maven.test.classpath"/>
64 <sourceroots>
65 <pathelement location="src/test/java"/>
66 </sourceroots>
67 </iajc>
68 </tasks>
69 </configuration>
70 </execution>
71 </executions>
72 <dependencies>
73 <dependency>
74 <groupId>org.aspectj</groupId>
75 <artifactId>aspectjtools</artifactId>
76 <version>1.5.4</version>
77 </dependency>
78 <dependency>
79 <groupId>org.aspectj</groupId>
80 <artifactId>aspectjrt</artifactId>
81 <version>1.5.4</version>
82 </dependency>
83 </dependencies>
84 </plugin>
85
86 <!-- JAXB Schema compiler task (xjc) not used at this point -->
87 <!--
88 <plugin>
89 <artifactId>maven-antrun-plugin</artifactId>
90 <executions>
91 <execution>
92 <phase>generate-sources</phase>
93 <goals>
94 <goal>run</goal>
95 </goals>
96 <configuration>
97 <tasks>
98 <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
99 <classpath refid="maven.compile.classpath"/>
100 </taskdef>
101 <mkdir dir="target/generated-sources/java"/>
102 <xjc schema="src/main/resources/schema/cdm/cdm.xsd"
103 extension="true"
104 destdir="target/generated-sources/java">
105 <depends dir="src/main/resources/schema" includes="cdm/cdm.xsd"/>
106 <produces dir="target/generated-sources/java/eu/etaxonomy/cdm" includes="**/*.java"/>
107 </xjc>
108 </tasks>
109 </configuration>
110 </execution>
111 </executions>
112 </plugin>
113 -->
114
115 </plugins>
116 </build>
117
118 <dependencies>
119 <dependency>
120 <groupId>eu.etaxonomy</groupId>
121 <artifactId>cdmlib-commons</artifactId>
122 </dependency>
123 <dependency>
124 <groupId>javax.xml.bind</groupId>
125 <artifactId>jaxb-api</artifactId>
126 </dependency>
127 <dependency>
128 <groupId>xml-resolver</groupId>
129 <artifactId>xml-resolver</artifactId>
130 </dependency>
131 <dependency>
132 <groupId>javax.activation</groupId>
133 <artifactId>activation</artifactId>
134 </dependency>
135 <dependency>
136 <groupId>javax.xml.bind</groupId>
137 <artifactId>jsr173_api</artifactId>
138 </dependency>
139 <dependency>
140 <groupId>com.sun.xml.bind</groupId>
141 <artifactId>jaxb-impl</artifactId>
142 </dependency>
143 <dependency>
144 <groupId>com.sun.xml.bind</groupId>
145 <artifactId>jaxb1-impl</artifactId>
146 </dependency>
147 <dependency>
148 <groupId>com.sun.xml.bind</groupId>
149 <artifactId>jaxb-xjc</artifactId>
150 </dependency>
151 <dependency>
152 <groupId>org.aspectj</groupId>
153 <artifactId>aspectjrt</artifactId>
154 </dependency>
155 <dependency>
156 <groupId>org.hibernate</groupId>
157 <artifactId>hibernate-annotations</artifactId>
158 </dependency>
159 <dependency>
160 <groupId>org.unitils</groupId>
161 <artifactId>unitils</artifactId>
162 <version>1.0</version>
163 <!--<scope>test</scope>-->
164 </dependency>
165 <dependency>
166 <groupId>org.springframework</groupId>
167 <artifactId>spring-jdbc</artifactId>
168 </dependency>
169 <dependency>
170 <groupId>org.springframework</groupId>
171 <artifactId>spring-test</artifactId>
172 </dependency>
173 <dependency>
174 <groupId>net.sf.opencsv</groupId>
175 <artifactId>opencsv</artifactId>
176 </dependency>
177 <dependency>
178 <groupId>org.apache.poi</groupId>
179 <artifactId>poi</artifactId>
180 </dependency>
181 <dependency>
182 <groupId>joda-time</groupId>
183 <artifactId>joda-time</artifactId>
184 </dependency>
185 <dependency>
186 <groupId>joda-time</groupId>
187 <artifactId>joda-time-hibernate</artifactId>
188 <exclusions>
189 <exclusion>
190 <artifactId>ehcache</artifactId>
191 <groupId>ehcache</groupId>
192 </exclusion>
193 <exclusion>
194 <groupId>cglib</groupId>
195 <artifactId>cglib-full</artifactId>
196 </exclusion>
197 </exclusions>
198 </dependency>
199
200 <!-- joda-time perhaps needed in future for JAXB binding -->
201 <!--
202 <dependency>
203 <groupId>joda-time</groupId>
204 <artifactId>joda-time</artifactId>
205 </dependency>
206 <dependency>
207 <groupId>joda-time</groupId>
208 <artifactId>joda-time-hibernate</artifactId>
209 <exclusions>
210 <exclusion>
211 <artifactId>ehcache</artifactId>
212 <groupId>ehcache</groupId>
213 </exclusion>
214 <exclusion>
215 <groupId>cglib</groupId>
216 <artifactId>cglib-full</artifactId>
217 </exclusion>
218 </exclusions>
219 </dependency>
220 -->
221 </dependencies>
222
223 </project>
224