Major changes to the cdmlib default term loading and initialization, plus indexing...
[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.hibernate</groupId>
161 <artifactId>hibernate-search</artifactId>
162 </dependency>
163 <dependency>
164 <groupId>org.unitils</groupId>
165 <artifactId>unitils</artifactId>
166 </dependency>
167 <dependency>
168 <groupId>org.springframework</groupId>
169 <artifactId>spring-jdbc</artifactId>
170 </dependency>
171 <dependency>
172 <groupId>org.springframework</groupId>
173 <artifactId>spring-test</artifactId>
174 </dependency>
175 <dependency>
176 <groupId>net.sf.opencsv</groupId>
177 <artifactId>opencsv</artifactId>
178 </dependency>
179 <dependency>
180 <groupId>org.apache.poi</groupId>
181 <artifactId>poi</artifactId>
182 </dependency>
183 <dependency>
184 <groupId>joda-time</groupId>
185 <artifactId>joda-time</artifactId>
186 </dependency>
187 <dependency>
188 <groupId>joda-time</groupId>
189 <artifactId>joda-time-hibernate</artifactId>
190 <exclusions>
191 <exclusion>
192 <artifactId>ehcache</artifactId>
193 <groupId>ehcache</groupId>
194 </exclusion>
195 <exclusion>
196 <groupId>cglib</groupId>
197 <artifactId>cglib-full</artifactId>
198 </exclusion>
199 </exclusions>
200 </dependency>
201 <dependency>
202 <groupId>org.springframework.security</groupId>
203 <artifactId>spring-security-core</artifactId>
204 </dependency>
205
206 <!-- joda-time perhaps needed in future for JAXB binding -->
207 <!--
208 <dependency>
209 <groupId>joda-time</groupId>
210 <artifactId>joda-time</artifactId>
211 </dependency>
212 <dependency>
213 <groupId>joda-time</groupId>
214 <artifactId>joda-time-hibernate</artifactId>
215 <exclusions>
216 <exclusion>
217 <artifactId>ehcache</artifactId>
218 <groupId>ehcache</groupId>
219 </exclusion>
220 <exclusion>
221 <groupId>cglib</groupId>
222 <artifactId>cglib-full</artifactId>
223 </exclusion>
224 </exclusions>
225 </dependency>
226 -->
227 </dependencies>
228
229 </project>
230