Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdm-dataportal / pom.xml @ 97232390

History | View | Annotate | Download (11.4 KB)

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

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

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

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

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