Project

General

Profile

Download (19.8 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/xsd/maven-4.0.0.xsd">
3

    
4
  <modelVersion>4.0.0</modelVersion>
5
  <groupId>eu.etaxonomy</groupId>
6
  <artifactId>cdm-server</artifactId>
7
  <version>3.0.14</version>
8
  <packaging>jar</packaging>
9
  <name>CDM Community Standalone Server</name>
10

    
11
  <properties>
12
    <jetty-version>7.2.2.v20101205</jetty-version>
13
  </properties>
14

    
15
  <scm>
16
    <!--
17
      see section Provider Configuration in http://maven.apache.org/scm/subversion.html
18
      for instructions on how to externalize credentials in $user.home/.scm/svn-settings.xml
19
    -->
20
    <connection>scm:svn:http://dev.e-taxonomy.eu/svn/tags/cdm-server/cdm-server-3.0.14</connection>
21
    <developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/tags/cdm-server/cdm-server-3.0.14</developerConnection>
22
    <url>http://dev.e-taxonomy.eu/trac/browser/tags/cdm-server/cdm-server-3.0.14</url>
23
  </scm>
24

    
25
  <mailingLists>
26
    <mailingList>
27
      <name>dev-edit</name>
28
      <subscribe>
29
        https://webmail.mnhn.fr/wws/subrequest/dev-edit
30
      </subscribe>
31
      <unsubscribe>
32
        https://webmail.mnhn.fr/wws/sigrequest/dev-edit
33
      </unsubscribe>
34
      <post>dev-edit@mnhn.fr</post>
35
      <archive>https://webmail.mnhn.fr/wws/arc/dev-edit/</archive>
36
    </mailingList>
37
    <mailingList>
38
      <name>cdm-edit</name>
39
      <post>cdm-edit@mnhn.fr</post>
40
      <subscribe>
41
        https://webmail.mnhn.fr/wws/subrequest/cdm-edit
42
      </subscribe>
43
      <unsubscribe>
44
        https://webmail.mnhn.fr/wws/sigrequest/cdm-edit
45
      </unsubscribe>
46
      <archive>https://webmail.mnhn.fr/wws/arc/cdm-edit/</archive>
47
    </mailingList>
48
  </mailingLists>
49
  <licenses>
50
    <license>
51
      <name>Mozilla Public License Version 1.1</name>
52
      <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
53
      <distribution>repo</distribution>
54
    </license>
55
  </licenses>
56
  <developers>
57
    <developer>
58
      <!-- your SVN account id please! -->
59
      <id>a.kohlbecker</id>
60
      <name>
61
        Andreas Kohlbecker
62
      </name>
63
      <email>a.kohlbecker [at] bgbm.org</email>
64
      <organization>
65
        Botanical Garden Botanical Museum Berlin
66
      </organization>
67
      <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
68
      <timezone>+1</timezone>
69
      <roles>
70
        <role>Developer</role>
71
      </roles>
72
      <url />
73
    </developer>
74
  </developers>
75

    
76
  <!--
77
    contributors> <contributor> <name>Test-Contributor</name>
78
    </contributor> </contributors -->
79
  <issueManagement>
80
    <system>Trac</system>
81
    <url>http://dev.e-taxonomy.eu/trac/</url>
82
  </issueManagement>
83
  <ciManagement>
84
    <system>Jenkins</system>
85
    <url>http://160.45.63.201/jenkins</url>
86
  </ciManagement>
87
  <!-- **** REPOSITORIES **** -->
88
  <repositories>
89
    <!-- sun repository -->
90
    <repository>
91
      <id>java.net</id>
92
      <url>http://download.java.net/maven/1/</url>
93
      <layout>legacy</layout>
94
    </repository>
95
    <!-- the cdm internal repository -->
96
    <repository>
97
      <id>EditRepository</id>
98
      <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
99
    </repository>
100
    <!-- apache incubating repository -->
101
    <repository>
102
      <id>ApacheIncubating</id>
103
      <url>http://people.apache.org/repo/m2-incubating-repository/</url>
104
    </repository>
105
  </repositories>
106

    
107
  <!-- **** PLUGINS **** -->
108
  <build>
109
     <resources>
110
         <!--
111
            ${basedir}/src/main/resources
112
          -->
113
         <resource>
114
             <!--
115
                 replace the project-version placeholder in the version.properties file.
116
                 This property can then be used to retrieve the version number in the Bootloader
117
              -->
118
             <targetPath>${project.build.directory}/classes</targetPath>
119
             <filtering>true</filtering>
120
             <directory>${basedir}/src/main/resources</directory>
121
             <includes>
122
                 <include>version.properties</include>
123
             </includes>
124
         </resource>
125
         <resource>
126
               <!--
127
                   all other files in classes
128
                -->
129
               <targetPath>${project.build.directory}/classes</targetPath>
130
               <directory>${basedir}/src/main/resources</directory>
131
               <excludes>
132
                   <exclude>version.properties</exclude>
133
               </excludes>
134
          </resource>
135
          <!--
136
            ${basedir}/src/main/installer/win32
137
          -->
138
         <resource>
139
             <targetPath>${project.build.directory}/installer</targetPath>
140
             <filtering>true</filtering>
141
             <directory>${basedir}/src/main/installer</directory>
142
             <includes>
143
                 <include>win32/program-folder/etc/CDMServer.conf</include>
144
                 <include>win32/setup.nsi</include>
145
             </includes>
146
         </resource>
147
         <resource>
148
               <targetPath>${project.build.directory}/installer</targetPath>
149
               <directory>${basedir}/src/main/installer</directory>
150
               <excludes>
151
                   <exclude>win32/program-folder/etc/CDMServer.conf</exclude>
152
                   <exclude>win32/setup.nsi</exclude>
153
               </excludes>
154
          </resource>
155
     </resources>
156
  <plugins>
157
    <!-- ====== IDE ====== -->
158
      <plugin>
159
        <groupId>org.apache.maven.plugins</groupId>
160
        <artifactId>maven-eclipse-plugin</artifactId>
161
        <configuration>
162
          <downloadSources>true</downloadSources>
163
          <downloadJavadocs>true</downloadJavadocs>
164
        </configuration>
165
      </plugin>
166

    
167
      <plugin>
168
          <!--
169
            only needed for testing the svn credentials
170
            credentials are usually stored by svn automatically
171
            unless not configured differently in
172
            {user.home}\.subversion\config
173
            So in order to use a specific svn account with maven
174
            firts to a commit manually by svn ci -m "commit message"
175
            and answer the question wether to store the credential
176
            with yes.
177
            There is no specific maven configuration required for
178
            svn to work with maven!
179
          -->
180
          <groupId>org.apache.maven.plugins</groupId>
181
          <artifactId>maven-scm-plugin</artifactId>
182
          <version>1.5</version>
183
          <configuration>
184
               <connectionType>developerConnection</connectionType>
185
          </configuration>
186
        </plugin>
187
        <!-- ====== CREATE ====== -->
188
        <plugin>
189
          <artifactId>maven-compiler-plugin</artifactId>
190
          <configuration>
191
            <source>1.6</source>
192
            <target>1.6</target>
193
          </configuration>
194
        </plugin>
195
      <plugin>
196
        <artifactId>maven-surefire-plugin</artifactId>
197
        <configuration>
198
          <argLine>-Xmx512M</argLine>
199
          <includes>
200
            <include>**/*Test.java</include>
201
          </includes>
202
          <systemProperties>
203
            <property>
204
              <name>hibernate.connection.driver_class</name>
205
              <value>${hibernate.connection.driver_class}</value>
206
            </property>
207
            <property>
208
              <name>hibernate.connection.url</name>
209
              <value>${hibernate.connection.url}</value>
210
            </property>
211
            <property>
212
              <name>hibernate.connection.username</name>
213
              <value>${hibernate.connection.username}</value>
214
            </property>
215
            <property>
216
              <name>hibernate.connection.password</name>
217
              <value>${hibernate.connection.password}</value>
218
            </property>
219
          </systemProperties>
220
        </configuration>
221
      </plugin>
222
      <!-- ====== CREATE ====== -->
223
      <plugin>
224
        <groupId>org.codehaus.mojo</groupId>
225
        <artifactId>buildnumber-maven-plugin</artifactId>
226
        <version>1.0-beta-3</version>
227
        <executions>
228
          <execution>
229
            <!--<phase>deploy</phase>-->
230
            <goals>
231
              <goal>create</goal>
232
            </goals>
233
          </execution>
234
        </executions>
235
        <configuration>
236
          <doCheck>false</doCheck>
237
          <!--
238
            Only create the build number if there are no local modifications
239
          -->
240
          <doUpdate>false</doUpdate>
241
          <!--
242
            automatically update the local svn copy
243
          -->
244
        </configuration>
245
      </plugin>
246
      <plugin>
247
        <groupId>org.apache.maven.plugins</groupId>
248
        <artifactId>maven-site-plugin</artifactId>
249
        <version>2.1.1</version>
250
        <configuration>
251
          <locales>en</locales>
252
        </configuration>
253
      </plugin>
254
      <!-- ====== VERIFY ====== -->
255
      <plugin>
256
        <groupId>org.apache.maven.plugins</groupId>
257
        <artifactId>maven-source-plugin</artifactId>
258
        <executions>
259
          <execution>
260
            <id>attach-sources</id>
261
            <phase>verify</phase>
262
            <goals>
263
              <goal>jar</goal>
264
            </goals>
265
          </execution>
266
        </executions>
267
      </plugin>
268
      <plugin>
269
        <groupId>org.apache.maven.plugins</groupId>
270
        <artifactId>maven-javadoc-plugin</artifactId>
271
        <configuration>
272
          <aggregate>true</aggregate>
273
          <stylesheet>maven</stylesheet>
274
        </configuration>
275
      </plugin>
276

    
277
      <!-- ====== PACKAGE ====== -->
278
      <!--
279
        package the default webapp, and also add the
280
        cdmlib-remote-webapp.war
281
        test with: mvn war:war
282
      -->
283
      <plugin>
284
        <groupId>org.apache.maven.plugins</groupId>
285
        <artifactId>maven-war-plugin</artifactId>
286
        <version>2.1-beta-1</version>
287
        <configuration>
288
          <warName>default-webapp</warName>
289
          <overlays>
290
            <overlay>
291
              <groupId>eu.etaxonomy</groupId>
292
              <artifactId>cdmlib-remote-webapp</artifactId>
293
              <!-- version is set in dependency -->
294
              <skip>true</skip><!-- Do Not overlay  -->
295
            </overlay>
296
          </overlays>
297
        </configuration>
298
        <executions>
299
          <execution>
300
            <phase>package</phase>
301
            <goals>
302
              <goal>war</goal>
303
            </goals>
304
          </execution>
305
        </executions>
306
      </plugin>
307
       <!-- ====== INSTALL ====== -->
308
      <plugin>
309
        <!--
310
          Assemble the runnable server jar
311
          test with: mvn assembly:single
312
        -->
313
        <artifactId>maven-assembly-plugin</artifactId>
314
        <configuration>
315
          <appendAssemblyId>false</appendAssemblyId>
316
          <descriptors>
317
            <descriptor>src/main/assembly/assembly.xml</descriptor>
318
          </descriptors>
319
          <archive>
320
            <manifest>
321
              <mainClass>eu.etaxonomy.cdm.server.Bootloader</mainClass>
322
              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
323
              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
324
            </manifest>
325
          </archive>
326
        </configuration>
327
        <executions>
328
          <execution>
329
            <id>make-assembly</id>
330
            <phase>install</phase>
331
            <goals>
332
              <goal>attached</goal>
333
            </goals>
334
          </execution>
335
        </executions>
336
      </plugin>
337
      <plugin>
338
        <!--
339
          Build a Debian package
340
        -->
341
        <artifactId>maven-antrun-plugin</artifactId>
342
        <version>1.3</version>
343
        <executions>
344
          <execution>
345
            <phase>install</phase>
346
            <configuration>
347
              <tasks>
348
                <property name="project.fullversionstring" value="${project.version}" />
349
                <property name="project.version" value="${project.version}" />
350
                <ant antfile="${project.basedir}/src/main/installer/linux/build-deb.xml" dir="${project.basedir}" />
351
              </tasks>
352
            </configuration>
353
            <goals>
354
              <goal>run</goal>
355
            </goals>
356
          </execution>
357
        </executions>
358
      </plugin>
359
      <!--
360
        Build windows installer
361
       -->
362
      <plugin>
363
        <groupId>org.codehaus.mojo</groupId>
364
        <artifactId>exec-maven-plugin</artifactId>
365
        <version>1.2.1</version>
366
        <executions>
367
          <execution>
368
            <phase>install</phase>
369
            <goals>
370
              <goal>exec</goal>
371
            </goals>
372
          </execution>
373
        </executions>
374
        <configuration>
375
          <executable>makensis</executable>
376
          <!-- optional -->
377
          <workingDirectory>/tmp</workingDirectory>
378
          <arguments>
379
            <!-- <argument>-V3</argument>  -->
380
            <argument>${project.basedir}/target/installer/win32/setup.nsi</argument>
381
          </arguments>
382
        </configuration>
383
      </plugin>
384
      <!-- ====== DEPLOY ====== -->
385
      <plugin>
386
        <groupId>org.apache.maven.plugins</groupId>
387
        <artifactId>maven-release-plugin</artifactId>
388
        <version>2.1</version>
389
        <configuration>
390
          <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
391
          <autoVersionSubmodules>false</autoVersionSubmodules>
392
          <preparationGoals>clean verify install</preparationGoals>
393
          <goals>deploy</goals><!-- skipping site-deploy by explicitly configuring the goal here -->
394
          <tagBase>http://dev.e-taxonomy.eu/svn/tags/cdm-server</tagBase>
395
        </configuration>
396
      </plugin>
397
      <plugin>
398
          <groupId>org.codehaus.mojo</groupId>
399
          <artifactId>wagon-maven-plugin</artifactId>
400
          <version>1.0-beta-3</version>
401
          <!--
402
               Problems with the wagon-maven-plugin have been encounterd on Windows,
403
               it should work properly on linux though.
404
           -->
405
          <executions>
406
              <execution>
407
                  <phase>deploy</phase>
408
                  <goals>
409
                      <goal>upload</goal>
410
                  </goals>
411
              </execution>
412
          </executions>
413
          <configuration>
414
              <fromDir>target</fromDir>
415
              <includes>*${project.version}*.deb,*${project.version}*.jar,*${project.version}*.exe</includes>
416
              <url>scpexe://wp5.e-taxonomy.eu/var/www/download/cdmserver/${project.version}</url>
417
              <serverId>wp5.e-taxonomy.eu</serverId>
418
          </configuration>
419
      </plugin>
420
    </plugins>
421
    <!-- EXTENSIONS -->
422
    <extensions>
423
      <extension>
424
        <groupId>org.apache.maven.wagon</groupId>
425
        <artifactId>wagon-scm</artifactId>
426
        <version>1.0-alpha-5</version>
427
      </extension>
428
      <extension>
429
        <groupId>org.apache.maven.wagon</groupId>
430
        <artifactId>wagon-ssh</artifactId>
431
        <version>1.0-beta-7</version>
432
      </extension>
433
      <extension>
434
        <groupId>org.apache.maven.scm</groupId>
435
        <artifactId>maven-scm-manager-plexus</artifactId>
436
        <version>1.0</version>
437
      </extension>
438
      <extension>
439
        <groupId>org.apache.maven.scm</groupId>
440
        <artifactId>maven-scm-provider-svnexe</artifactId>
441
        <version>1.0</version>
442
      </extension>
443
      <!-- WebDAV plugin to upload snapshots -->
444
      <extension>
445
        <groupId>org.apache.maven.wagon</groupId>
446
        <artifactId>wagon-webdav</artifactId>
447
        <version>1.0-beta-2</version>
448
      </extension>
449
    </extensions>
450
  </build>
451

    
452
  <reporting>
453
    <plugins>
454
      <plugin>
455
        <!-- you will want to start by publishing your classes' Javadocs -->
456
        <groupId>org.apache.maven.plugins</groupId>
457
        <artifactId>maven-javadoc-plugin</artifactId>
458
        <configuration>
459
          <links>
460
            <link>http://java.sun.com/j2se/1.6.0/docs/api/</link>
461
            <!-- more libraries? -->
462
          </links>
463
        </configuration>
464
      </plugin>
465
      <plugin>
466
        <!--
467
          this will generate an indexed and cross-referenced HTML version of
468
          your source code
469
        -->
470
        <groupId>org.apache.maven.plugins</groupId>
471
        <artifactId>maven-jxr-plugin</artifactId>
472
      </plugin>
473
      <plugin>
474
        <!--
475
          if you use @todo tags to remind you of things to be done (which is
476
          a good coding practice), the taglist report will generate a list of
477
          all the items marked @todo or TODO
478
        -->
479
        <groupId>org.codehaus.mojo</groupId>
480
        <artifactId>taglist-maven-plugin</artifactId>
481
      </plugin>
482
      <plugin>
483
        <!--
484
          Test coverage can be a useful indication of the quality of your
485
          unit tests. It basically tells you how much of your code is
486
          actually run by your unit tests, which, in turn, can give you a
487
          good idea of the tests' quality
488
        -->
489
        <groupId>org.codehaus.mojo</groupId>
490
        <artifactId>cobertura-maven-plugin</artifactId>
491
      </plugin>
492

    
493

    
494
    </plugins>
495
  </reporting>
496
  <!--	 DISTRIBUTION MANAGEMENT -->
497
  <distributionManagement>
498
    <site>
499
      <id>wp5.e-taxonomy.eu</id>
500
      <url>
501
        scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/cdm-server/
502
      </url>
503
    </site>
504
    <repository>
505
      <uniqueVersion>false</uniqueVersion>
506
      <id>wp5.e-taxonomy.eu</id>
507
      <name>Edit Maven Repository</name>
508
      <url>
509
        scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo
510
      </url>
511
    </repository>
512
  </distributionManagement>
513

    
514
  <dependencies>
515
    <dependency>
516
      <groupId>eu.etaxonomy</groupId>
517
      <artifactId>cdmlib-remote-webapp</artifactId>
518
      <version>${project.version}</version>
519
      <type>war</type>
520
    </dependency>
521

    
522
    <!-- JETTY 7 -->
523
    <dependency>
524
      <groupId>org.eclipse.jetty</groupId>
525
      <artifactId>jetty-webapp</artifactId>
526
      <version>${jetty-version}</version>
527
    </dependency>
528
    <dependency>
529
      <groupId>org.eclipse.jetty</groupId>
530
      <artifactId>jetty-plus</artifactId>
531
      <version>${jetty-version}</version>
532
    </dependency>
533
    <dependency>
534
      <groupId>org.eclipse.jetty</groupId>
535
      <artifactId>jetty-webapp</artifactId>
536
      <version>${jetty-version}</version>
537
    </dependency>
538
    <dependency>
539
      <groupId>org.eclipse.jetty</groupId>
540
      <artifactId>jetty-jmx</artifactId>
541
      <version>${jetty-version}</version>
542
    </dependency>
543
    <dependency>
544
      <groupId>org.eclipse.jetty</groupId>
545
      <artifactId>jetty-security</artifactId>
546
      <version>${jetty-version}</version>
547
    </dependency>
548
    <dependency>
549
      <groupId>org.mortbay.jetty</groupId>
550
      <artifactId>jsp-2.1-glassfish</artifactId>
551
      <version>9.1.1.B60.25.p2</version>
552
    </dependency>
553
    <dependency>
554
      <groupId>javax.transaction</groupId>
555
      <artifactId>jta</artifactId>
556
      <version>1.1</version>
557
    </dependency>
558
    <!-- JSON -->
559
    <dependency>
560
      <groupId>org.codehaus.jackson</groupId>
561
      <artifactId>jackson-mapper-asl</artifactId>
562
      <version>1.6.4</version>
563
    </dependency>
564
    <!-- windows service -->
565
    <dependency>
566
      <groupId>tanukisoft</groupId>
567
      <artifactId>wrapper</artifactId>
568
      <version>3.2.3</version>
569
    </dependency>
570

    
571
    <!--  Logging  -->
572
    <dependency>
573
      <groupId>org.slf4j</groupId>
574
      <artifactId>slf4j-api</artifactId>
575
      <version>1.6.1</version>
576
    </dependency>
577
    <dependency>
578
      <groupId>org.slf4j</groupId>
579
      <artifactId>slf4j-log4j12</artifactId>
580
      <version>1.6.1</version>
581
    </dependency>
582

    
583
    <dependency>
584
      <groupId>commons-cli</groupId>
585
      <artifactId>commons-cli</artifactId>
586
      <version>1.2</version>
587
    </dependency>
588
    <dependency>
589
      <groupId>commons-io</groupId>
590
      <artifactId>commons-io</artifactId>
591
      <version>1.4</version>
592
    </dependency>
593
    <dependency>
594
      <groupId>net.sf.jopt-simple</groupId>
595
      <artifactId>jopt-simple</artifactId>
596
      <version>3.2</version>
597
    </dependency>
598
    <dependency>
599
      <groupId>c3p0</groupId>
600
      <artifactId>c3p0</artifactId>
601
      <version>0.9.1</version>
602
    </dependency>
603
    <!--  DATABASE DRIVER -->
604
    <dependency>
605
      <groupId>mysql</groupId>
606
      <artifactId>mysql-connector-java</artifactId>
607
      <version>5.0.5</version>
608
    </dependency>
609
  </dependencies>
610

    
611
</project>
(4-4/4)