Project

General

Profile

Download (13.3 KB) Statistics
| Branch: | Tag: | Revision:
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2
  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>org.cybertaxonomy</groupId>
5
  <artifactId>utis-core</artifactId>
6
  <packaging>jar</packaging>
7
  <version>1.2.2</version>
8
  <name>UTIS-Core</name>
9
  <description>Unified Taxonomic Information Service core libraries</description>
10
  <url>http://maven.apache.org</url>
11
  <repositories>
12
    <repository>
13
      <id>gbif-all</id>
14
      <url>http://repository.gbif.org/content/groups/gbif</url>
15
    </repository>
16
    <repository>
17
      <id>onejar-maven-plugin.googlecode.com</id>
18
      <url>http://onejar-maven-plugin.googlecode.com/svn/mavenrepo</url>
19
    </repository>
20
    <repository>
21
      <id>EditRepository</id>
22
      <url>http://dev.e-taxonomy.eu/mavenrepo/</url>
23
    </repository>
24
    <!-- codehaus mule repository needed for yourkit -->
25
    <repository>
26
      <id>CodehausMuleRepository</id>
27
      <url>http://dist.codehaus.org/mule/dependencies/maven2/</url>
28
    </repository>
29
  </repositories>
30

    
31
  <properties>
32
    <swagger-annotations.version>1.5.10</swagger-annotations.version>
33
    <jackson-annotations.version>2.2.3</jackson-annotations.version>
34
    <!--  
35
        NOTE: there is a tinkerpop version (2.7.1) 
36
        from https://github.com/allenai/blueprints which is much older!!
37
        the original tinkerpop is more recent
38
    -->
39
    <tinkerpop.version>2.6.0</tinkerpop.version>
40
    <sesame.version>2.7.10</sesame.version><!-- should match the version as used in tinkerpop.blueprints -->
41
    <neo4j.version>2.0.4</neo4j.version>
42
  </properties>
43

    
44
  <dependencies>
45
  <!-- 
46
    <dependency>
47
      <groupId>com.google.inject</groupId>
48
      <artifactId>guice</artifactId>
49
      <version>4.0</version>
50
    </dependency>
51
   -->
52
    <dependency>
53
      <groupId>net.sf.opencsv</groupId>
54
      <artifactId>opencsv</artifactId>
55
      <version>2.3</version>
56
    </dependency>
57
    <dependency>
58
      <groupId>com.fasterxml.jackson.module</groupId>
59
      <artifactId>jackson-module-jaxb-annotations</artifactId>
60
      <version>2.0.5</version>
61
    </dependency>
62
    <dependency>
63
      <groupId>com.fasterxml.jackson.core</groupId>
64
      <artifactId>jackson-annotations</artifactId>
65
      <version>${jackson-annotations.version}</version>
66
    </dependency>
67
    <dependency>
68
      <groupId>io.swagger</groupId>
69
      <artifactId>swagger-annotations</artifactId>
70
      <version>${swagger-annotations.version}</version>
71
    </dependency>
72
    <dependency>
73
      <groupId>org.gbif</groupId>
74
      <artifactId>name-parser</artifactId>
75
      <version>2.1</version>
76
    </dependency>
77
    <dependency>
78
      <groupId>junit</groupId>
79
      <artifactId>junit</artifactId>
80
      <version>4.11</version>
81
    </dependency>
82
    <dependency>
83
      <groupId>org.slf4j</groupId>
84
      <artifactId>slf4j-log4j12</artifactId>
85
      <version>1.7.21</version>
86
    </dependency>
87
    <dependency>
88
      <groupId>com.googlecode.json-simple</groupId>
89
      <artifactId>json-simple</artifactId>
90
      <version>1.1.1</version>
91
    </dependency>
92
    <dependency>
93
      <groupId>javax.xml.bind</groupId>
94
      <artifactId>jaxb-api</artifactId>
95
      <version>2.2.5</version>
96
    </dependency>
