Project

General

Profile

Download (11.6 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.25.0-SNAPSHOT</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.9.10.7,)</jackson.version>
37
    </properties>
38
    <scm>
39
      <connection>scm:git:https://dev.e-taxonomy.eu/git/cdm-dataportal.git</connection>
40
      <developerConnection>scm:git:ssh://git@dev.e-taxonomy.eu/var/git/cdm-dataportal.git
41
        </developerConnection>
42
      <url>https://dev.e-taxonomy.eu/gitweb/cdm-dataportal.git/tree</url>
43
    </scm>
44
    <mailingLists>
45
        <mailingList>
46
            <name>EDIT Platform Developers</name>
47
            <subscribe>
48
                https://lists.fu-berlin.de/listinfo/editplatformdevelopers#subscribe
49
            </subscribe>
50
            <unsubscribe>
51
                https://lists.fu-berlin.de/listinfo/editplatformdevelopers#options
52
            </unsubscribe>
53
        </mailingList>
54
        <mailingList>
55
            <name>EDIT User</name>
56
            <subscribe>
57
                https://lists.fu-berlin.de/listinfo/edituser#subscribe
58
            </subscribe>
59
            <unsubscribe>
60
                https://lists.fu-berlin.de/listinfo/edituser#options
61
            </unsubscribe>
62
        </mailingList>
63
    </mailingLists>
64
    <licenses>
65
        <license>
66
            <name>Mozilla Public License Version 1.1</name>
67
            <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
68
            <distribution>repo</distribution>
69
        </license>
70
    </licenses>
71
    <developers>
72
        <developer>
73
            <!-- your SVN account id please! -->
74
            <id>a.kohlbecker</id>
75
            <name>
76
                Andreas Kohlbecker
77
            </name>
78
            <email>a.kohlbecker [at] bgbm.org</email>
79
            <organization>
80
                Botanical Garden Botanical Museum Berlin
81
            </organization>
82
            <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
83
            <timezone>+1</timezone>
84
            <roles>
85
                <role>Developer</role>
86
            </roles>
87
            <url />
88
        </developer>
89
    </developers>
90

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

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

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

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