Project

General

Profile

Download (8.33 KB) Statistics
| Branch: | Tag: | Revision:
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.32.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
  	<pluginManagement>
86
  		<plugins>
87
  			<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
88
  			<plugin>
89
  				<groupId>org.eclipse.m2e</groupId>
90
  				<artifactId>lifecycle-mapping</artifactId>
91
  				<version>1.0.0</version>
92
  				<configuration>
93
  					<lifecycleMappingMetadata>
94
  						<pluginExecutions>
95
  							<pluginExecution>
96
  								<pluginExecutionFilter>
97
  									<groupId>
98
  										org.apache.maven.plugins
99
  									</groupId>
100
  									<artifactId>
101
  										maven-antrun-plugin
102
  									</artifactId>
103
  									<versionRange>
104
  										[3.0.0,)
105
  									</versionRange>
106
  									<goals>
107
  										<goal>run</goal>
108
  									</goals>
109
  								</pluginExecutionFilter>
110
  								<action>
111
  									<ignore />
112
  								</action>
113
  							</pluginExecution>
114
  						</pluginExecutions>
115
  					</lifecycleMappingMetadata>
116
  				</configuration>
117
  			</plugin>
118
  		</plugins>
119
  	</pluginManagement>
120
  </build>
121
  <dependencies>
122
    <dependency>
123
      <groupId>eu.etaxonomy</groupId>
124
      <artifactId>cdmlib-commons</artifactId>
125
    </dependency>
126
    <dependency>
127
        <groupId>org.glassfish.jaxb</groupId>
128
        <artifactId>jaxb-runtime</artifactId>
129
    </dependency>
130
<!--     <dependency> -->
131
<!--       replaced by jakarta.xml.bind-api, dependency of jaxb-runtime -->
132
<!--       <groupId>javax.xml.bind</groupId> -->
133
<!--       <artifactId>jaxb-api</artifactId> -->
134
<!--     </dependency> -->
135
<!--     <dependency> -->
136
<!--       aspectjrt is subset of aspectjweaver which comes as dependency with spring-aspects  -->
137
<!--       <groupId>org.aspectj</groupId> -->
138
<!--       <artifactId>aspectjrt</artifactId> -->
139
<!--     </dependency> -->
140
    <dependency>
141
      <groupId>org.hibernate</groupId>
142
      <artifactId>hibernate-envers</artifactId>
143
    </dependency>
144
    <dependency>
145
      <groupId>org.hibernate</groupId>
146
      <artifactId>hibernate-search-engine</artifactId>
147
    </dependency>
148
    <dependency>
149
        <groupId>org.apache.lucene</groupId>
150
        <artifactId>lucene-core</artifactId>
151
    </dependency>
152
    <!-- for KeywordAnalyzer in NonViralName -->
153
    <dependency>
154
      <groupId>org.apache.lucene</groupId>
155
      <artifactId>lucene-analyzers-common</artifactId>
156
    </dependency>
157
    <dependency>
158
      <groupId>org.springframework</groupId>
159
      <artifactId>spring-jdbc</artifactId>
160
    </dependency>
161
    <!-- //TODO is this required here? -->
162
    <dependency>
163
      <groupId>org.springframework</groupId>
164
      <artifactId>spring-context</artifactId>
165
    </dependency>
166
    <dependency>
167
      <groupId>org.springframework</groupId>
168
      <artifactId>spring-aspects</artifactId>
169
    </dependency>
170
    <dependency>
171
      <groupId>net.sf.opencsv</groupId>
172
      <artifactId>opencsv</artifactId>
173
    </dependency>
174
    <dependency>
175
      <groupId>org.apache.poi</groupId>
176
      <artifactId>poi</artifactId>
177
    </dependency>
178
    <dependency>
179
      <groupId>joda-time</groupId>
180
      <artifactId>joda-time</artifactId>
181
    </dependency>
182
    <dependency>
183
		<groupId>org.jadira.usertype</groupId>
184
		<artifactId>usertype.core</artifactId>
185
	</dependency>
186
    <dependency>
187
      <groupId>org.springframework.security</groupId>
188
      <artifactId>spring-security-core</artifactId>
189
    </dependency>
190
    <dependency>
191
      <groupId>com.ibm.lsid</groupId>
192
      <artifactId>lsid-client</artifactId>
193
    </dependency>
194
    <dependency>
195
      <groupId>wsdl4j</groupId>
196
      <artifactId>wsdl4j</artifactId>
197
    </dependency>
198
<!--     hibernate validator -->
199
    <dependency>
200
      <groupId>javax.validation</groupId>
201
      <artifactId>validation-api</artifactId>
202
    </dependency>
203
    <dependency>
204
      <groupId>org.hibernate.validator</groupId>
205
      <artifactId>hibernate-validator</artifactId>
206
    </dependency>
207
<!-- these 2 are also required for hibernate validator according to https://hibernate.org/validator/documentation/getting-started/
208
     but cdmlib-model tests require only for javax.el -->
209
    <dependency>
210
       <groupId>org.glassfish.web</groupId>
211
       <artifactId>javax.el</artifactId>
212
    </dependency>
213
<!--     <dependency> -->
214
<!--        <groupId>org.hibernate.validator</groupId> -->
215
<!--        <artifactId>hibernate-validator-cdi</artifactId> -->
216
<!--     </dependency> -->
217
<!-- end validator -->    
218
    <dependency>
219
      <groupId>org.apache.logging.log4j</groupId>
220
      <artifactId>log4j-slf4j-impl</artifactId>
221
    </dependency>
222
    <dependency>
223
      <groupId>com.fasterxml.jackson.core</groupId>
224
      <artifactId>jackson-annotations</artifactId>
225
    </dependency>
226
    <dependency>
227
      <groupId>org.passay</groupId>
228
      <artifactId>passay</artifactId>
229
    </dependency>
230
  </dependencies>
231
</project>
(3-3/3)