Project

General

Profile

Download (15.3 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"
3
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
  <modelVersion>4.0.0</modelVersion>
5
  <prerequisites>
6
    <maven>3.0</maven>
7
  </prerequisites>
8
  <groupId>eu.etaxonomy</groupId>
9
  <artifactId>taxeditor-parent</artifactId>
10
  <version>3.5.0-SNAPSHOT</version>
11
  <name>EDIT Taxonomic Editor</name>
12
  <description>The Taxonomic Editor for EDIT's platform for
13
    cybertaxonomy
14
  </description>
15
  <url>http://cybertaxonomy.eu/taxeditor//taxeditor//taxeditor//taxeditor//taxeditor//taxeditor//taxeditor/
16
  </url>
17
  <inceptionYear>2007</inceptionYear>
18
  <packaging>pom</packaging>
19
  <properties>
20
    <java.codelevel>1.6</java.codelevel>
21
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22
    <cdmlib.version>3.5.0-SNAPSHOT</cdmlib.version>
23
    <!-- TODO can we use project.version ????? -->
24
    <tycho.version>0.22.0</tycho.version>
25
    <taxeditor.version>3.5.0-SNAPSHOT</taxeditor.version>
26
    <update.dir>snapshot</update.dir>
27
  </properties>
28
  <modules>
29
    <module>eu.etaxonomy.taxeditor.cdmlib</module>
30
    <module>eu.etaxonomy.taxeditor.store</module>
31
    <module>eu.etaxonomy.taxeditor.navigation</module>
32
    <module>eu.etaxonomy.taxeditor.editor</module>
33
    <module>eu.etaxonomy.taxeditor.bulkeditor</module>
34
    <module>eu.etaxonomy.taxeditor.printpublisher</module>
35
    <module>eu.etaxonomy.taxeditor.help</module>
36
    <module>eu.etaxonomy.taxeditor.application</module>
37
    <module>eu.etaxonomy.taxeditor.feature.platform</module>
38
    <module>eu.etaxonomy.taxeditor.feature</module>
39
    <module>eu.etaxonomy.taxeditor</module>
40
  </modules>
41
  <scm>
42
    <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/taxeditor/
43
    </connection>
44
    <developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/trunk/taxeditor/
45
    </developerConnection>
46
    <url>https://dev.e-taxonomy.eu/trac/browser/trunk/taxeditor/</url>
47
  </scm>
48
  <mailingLists>
49
    <mailingList>
50
      <name>EDIT Taxonomic Editor</name>
51
      <subscribe>
52
        edit-taxonomic-editor+subscribe@googlegroups.com
53
      </subscribe>
54
      <unsubscribe>
55
        edit-taxonomic-editor+unsubscribe@googlegroups.com
56
      </unsubscribe>
57
      <post>edit-taxonomic-editor@googlegroups.com</post>
58
      <archive>http://groups.google.com/group/edit-taxonomic-editor/topics
59
      </archive>
60
    </mailingList>
61
  </mailingLists>
62
  <licenses>
63
    <license>
64
      <name>Mozilla Public License Version 1.1</name>
65
      <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
66
      <distribution>repo</distribution>
67
    </license>
68
  </licenses>
69
  <developers>
70
    <developer>
71
      <!-- your SVN account id please! -->
72
      <id>a.kohlbecker</id>
73
      <name>
74
        Andreas Kohlbecker
75
      </name>
76
      <email>a.kohlbecker [at] bgbm.org</email>
77
      <organization>
78
        Botanic Garden Botanical Museum Berlin
79
      </organization>
80
      <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
81
      <timezone>+1</timezone>
82
      <roles>
83
        <role>Java Developer</role>
84
        <role>Architect</role>
85
      </roles>
86
      <url />
87
    </developer>
88
    <developer>
89
      <!-- your SVN account id please! -->
90
      <id>a.mueller</id>
91
      <name>
92
        Andreas Müller
93
      </name>
94
      <email>a.mueller [at] bgbm.org</email>
95
      <organization>
96
        Botanic Garden Botanical Museum Berlin
97
      </organization>
98
      <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
99
      <timezone>+1</timezone>
100
      <roles>
101
        <role>Java Developer</role>
102
        <role>Architect</role>
103
      </roles>
104
      <url />
105
    </developer>
106
  </developers>
107
  <issueManagement>
108
    <system>Trac</system>
109
    <url>http://dev.e-taxonomy.eu/trac/</url>
110
  </issueManagement>
111
  <ciManagement>
112
    <system>Jenkins</system>
113
    <url>http://160.45.63.201/jenkins/view/EDIT%20Taxonomic%20Editor/
114
    </url>
115
  </ciManagement>
116
  <!-- **** REPOSITORIES **** -->
117
  <profiles>
118
    <profile>
119
      <id>local-repository</id>
120
      <activation>
121
        <property>
122
          <name>localrepo</name>
123
        </property>
124
      </activation>
125
      <repositories>
126
        <repository>
127
          <id>EditLocalRepository</id>
128
          <url>file://${localrepo}/eu/etaxonomy/</url>
129
          <releases>
130
            <enabled>false</enabled>
131
            <updatePolicy>always</updatePolicy>
132
          </releases>
133
          <snapshots>
134
            <enabled>true</enabled>
135
            <updatePolicy>always</updatePolicy>
136
          </snapshots>
137
        </repository>
138
      </repositories>
139
    </profile>
140
    <profile>
141
      <!-- Installs the jre bundle, which is done by 1) copying the jre directories 
