-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
346 lines (338 loc) · 13.3 KB
/
pom.xml
File metadata and controls
346 lines (338 loc) · 13.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdm-dataportal</artifactId>
<name>CDM Dataportal</name>
<!--
packaging needs to be jar otherwise running surefire tests is not possible?
see also maven-jar-plugin & maven-deploy-plugin where artifact are skipped
-->
<packaging>jar</packaging>
<version>5.58.0-SNAPSHOT</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!--
for the latest version see http://docs.seleniumhq.org/download/#client-drivers
-->
<selenium.version>4.11.0</selenium.version>
<!--
from WebDriver 2.53.0 HTMLUnit is no longer distributed with Selenium WebDriver
https://github.com/SeleniumHQ/htmlunit-driver
need to bring in the htmlunit driver on its own
https://github.com/SeleniumHQ/selenium/blob/master/java/CHANGELOG
The version 2.52.0 of html unit is at least compatible with firefox 45.0.2 which
can be downloaded from https://ftp.mozilla.org/pub/firefox/releases/45.0.2/
In order to use this version for example in /home/andreas/opt/firefox-45.0.2
and configure the ~/.cdmLibrary/DataPortalTest.xml like
<entry key="webdriver.firefox.bin">/home/andreas/opt/firefox-45.0.2/firefox</entry>
<entry key="browser">firefox</entry>
-->
<jackson.version>[2.15.2,)</jackson.version>
<log4j.version>2.25.3</log4j.version>
<spring.version>4.3.30.RELEASE</spring.version>
<spring-security.version>4.2.20.RELEASE</spring-security.version>
<aspectj.version>1.9.7</aspectj.version>
<hibernate.version>5.4.33.Final</hibernate.version>
</properties>
<scm>
<connection>scm:git:https://dev.e-taxonomy.eu/git/cdm-dataportal.git</connection>
<developerConnection>scm:git:ssh://git@dev.e-taxonomy.eu/var/git/cdm-dataportal.git
</developerConnection>
<url>https://dev.e-taxonomy.eu/gitweb/cdm-dataportal.git/tree</url>
</scm>
<mailingLists>
<mailingList>
<name>EDIT Platform Developers</name>
<subscribe>
https://lists.fu-berlin.de/listinfo/editplatformdevelopers#subscribe
</subscribe>
<unsubscribe>
https://lists.fu-berlin.de/listinfo/editplatformdevelopers#options
</unsubscribe>
</mailingList>
<mailingList>
<name>EDIT User</name>
<subscribe>
https://lists.fu-berlin.de/listinfo/edituser#subscribe
</subscribe>
<unsubscribe>
https://lists.fu-berlin.de/listinfo/edituser#options
</unsubscribe>
</mailingList>
</mailingLists>
<licenses>
<license>
<name>Mozilla Public License Version 1.1</name>
<url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<!-- your SVN account id please! -->
<id>a.kohlbecker</id>
<name>
Andreas Kohlbecker
</name>
<email>a.kohlbecker [at] bgbm.org</email>
<organization>
Botanical Garden Botanical Museum Berlin
</organization>
<organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
<timezone>+1</timezone>
<roles>
<role>Developer</role>
</roles>
<url />
</developer>
</developers>
<distributionManagement>
<site>
<id>wp5.e-taxonomy.eu</id>
<url>
scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/portal/
</url>
</site>
<repository>
<uniqueVersion>false</uniqueVersion>
<id>wp5.e-taxonomy.eu</id>
<name>Edit Maven Repository</name>
<url>
scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo
</url>
</repository>
</distributionManagement>
<repositories>
<!-- The EDIT repository is needed for the maven site skin -->
<repository>
<id>EditRepository</id>
<url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
</repository>
</repositories>
<profiles>
<profile>
<id>java8-doclint-disabled</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<additionalparam>${javadoc.opts}</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
<configuration>
<excludes>
<exclude>**</exclude><!-- create empty archives -->
</excludes>
<skipIfEmpty>true</skipIfEmpty>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip><!-- packaging is set to jar -->
</configuration>
<version>2.8.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.4</version>
<configuration>
<locales>en</locales>
<outputEncoding>UTF-8</outputEncoding>
<siteDirectory>${basedir}/site</siteDirectory>
<!--
chmod: not not use chmod, rather adapt the umask
of the user at the server to which the site is deployed
-->
<chmod>false</chmod>
</configuration>
</plugin>
<plugin>
<groupId>com.amashchenko.maven.plugin</groupId>
<artifactId>gitflow-maven-plugin</artifactId>
<version>1.21.0</version>
<configuration>
<allowSnapshots>true</allowSnapshots>
<verbose>true</verbose>
<!-- Optional: configure as needed -->
<gitFlowConfig>
<productionBranch>master</productionBranch>
<developmentBranch>develop</developmentBranch>
</gitFlowConfig>
</configuration>
</plugin>
</plugins>
<!-- EXTENSIONS -->
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-scm</artifactId>
<version>1.0-beta-6</version>
</extension>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>1.0-beta-6</version>
</extension>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
<version>1.0-beta-6</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-manager-plexus</artifactId>
<version>1.0</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-svnexe</artifactId>
<version>1.0</version>
</extension>
<!-- WebDAV plugin to upload snapshots -->
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav</artifactId>
<version>1.0-beta-2</version>
</extension>
</extensions>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<!--
selenium 2 webdriver, see
http://seleniumhq.org/docs/03_webdriver.html#with-maven
-->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-firefox-driver</artifactId>
<version>${selenium.version}</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-support</artifactId>
<version>${selenium.version}</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-api</artifactId>
<version>${selenium.version}</version>
</dependency>
<dependency>
<!-- Selenese emulation -->
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>${selenium.version}</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
<version>${selenium.version}</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-ie-driver</artifactId>
<version>${selenium.version}</version>
</dependency>
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
<version>5.6.2</version>
</dependency>
<dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-model</artifactId>
<version>${project.version}</version>
<!--exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</!exclusions> -->
</dependency>
<dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-commons</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
<!-- the following are only needed if we exclude cdmlib-model dependencies (see above),
maybe not needed anymore when TaxonNodeStatus.getLabel() does not work on Language
but on Locale. Maybe also true for above aspectjweaver
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>${spring-security.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>${hibernate.version}</version>
</dependency> -->
</dependencies>
</project>