97
    <dependency>
98
      <groupId>com.sun.xml.bind</groupId>
99
      <artifactId>jaxb-impl</artifactId>
100
      <version>2.2.5</version>
101
    </dependency>
102
    <dependency>
103
      <groupId>axis</groupId>
104
      <artifactId>axis</artifactId>
105
      <version>1.4</version>
106
    </dependency>
107
    <dependency>
108
      <groupId>commons-discovery</groupId>
109
      <artifactId>commons-discovery</artifactId>
110
      <version>0.5</version>
111
    </dependency>
112
    <dependency>
113
      <groupId>org.apache.httpcomponents</groupId>
114
      <artifactId>httpmime</artifactId>
115
      <version>4.3.2</version>
116
    </dependency>
117
    <dependency>
118
      <groupId>org.apache.httpcomponents</groupId>
119
      <artifactId>httpclient</artifactId>
120
      <version>4.3.2</version>
121
    </dependency>
122
    <!-- ======================================================================= -->
123
    <!-- Dependencies needed for Apache Axix WSDL2Java (only during development) -->
124
    <!--
125
    -->
126
    <dependency>
127
    <groupId>javax.xml</groupId>
128
    <artifactId>jaxrpc-api</artifactId>
129
    <version>1.1</version>
130
    </dependency>
131
    <dependency>
132
    <groupId>javax.xml.soap</groupId>
133
    <artifactId>saaj-api</artifactId>
134
    <version>1.3.5</version>
135
    </dependency>
136
    <dependency>
137
    <groupId>wsdl4j</groupId>
138
    <artifactId>wsdl4j</artifactId>
139
    <version>1.6.3</version>
140
    </dependency>
141
    <dependency>
142
    <groupId>org.apache.geronimo.specs</groupId>
143
    <artifactId>geronimo-activation_1.1_spec</artifactId>
144
    <version>1.1</version>
145
    </dependency>
146
    <!-- ======================================================================= -->
147
    <dependency>
148
      <groupId>javax.mail</groupId>
149
      <artifactId>mail</artifactId>
150
      <version>1.4.7</version>
151
    </dependency>
152
    <dependency>
153
        <groupId>com.tinkerpop.blueprints</groupId>
154
        <artifactId>blueprints-neo4j2-graph</artifactId>
155
        <version>${tinkerpop.version}</version>
156
    </dependency>
157
    <dependency>
158
        <groupId>com.tinkerpop.blueprints</groupId>
159
        <artifactId>blueprints-graph-sail</artifactId>
160
        <version>${tinkerpop.version}</version>
161
    </dependency>
162
    <dependency>
163
       <groupId>com.tinkerpop.gremlin</groupId>
164
       <artifactId>gremlin-java</artifactId>
165
       <version>${tinkerpop.version}</version>
166
    </dependency>
167
    <dependency>
168
      <groupId>org.openrdf.sesame</groupId>
169
      <artifactId>sesame-rio-rdfxml</artifactId>
170
      <version>${sesame.version}</version>
171
    </dependency>
172
    <dependency>
173
      <groupId>org.openrdf.sesame</groupId>
174
      <artifactId>sesame-repository-sail</artifactId>
175
      <version>${sesame.version}</version>
176
    </dependency>
177
    <dependency>
178
        <groupId>org.neo4j</groupId>
179
        <artifactId>neo4j</artifactId>
180
        <version>${neo4j.version}</version>
181
    </dependency>
182
    <dependency>
183
        <groupId>org.neo4j</groupId>
184
        <artifactId>neo4j-ha</artifactId>
185
        <version>${neo4j.version}</version>
186
        <exclusions>
187
            <exclusion>
188
              <groupId>ch.qos.logback</groupId>
189
              <artifactId>logback-classic</artifactId>
190
            </exclusion>
191
        </exclusions>
192
    </dependency>
193
    <!-- yourkit profiler api controller -->
194
    <!-- the 2015 version is not available via maven 
195
      <dependency>