142
        as set in the ~/.m2/settings.xml to the corresponding folders in the feature 
143
        dir 2) adding the -vm jre/bin option the eu.etaxonomy.taxeditor/eu.etaxonomy.taxeditor.product -->
144

    
145
      <id>bundleJre</id>
146
      <build>
147
        <plugins>
148
          <plugin>
149
            <groupId>org.apache.maven.plugins</groupId>
150
            <artifactId>maven-antrun-plugin</artifactId>
151
            <version>1.8</version>
152
            <executions>
153
              <execution>
154
                <id>checkJREBundleOS</id>
155
                <phase>validate</phase>
156
                <configuration>
157
                  <target>
158
                    <echo>Checking if JRE bundle can be configured</echo>
159
                    <fail
160
                      message="Copy of JRE folder possible only on Unix (and Unix like systems)">
161
                     <condition>
162
                        <not>                          
163
                            <os family="unix" />                          
164
                        </not>
165
                      </condition>
166
                    </fail>
167
                  </target>
168
                </configuration>
169
                <goals>
170
                  <goal>run</goal>
171
                </goals>
172
              </execution>
173
            </executions>
174
          </plugin>
175
        </plugins>
176
      </build>
177
    </profile>
178
  </profiles>
179
  <repositories>
180
    <!-- the cdm internal repository -->
181
    <repository>
182
      <id>EditRepository</id>
183
      <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
184
    </repository>
185
    <repository>
186
      <id>eclipse-indigo</id>
187
      <layout>p2</layout>
188
      <url>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site/
189
      </url>
190
    </repository>
191
    <!-- The nebula repository (retention period 2 years starting Q32014) 
192
      set here is an archived one so as to have a stable version of the jar when 
193
      building the editor . Refer to #4452 for details -->
194
    <repository>
195
      <id>eclipse-nebula</id>
196
      <layout>p2</layout>
197
      <url>http://download.eclipse.org/technology/nebula/archives/Q32014/release/
198
      </url>
199
    </repository>
200
    <repository>
201
      <id>eclipse-swtbot</id>
202
      <layout>p2</layout>
203
      <url>http://download.eclipse.org/releases/indigo</url>
204
    </repository>
205
  </repositories>
206
  <build>
207
    <plugins>
208
      <plugin>
209
        <groupId>org.eclipse.tycho</groupId>
210
        <artifactId>tycho-maven-plugin</artifactId>
211
        <version>${tycho.version}</version>
212
        <extensions>true</extensions>
213
      </plugin>
214
      <plugin>
215
        <groupId>org.eclipse.tycho</groupId>
216
        <artifactId>tycho-packaging-plugin</artifactId>
217
        <version>${tycho.version}</version>
218
        <configuration>
219
          <strictVersions>true</strictVersions>
220
        </configuration>
221
      </plugin>
222
      <plugin>
223
        <groupId>org.eclipse.tycho</groupId>
224
        <artifactId>tycho-p2-repository-plugin</artifactId>
225
        <version>${tycho.version}</version>
226
        <configuration>
227
          <includeAllDependencies>true</includeAllDependencies>
