1
|
<?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">
|
2
|
<parent>
|
3
|
<artifactId>cdmlib-parent</artifactId>
|
4
|
<groupId>eu.etaxonomy</groupId>
|
5
|
<version>5.18.0-SNAPSHOT</version>
|
6
|
<relativePath>../pom.xml</relativePath>
|
7
|
</parent>
|
8
|
<modelVersion>4.0.0</modelVersion>
|
9
|
<artifactId>cdmlib-model</artifactId>
|
10
|
<name>CDM Domain Model</name>
|
11
|
<description>The domain model java implementation of EDIT's Common Data Model</description>
|
12
|
|
13
|
<build>
|
14
|
<plugins>
|
15
|
<plugin>
|
16
|
<groupId>org.apache.maven.plugins</groupId>
|
17
|
<artifactId>maven-antrun-plugin</artifactId>
|
18
|
<executions>
|
19
|
<execution>
|
20
|
<id>aspectj-main</id>
|
21
|
<phase>process-sources</phase>
|
22
|
<goals>
|
23
|
<goal>run</goal>
|
24
|
</goals>
|
25
|
<configuration>
|
26
|
<target>
|
27
|
<path id="aspectPath" location="${settings.localRepository}/org/springframework/spring-aspects/${spring.version}/spring-aspects-${spring.version}.jar" />
|
28
|
<taskdef classname="org.aspectj.tools.ant.taskdefs.AjcTask" name="iajc">
|
29
|
<classpath refid="maven.plugin.classpath" />
|
30
|
</taskdef>
|
31
|
<iajc verbose="false" source="${java.codelevel}" destDir="target/classes" aspectPathRef="aspectPath">
|
32
|
<!-- see https://www.eclipse.org/aspectj/doc/released/devguide/antTasks-iajc.html#antTasks-iajc-paths -->
|
33
|
<classpath>
|
34
|
<path refid="maven.compile.classpath" />
|
35
|
<path refid="maven.plugin.classpath" />
|
36
|
</classpath>
|
37
|
<sourceroots>
|
38
|
<pathelement location="src/main/java" />
|
39
|
</sourceroots>
|
40
|
</iajc>
|
41
|
</target>
|
42
|
</configuration>
|
43
|
</execution>
|
44
|
<execution>
|
45
|
<id>aspectj-test</id>
|
46
|
<phase>process-test-sources</phase>
|
47
|
<goals>
|
48
|
<goal>run</goal>
|
49
|
</goals>
|
50
|
<configuration>
|
51
|
<target>
|
52
|
<path id="aspectPath" location="${settings.localRepository}/org/springframework/spring-aspects/${spring.version}/spring-aspects-${spring.version}.jar" />
|
53
|
<taskdef classname="org.aspectj.tools.ant.taskdefs.AjcTask" name="iajc">
|
54
|
<classpath refid="maven.plugin.classpath" />
|
55
|
</taskdef>
|
56
|
<iajc verbose="false" source="${java.codelevel}" destDir="target/test-classes" aspectPathRef="aspectPath">
|
57
|
<!-- see https://www.eclipse.org/aspectj/doc/released/devguide/antTasks-iajc.html#antTasks-iajc-paths -->
|
58
|
<classpath>
|
59
|
<path refid="maven.compile.classpath" />
|
60
|
<path refid="maven.plugin.classpath" />
|
61
|
<path refid="maven.test.classpath" />
|
62
|
</classpath>
|
63
|
<sourceroots>
|
64
|
<pathelement location="src/test/java" />
|
65
|
</sourceroots>
|
66
|
</iajc>
|
67
|
</target>
|
68
|
</configuration>
|
69
|
</execution>
|
70
|
</executions>
|
71
|
<dependencies>
|
72
|
<dependency>
|
73
|
<groupId>org.aspectj</groupId>
|
74
|
<artifactId>aspectjtools</artifactId>
|
75
|
<version>${aspectj.version}</version>
|
76
|
</dependency>
|
77
|
<dependency>
|
78
|
<groupId>org.aspectj</groupId>
|
79
|
<artifactId>aspectjrt</artifactId>
|
80
|
<version>${aspectj.version}</version>
|
81
|
</dependency>
|
82
|
</dependencies>
|
83
|
</plugin>
|
84
|
</plugins>
|
85
|
</build>
|
86
|
<dependencies>
|
87
|
<dependency>
|
88
|
<groupId>eu.etaxonomy</groupId>
|
89
|
<artifactId>cdmlib-commons</artifactId>
|
90
|
</dependency>
|
91
|
<dependency>
|
92
|
<groupId>org.glassfish.jaxb</groupId>
|
93
|
<artifactId>jaxb-runtime</artifactId>
|
94
|
</dependency>
|
95
|
<!-- <dependency> -->
|
96
|
<!-- replaced by jakarta.xml.bind-api, dependency of jaxb-runtime -->
|
97
|
<!-- <groupId>javax.xml.bind</groupId> -->
|
98
|
<!-- <artifactId>jaxb-api</artifactId> -->
|
99
|
<!-- </dependency> -->
|
100
|
<!-- <dependency> -->
|
101
|
<!-- aspectjrt is subset of aspectjweaver which comes as dependency with spring-aspects -->
|
102
|
<!-- <groupId>org.aspectj</groupId> -->
|
103
|
<!-- <artifactId>aspectjrt</artifactId> -->
|
104
|
<!-- </dependency> -->
|
105
|
<dependency>
|
106
|
<groupId>org.hibernate</groupId>
|
107
|
<artifactId>hibernate-envers</artifactId>
|
108
|
</dependency>
|
109
|
<dependency>
|
110
|
<groupId>org.hibernate</groupId>
|
111
|
<artifactId>hibernate-search-engine</artifactId>
|
112
|
</dependency>
|
113
|
<dependency>
|
114
|
<groupId>org.apache.lucene</groupId>
|
115
|
<artifactId>lucene-core</artifactId>
|
116
|
</dependency>
|
117
|
<!-- for KeywordAnalyzer in NonViralName -->
|
118
|
<dependency>
|
119
|
<groupId>org.apache.lucene</groupId>
|
120
|
<artifactId>lucene-analyzers-common</artifactId>
|
121
|
</dependency>
|
122
|
<dependency>
|
123
|
<groupId>org.springframework</groupId>
|
124
|
<artifactId>spring-jdbc</artifactId>
|
125
|
</dependency>
|
126
|
<!-- //TODO is this required here? -->
|
127
|
<dependency>
|
128
|
<groupId>org.springframework</groupId>
|
129
|
<artifactId>spring-context</artifactId>
|
130
|
</dependency>
|
131
|
<dependency>
|
132
|
<groupId>org.springframework</groupId>
|
133
|
<artifactId>spring-aspects</artifactId>
|
134
|
</dependency>
|
135
|
<dependency>
|
136
|
<groupId>net.sf.opencsv</groupId>
|
137
|
<artifactId>opencsv</artifactId>
|
138
|
</dependency>
|
139
|
<dependency>
|
140
|
<groupId>org.apache.poi</groupId>
|
141
|
<artifactId>poi</artifactId>
|
142
|
</dependency>
|
143
|
<dependency>
|
144
|
<groupId>joda-time</groupId>
|
145
|
<artifactId>joda-time</artifactId>
|
146
|
</dependency>
|
147
|
<dependency>
|
148
|
<groupId>org.jadira.usertype</groupId>
|
149
|
<artifactId>usertype.jodatime</artifactId>
|
150
|
</dependency>
|
151
|
<dependency>
|
152
|
<groupId>org.springframework.security</groupId>
|
153
|
<artifactId>spring-security-core</artifactId>
|
154
|
</dependency>
|
155
|
<dependency>
|
156
|
<groupId>com.ibm.lsid</groupId>
|
157
|
<artifactId>lsid-client</artifactId>
|
158
|
</dependency>
|
159
|
<dependency>
|
160
|
<groupId>wsdl4j</groupId>
|
161
|
<artifactId>wsdl4j</artifactId>
|
162
|
</dependency>
|
163
|
<!-- hibernate validator -->
|
164
|
<dependency>
|
165
|
<groupId>javax.validation</groupId>
|
166
|
<artifactId>validation-api</artifactId>
|
167
|
</dependency>
|
168
|
<dependency>
|
169
|
<groupId>org.hibernate.validator</groupId>
|
170
|
<artifactId>hibernate-validator</artifactId>
|
171
|
</dependency>
|
172
|
<!-- these 2 are also required for hibernate validator according to http://hibernate.org/validator/documentation/getting-started/
|
173
|
but cdmlib-model tests require only for javax.el -->
|
174
|
<dependency>
|
175
|
<groupId>org.glassfish.web</groupId>
|
176
|
<artifactId>javax.el</artifactId>
|
177
|
</dependency>
|
178
|
<!-- <dependency> -->
|
179
|
<!-- <groupId>org.hibernate.validator</groupId> -->
|
180
|
<!-- <artifactId>hibernate-validator-cdi</artifactId> -->
|
181
|
<!-- </dependency> -->
|
182
|
<!-- end validator -->
|
183
|
<dependency>
|
184
|
<groupId>org.slf4j</groupId>
|
185
|
<artifactId>slf4j-log4j12</artifactId>
|
186
|
<exclusions>
|
187
|
<exclusion>
|
188
|
<groupId>net.sf.ehcache</groupId>
|
189
|
<artifactId>ehcache-core</artifactId>
|
190
|
</exclusion>
|
191
|
</exclusions>
|
192
|
</dependency>
|
193
|
<dependency>
|
194
|
<groupId>net.sf.ehcache</groupId>
|
195
|
<artifactId>ehcache</artifactId>
|
196
|
</dependency>
|
197
|
<dependency>
|
198
|
<groupId>com.fasterxml.jackson.core</groupId>
|
199
|
<artifactId>jackson-annotations</artifactId>
|
200
|
</dependency>
|
201
|
</dependencies>
|
202
|
</project>
|