196
        <groupId>com.yourkit</groupId>
197
        <artifactId>yjp-controller-api-redist</artifactId>
198
        <version>9.0.8</version>
199
        <!- - <version>10.0.6</version> TODO find repo or put into our own - ->
200
        <scope>test</scope>
201
      </dependency>
202
    -->
203
  </dependencies>
204

    
205
  <!-- === THIS IS ONLY NEEDED FOR DEPLOYMENT TO TAVERNA === <pluginRepositories>
206
    <pluginRepository> <id>onejar-maven-plugin.googlecode.com</id> <url>http://onejar-maven-plugin.googlecode.com/svn/mavenrepo</url>
207
    </pluginRepository> </pluginRepositories> -->
208

    
209
  <build>
210
  <resources>
211
      <!-- ${basedir}/src/main/resources -->
212
      <resource>
213
        <!-- replace the project-version placeholder in the version.properties 
214
          file. This property can then be used to retrieve the version number in the 
215
          Bootloader -->
216
        <targetPath>${project.build.directory}/classes</targetPath>
217
        <filtering>true</filtering>
218
        <directory>${basedir}/src/main/resources</directory>
219
        <includes>
220
          <include>version.properties</include>
221
        </includes>
222
      </resource>
223
      <resource>
224
        <!-- all other files in classes -->
225
        <targetPath>${project.build.directory}/classes</targetPath>
226
        <directory>${basedir}/src/main/resources</directory>
227
        <excludes>
228
          <exclude>version.properties</exclude>
229
        </excludes>
230
      </resource>
231
    </resources>
232
    <extensions>
233
      <extension>
234
        <groupId>org.apache.maven.wagon</groupId>
235
        <artifactId>wagon-scm</artifactId>
236
        <version>1.0-beta-6</version>
237
      </extension>
238
      <extension>
239
        <groupId>org.apache.maven.wagon</groupId>
240
        <artifactId>wagon-ssh</artifactId>
241
        <version>1.0-beta-6</version>
242
      </extension>
243
      <extension>
244
        <groupId>org.apache.maven.wagon</groupId>
245
        <artifactId>wagon-ssh-external</artifactId>
246
        <version>1.0-beta-6</version>
247
      </extension>
248
      <extension>
249
        <groupId>org.apache.maven.scm</groupId>
250
        <artifactId>maven-scm-manager-plexus</artifactId>
251
        <version>1.0</version>
252
      </extension>
253
      <extension>
254
        <groupId>org.apache.maven.scm</groupId>
255
        <artifactId>maven-scm-provider-svnexe</artifactId>
256
        <version>1.0</version>
257
      </extension>
258
      <!-- WebDAV plugin to upload snapshots -->
259
      <extension>
260
        <groupId>org.apache.maven.wagon</groupId>
261
        <artifactId>wagon-webdav</artifactId>
262
        <version>1.0-beta-2</version>
263
      </extension>
264
    </extensions>
265
    <pluginManagement>
266
      <plugins>
267
        <plugin>
268
          <groupId>org.apache.maven.plugins</groupId>
269
          <artifactId>maven-jar-plugin</artifactId>
270
          <version>2.4</version>
271
        </plugin>
272

    
273
        <plugin>
274
          <groupId>org.apache.maven.plugins</groupId>
275
          <artifactId>maven-release-plugin</artifactId>
276
          <version>2.4.2</version>
277
        </plugin>
278
      </plugins>
279
    </pluginManagement>
280
    <plugins>
281
      <!-- === THIS IS ONLY NEEDED FOR DEPLOYMENT TO TAVERNA ===
282
      <plugin>
283
        <groupId>org.apache.maven.plugins</groupId>
284
        <artifactId>maven-shade-plugin</artifactId>
285
        <executions>
286
          <execution>
287
            <phase>package</phase>
288
            <goals>
289
              <goal>shade</goal>
290
            </goals>
291
          </execution>
292
        </executions>