228
        </configuration>
229
      </plugin>
230
      <plugin>
231
        <groupId>org.eclipse.tycho</groupId>
232
        <artifactId>target-platform-configuration</artifactId>
233
        <version>${tycho.version}</version>
234
        <configuration>
235
          <environments>
236
            <environment>
237
              <os>macosx</os>
238
              <ws>cocoa</ws>
239
              <arch>x86_64</arch>
240
            </environment>
241
            <environment>
242
              <os>win32</os>
243
              <ws>win32</ws>
244
              <arch>x86</arch>
245
            </environment>
246
            <environment>
247
              <os>win32</os>
248
              <ws>win32</ws>
249
              <arch>x86_64</arch>
250
            </environment>
251
            <environment>
252
              <os>linux</os>
253
              <ws>gtk</ws>
254
              <arch>x86</arch>
255
            </environment>
256
            <environment>
257
              <os>linux</os>
258
              <ws>gtk</ws>
259
              <arch>x86_64</arch>
260
            </environment>
261
          </environments>
262
        </configuration>
263
      </plugin>
264
      <plugin>
265
        <groupId>org.apache.maven.plugins</groupId>
266
        <artifactId>maven-compiler-plugin</artifactId>
267
        <version>2.3.2</version>
268
        <configuration>
269
          <source>1.6</source>
270
          <target>1.6</target>
271
        </configuration>
272
      </plugin>
273
      <plugin>
274
        <groupId>org.apache.maven.plugins</groupId>
275
        <artifactId>maven-surefire-plugin</artifactId>
276
        <version>2.6</version>
277
        <configuration>
278
          <includes>
