Project

General

Profile

Download (11.7 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<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">
3
    <modelVersion>4.0.0</modelVersion>
4
    <groupId>eu.etaxonomy</groupId>
5
    <artifactId>cdm-dataportal</artifactId>
6
    <name>CDM Dataportal</name>
7
    <!-- 
8
        packaging needs to be jar otherwise running surefire tests is not possible? 
9
        see also  maven-jar-plugin & maven-deploy-plugin where artifact are skipped
10
    -->
11
    <packaging>jar</packaging>
12
    <version>5.42.0</version>
13

    
14
    <properties>
15
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16
        <!-- 
17
			for the latest version see http://docs.seleniumhq.org/download/#client-drivers 
18
		-->
19
        <selenium.version>2.53.0</selenium.version>
20
        <!-- 
21
            from WebDriver 2.53.0 HTMLUnit is no longer distributed with Selenium WebDriver
22
            https://github.com/SeleniumHQ/htmlunit-driver
23
            need to bring in the htmlunit driver on its own
24
            https://github.com/SeleniumHQ/selenium/blob/master/java/CHANGELOG 
25
            
26
            The version 2.52.0 of html unit is at least compatible with firefox 45.0.2 which 
27
            can be downloaded from https://ftp.mozilla.org/pub/firefox/releases/45.0.2/
28
            
29
            In order to use this version for example in /home/andreas/opt/firefox-45.0.2
30
            and configure the ~/.cdmLibrary/DataPortalTest.xml like
31
            <entry key="webdriver.firefox.bin">/home/andreas/opt/firefox-45.0.2/firefox</entry>
32
            <entry key="browser">firefox</entry>
33
            
34
        -->
35
        <selenium.htmlunit.version>2.52.0</selenium.htmlunit.version>
36
        <jackson.version>[2.15.2,)</jackson.version>
37
        <log4j.version>2.19.0</log4j.version>
38
    </properties>
39
    <scm>
40
      <connection>scm:git:https://dev.e-taxonomy.eu/git/cdm-dataportal.git</connection>
41
      <developerConnection>scm:git:ssh://git@dev.e-taxonomy.eu/var/git/cdm-dataportal.git
42
        </developerConnection>
43
      <url>https://dev.e-taxonomy.eu/gitweb/cdm-dataportal.git/tree</url>
44
    </scm>
45
    <mailingLists>
46
        <mailingList>
47
            <name>EDIT Platform Developers</name>
48
            <subscribe>
49
                https://lists.fu-berlin.de/listinfo/editplatformdevelopers#subscribe
50
            </subscribe>
51
            <unsubscribe>
52
                https://lists.fu-berlin.de/listinfo/editplatformdevelopers#options
53
            </unsubscribe>
54
        </mailingList>
55
        <mailingList>
56
            <name>EDIT User</name>
57
            <subscribe>
58
                https://lists.fu-berlin.de/listinfo/edituser#subscribe
59
            </subscribe>
60
            <unsubscribe>
61
                https://lists.fu-berlin.de/listinfo/edituser#options
62
            </unsubscribe>
63
        </mailingList>
64
    </mailingLists>
65
    <licenses>
66
        <license>
67
            <name>Mozilla Public License Version 1.1</name>
68
            <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
69
            <distribution>repo</distribution>
70
        </license>
71
    </licenses>
72
    <developers>
73
        <developer>
74
            <!-- your SVN account id please! -->
75
            <id>a.kohlbecker</id>
76
            <name>
77
                Andreas Kohlbecker
78
            </name>
79
            <email>a.kohlbecker [at] bgbm.org</email>
80
            <organization>
81
                Botanical Garden Botanical Museum Berlin
82
            </organization>
83
            <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
84
            <timezone>+1</timezone>
85
            <roles>
86
                <role>Developer</role>
87
            </roles>
88
            <url />
89
        </developer>
90
    </developers>
91

    
92
    <distributionManagement>
93
        <site>
94
            <id>wp5.e-taxonomy.eu</id>
95
            <url>
96
                scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/portal/
97
            </url>
98
        </site>
99
        <repository>
100
            <uniqueVersion>false</uniqueVersion>
101
            <id>wp5.e-taxonomy.eu</id>
102
            <name>Edit Maven Repository</name>
103
            <url>
104
                scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo
105
            </url>
106
        </repository>
107
    </distributionManagement>
108

    
109
    <repositories>
110
        <!-- The EDIT repository is needed for the maven site skin -->
111
        <repository>
112
            <id>EditRepository</id>
113
            <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
114
        </repository>
115
    </repositories>
116

    
117
  <profiles>
118
    <profile>
119
      <id>java8-doclint-disabled</id>
120
      <activation>
121
        <jdk>[1.8,)</jdk>
122
      </activation>
123
      <properties>
124
        <javadoc.opts>-Xdoclint:none</javadoc.opts>
125
      </properties>
126
    </profile>
127
  </profiles>
128
    <build>
129
        <plugins>
130
            <plugin>
131
                <artifactId>maven-compiler-plugin</artifactId>
132
                <version>3.2</version>
133
                <configuration>
134
                    <source>1.8</source>
135
                    <target>1.8</target>
136
                </configuration>
137
            </plugin>
138
            <plugin>
139
              <groupId>org.apache.maven.plugins</groupId>
140
              <artifactId>maven-javadoc-plugin</artifactId>
141
              <version>2.9.1</version>
142
              <configuration>
143
                <additionalparam>${javadoc.opts}</additionalparam>
144
              </configuration>
145
            </plugin>            
146
            <plugin>
147
              <groupId>org.apache.maven.plugins</groupId>
148
              <artifactId>maven-jar-plugin</artifactId>
149
              <version>2.6</version>
150
              <configuration>
151
                <excludes>
152
                  <exclude>**</exclude><!-- create empty archives -->
153
                </excludes>
154
                <skipIfEmpty>true</skipIfEmpty>
155
              </configuration>
156
            </plugin>
157
            <plugin>
158
                <groupId>org.apache.maven.plugins</groupId>
159
                <artifactId>maven-deploy-plugin</artifactId>
160
                <configuration>
161
                    <skip>true</skip><!-- packaging is set to jar  -->
162
                </configuration>
163
                <version>2.8.2</version>
164
            </plugin>
165
            <plugin>
166
                <groupId>org.apache.maven.plugins</groupId>
167
                <artifactId>maven-site-plugin</artifactId>
168
                <version>3.4</version>
169
                <configuration>
170
                    <locales>en</locales>
171
                    <outputEncoding>UTF-8</outputEncoding>
172
                    <siteDirectory>${basedir}/site</siteDirectory>
173
                    <!-- 
174
						chmod: not not use chmod, rather adapt the umask
175
                        of the user at the server to which the site is deployed
176
                    -->
177
                    <chmod>false</chmod>
178
                </configuration>
179
            </plugin>
180
            <plugin>
181
                <groupId>external.atlassian.jgitflow</groupId>
182
                <artifactId>jgitflow-maven-plugin</artifactId>
183
                <version>1.0-m6</version>
184
                <configuration>
185
                    <pushHotfixes>true</pushHotfixes>
186
                    <pushReleases>true</pushReleases>
187
                    <enableSshAgent>true</enableSshAgent>
188
                    <allowSnapshots>true</allowSnapshots>
189
                    <allowUntracked>true</allowUntracked>
190
                </configuration>
191
                <dependencies>
192
                    <!--
193
                          upgrading dependency jsch.agent.version of jgit-flow plugin to 0.1.53
194
                          in order have ssl key exchange algorithms compatible with openssh 6.7
195
                       -->
196
                    <dependency>
197
                        <groupId>com.jcraft</groupId>
198
                        <artifactId>jsch</artifactId>
199
                        <version>0.1.54</version>
200
                    </dependency>
201
                </dependencies>
202
            </plugin>
203
        </plugins>
204
        <!-- EXTENSIONS -->
205
        <extensions>
206
            <extension>
207
                <groupId>org.apache.maven.wagon</groupId>
208
                <artifactId>wagon-scm</artifactId>
209
                <version>1.0-beta-6</version>
210
            </extension>
211
            <extension>
212
                <groupId>org.apache.maven.wagon</groupId>
213
                <artifactId>wagon-ssh</artifactId>
214
                <version>1.0-beta-6</version>
215
            </extension>
216
            <extension>
217
                <groupId>org.apache.maven.wagon</groupId>
218
                <artifactId>wagon-ssh-external</artifactId>
219
                <version>1.0-beta-6</version>
220
            </extension>
221
            <extension>
222
                <groupId>org.apache.maven.scm</groupId>
223
                <artifactId>maven-scm-manager-plexus</artifactId>
224
                <version>1.0</version>
225
            </extension>
226
            <extension>
227
                <groupId>org.apache.maven.scm</groupId>
228
                <artifactId>maven-scm-provider-svnexe</artifactId>
229
                <version>1.0</version>
230
            </extension>
231
            <!-- WebDAV plugin to upload snapshots -->
232
            <extension>
233
                <groupId>org.apache.maven.wagon</groupId>
234
                <artifactId>wagon-webdav</artifactId>
235
                <version>1.0-beta-2</version>
236
            </extension>
237
        </extensions>
238
    </build>
239

    
240
    <dependencies>
241
        <dependency>
242
            <groupId>junit</groupId>
243
            <artifactId>junit</artifactId>
244
            <version>4.13.2</version>
245
        </dependency>
246
        <dependency>
247
            <groupId>org.apache.logging.log4j</groupId>
248
            <artifactId>log4j-api</artifactId>
249
            <version>${log4j.version}</version>
250
        </dependency>
251
        <dependency>
252
            <groupId>org.apache.logging.log4j</groupId>
253
            <artifactId>log4j-core</artifactId>
254
            <version>${log4j.version}</version>
255
        </dependency>
256
        <dependency>
257
           <groupId>com.fasterxml.jackson.core</groupId>
258
            <artifactId>jackson-databind</artifactId>
259
            <version>${jackson.version}</version>
260
        </dependency>
261
        <!--
262
          selenium 2 webdriver, see
263
          http://seleniumhq.org/docs/03_webdriver.html#with-maven
264
        -->
265
        <dependency>
266
            <groupId>org.seleniumhq.selenium</groupId>
267
            <artifactId>selenium-firefox-driver</artifactId>
268
            <version>${selenium.version}</version>
269
        </dependency>
270
        <dependency>
271
            <groupId>org.seleniumhq.selenium</groupId>
272
            <artifactId>selenium-support</artifactId>
273
            <version>${selenium.version}</version>
274
        </dependency>
275
        <dependency>
276
            <groupId>org.seleniumhq.selenium</groupId>
277
            <artifactId>selenium-api</artifactId>
278
            <version>${selenium.version}</version>
279
        </dependency>
280
        <dependency>
281
            <!-- Selenese emulation -->
282
            <groupId>org.seleniumhq.selenium</groupId>
283
            <artifactId>selenium-java</artifactId>
284
            <version>${selenium.version}</version>
285
        </dependency>
286
        <dependency>
287
            <groupId>org.seleniumhq.selenium</groupId>
288
            <artifactId>selenium-chrome-driver</artifactId>
289
            <version>${selenium.version}</version>
290
        </dependency>
291
        <dependency>
292
            <groupId>org.seleniumhq.selenium</groupId>
293
            <artifactId>selenium-ie-driver</artifactId>
294
            <version>${selenium.version}</version>
295
        </dependency>
296
        <dependency>
297
            <groupId>org.seleniumhq.selenium</groupId>
298
            <artifactId>selenium-htmlunit-driver</artifactId>
299
            <version>${selenium.htmlunit.version}</version>
300
        </dependency>
301
        <dependency>
302
            <groupId>eu.etaxonomy</groupId>
303
            <artifactId>cdmlib-model</artifactId>
304
            <version>${project.version}</version>
305
        </dependency>
306
    </dependencies>
307
</project>
(6-6/6)