293
        <configuration>
294
          <finalName>${project.artifactId}-${project.version}</finalName>
295
        </configuration>
296
      </plugin>
297
      -->
298
      <plugin>
299
        <groupId>org.jvnet.jaxb2.maven2</groupId>
300
        <artifactId>maven-jaxb2-plugin</artifactId>
301
        <version>0.11.0</version>
302
        <executions>
303
          <execution>
304
            <!-- Generates Java sources from XML Schema(s) and binding file(s)
305
              using the JAXB Binding Compiler (XJC) -->
306
            <!-- 
307
                 setting the phase to pre-clean we effectively disable this 
308
                 execution since a site is not generated for this project. 
309
                 Thus the jaxb2 plugin must be executed explicitely by:
310
                 mvn jaxb2:generate
311
            -->  
312
            <phase>post-site</phase>
313
            <goals>
314
              <goal>generate</goal>
315
            </goals>
316
          </execution>
317
        </executions>
318
        <configuration>
319
          <schemaDirectory>src/main/resources/org/cybertaxonomy/utis/tnr</schemaDirectory>
320
          <generateDirectory>src/main/java</generateDirectory>
321
          <!-- removeOldOutput>false</removeOldOutput> -->
322
          <cleanPackageDirectories>true</cleanPackageDirectories>
323
          <extension>true</extension>
324
          <args>
325
            <arg>-Xannotate</arg>
326
          </args>
327
          <clearOutputDir>true</clearOutputDir>
328
          <plugins>
329
            <plugin>
330
              <groupId>org.jvnet.jaxb2_commons</groupId>
331
              <artifactId>jaxb2-basics-annotate</artifactId>
332
              <version>1.0.1</version>
333
            </plugin>
334
          </plugins>
335
        </configuration>
336
        <dependencies>
337
          <dependency>
338
            <groupId>com.fasterxml.jackson.core</groupId>
339
            <artifactId>jackson-annotations</artifactId>
340
            <version>${jackson-annotations.version}</version>
341
          </dependency>
342
          <dependency>
343
              <groupId>io.swagger</groupId>
344
              <artifactId>swagger-annotations</artifactId>
345
              <version>${swagger-annotations.version}</version>
346
          </dependency>
347
        </dependencies>
348
      </plugin>
349
      <plugin>
350
        <groupId>org.codehaus.mojo</groupId>
351
        <artifactId>build-helper-maven-plugin</artifactId>
352
        <version>1.9.1</version>
353
        <executions>
354
          <execution>
355
            <id>add-source</id>
356
            <phase>generate-sources</phase>
357
            <goals>
358
              <goal>add-source</goal>
359
            </goals>
360
            <configuration>
361
              <sources>
362
                <source>src/main/generated</source>
363
              </sources>
364
            </configuration>
365
          </execution>
366
        </executions>
367
      </plugin>
368
      <plugin>
369
        <groupId>org.apache.maven.plugins</groupId>
370
        <artifactId>maven-compiler-plugin</artifactId>
371
        <version>3.1</version>
372
        <configuration>
373
          <source>1.7</source>
374
          <target>1.7</target>
375
        </configuration>
376
      </plugin>
377
      <plugin>
378
        <groupId>org.apache.maven.plugins</groupId>
379
        <artifactId>maven-source-plugin</artifactId>
380
        <version>2.4</version>
381
        <executions>
382
          <execution>
383
            <id>attach-sources</id>
384
            <goals>
385
              <goal>jar</goal>
386
            </goals>
387
          </execution>
388
        </executions>
389
      </plugin>
390

    
391
    </plugins>
392
  </build>
393
  <!-- The location of your plugin site -->
394
  <distributionManagement>
395
    <repository>
396
      <id>wp5.e-taxonomy.eu</id>
397
      <name>Edit Maven Repository</name>
398
      <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/</url>
399
      <layout>default</layout>
400
    </repository>
401
  </distributionManagement>
402
</project>
(6-6/6)