279
            <include>**/*Test.java</include>
280
          </includes>
281
          <systemPropertyVariables>
282
            <property>
283
              <name>hibernate.connection.driver_class</name>
284
              <value>${hibernate.connection.driver_class}</value>
285
            </property>
286
            <property>
287
              <name>hibernate.connection.url</name>
288
              <value>${hibernate.connection.url}</value>
289
            </property>
290
            <property>
291
              <name>hibernate.connection.username</name>
292
              <value>${hibernate.connection.username}</value>
293
            </property>
294
            <property>
295
              <name>hibernate.connection.password</name>
296
              <value>${hibernate.connection.password}</value>
297
            </property>
298
          </systemPropertyVariables>
299
        </configuration>
300
      </plugin>
301
      <plugin>
302
        <groupId>org.apache.maven.plugins</groupId>
303
        <artifactId>maven-site-plugin</artifactId>
304
        <version>3.0</version>
305
        <configuration>
306
          <locales>en</locales>
307
        </configuration>
308
      </plugin>
309
      <plugin>
310
        <groupId>org.apache.maven.plugins</groupId>
311
        <artifactId>maven-source-plugin</artifactId>
312
        <version>2.1.2</version>
313
        <executions>
314
          <execution>
315
            <id>attach-sources</id>
316
            <phase>verify</phase>
317
            <goals>
318
              <goal>jar</goal>
319
            </goals>
320
          </execution>
321
        </executions>
322
      </plugin>
323
      <plugin>
324
        <groupId>org.apache.maven.plugins</groupId>
325
        <artifactId>maven-javadoc-plugin</artifactId>
326
        <version>2.7</version>
327
        <configuration>
328
          <stylesheet>maven</stylesheet>
329
          <quiet>true</quiet>
330
          <detectLinks>true</detectLinks>
331
          <failOnError>false</failOnError>
332
        </configuration>
333
        <executions>
334
          <execution>
335
            <id>aggregate</id>
336
            <goals>
337
              <goal>aggregate</goal>
338
            </goals>
339
            <phase>site</phase>
340
          </execution>
341
        </executions>
342
      </plugin>
343
      <plugin>
344
        <groupId>org.apache.maven.plugins</groupId>
345
        <artifactId>maven-eclipse-plugin</artifactId>
346
        <version>2.8</version>
347
        <configuration>
348
          <downloadSources>true</downloadSources>
349
          <downloadJavadocs>true</downloadJavadocs>
350
          <additionalProjectnatures>
351
            <projectnature>org.eclipse.pde.PluginNature</projectnature>
352
          </additionalProjectnatures>
353
        </configuration>
354
      </plugin>
355
      <!-- ====== DEPLOY ====== -->
356
      <plugin>
357
        <groupId>org.apache.maven.plugins</groupId>
358
        <artifactId>maven-release-plugin</artifactId>
359
        <version>2.2.1</version>
360
        <configuration>
361
          <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
362
          <autoVersionSubmodules>false</autoVersionSubmodules>
363
          <!--preparationGoals>clean verify install</preparationGoals -->
364
          <!--goals>deploy</goals -->
365
          <!-- skipping site-deploy by explicitly configuring the goal here -->
366
          <tagBase>http://dev.e-taxonomy.eu/svn/tags/taxeditor</tagBase>
367
        </configuration>
368
      </plugin>
369
    </plugins>
370
    <extensions>
371
      <extension>
372
        <groupId>org.apache.maven.wagon</groupId>
373
        <artifactId>wagon-scm</artifactId>
374
        <version>1.0-alpha-5</version>
375
      </extension>
376
      <extension>
377
        <groupId>org.apache.maven.wagon</groupId>
378
        <artifactId>wagon-ssh</artifactId>
379
        <version>1.0-beta-7</version>
380
      </extension>
381
      <extension>
382
        <groupId>org.apache.maven.wagon</groupId>
383
        <artifactId>wagon-ssh-external</artifactId>
384
        <version>1.0-beta-6</version>
385
      </extension>
386
      <extension>
387
        <groupId>org.apache.maven.scm</groupId>
388
        <artifactId>maven-scm-manager-plexus</artifactId>
389
        <version>1.0</version>
390
      </extension>
391
      <extension>
392
        <groupId>org.apache.maven.scm</groupId>
393
        <artifactId>maven-scm-provider-svnexe</artifactId>
394
        <version>1.0</version>
395
      </extension>
396
      <!-- WebDAV plugin to upload snapshots -->
397
      <extension>
398
        <groupId>org.apache.maven.wagon</groupId>
399
        <artifactId>wagon-webdav</artifactId>
400
        <version>1.0-beta-2</version>
401
      </extension>
402
    </extensions>
403
    <pluginManagement>
404
      <plugins>
405
        <plugin>
406
          <groupId>org.apache.maven.plugins</groupId>
407
          <artifactId>maven-antrun-plugin</artifactId>
408
          <version>1.7</version>
409
        </plugin>
410
      </plugins>
411
    </pluginManagement>
412
  </build>
413
  <reporting>
414
    <plugins>
415
      <plugin>
416
        <!-- you will want to start by publishing your classes' Javadocs -->
417
        <groupId>org.apache.maven.plugins</groupId>
418
        <artifactId>maven-javadoc-plugin</artifactId>
419
        <version>2.7</version>
420
        <configuration>
421
          <detectLinks>true</detectLinks>
422
        </configuration>
423
      </plugin>
424
      <plugin>
425
        <!-- this will generate an indexed and cross-referenced HTML version 
426
          of your source code -->
427
        <groupId>org.apache.maven.plugins</groupId>
428
        <artifactId>maven-jxr-plugin</artifactId>
429
        <version>2.2</version>
430
      </plugin>
431
      <plugin>
432
        <groupId>org.apache.maven.plugins</groupId>
433
        <artifactId>maven-changes-plugin</artifactId>
434
        <version>2.3</version>
435
        <configuration>
436
          <issueLinkTemplatePerSystem>
437
            <default>%URL%/ticket/%ISSUE%</default>
438
          </issueLinkTemplatePerSystem>
439
        </configuration>
440
        <reportSets>
441
          <reportSet>
442
            <reports>
443
              <report>changes-report</report>
444
            </reports>
445
          </reportSet>
446
        </reportSets>
447
      </plugin>
448
    </plugins>
449
  </reporting>
450
  <!-- DISTRIBUTION MANAGEMENT -->
451
  <distributionManagement>
452
    <site>
453
      <id>wp5.e-taxonomy.eu</id>
454
      <name>EDIT Taxonomic Editor</name>
455
      <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/taxeditor/
456
      </url>
457
    </site>
458
    <repository>
459
      <uniqueVersion>false</uniqueVersion>
460
      <id>wp5.e-taxonomy.eu</id>
461
      <name>Edit Maven Repository</name>
462
      <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/
463
      </url>
464
    </repository>
465
  </distributionManagement>
466
</project>
(5-5/5)