Project

General

Profile

Download (12.6 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.0-SNAPSHOT</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.3.11</swagger-annotations.version>
33
    <jackson-annotations.version>2.2.3</jackson-annotations.version>
34
    <apache.jena.version>3.0.0</apache.jena.version>
35
    <!--  
36
        NOTE: there is a tinkerpop version (2.7.1) 
37
        from https://github.com/allenai/blueprints which is much older!!
38
        the original tinkerpop is more recent
39
    -->
40
    <tinkerpop.version>2.6.0</tinkerpop.version>
41
    <sesame.version>2.7.10</sesame.version><!-- should match the version as used in tinkerpop.blueprints -->
42
    <neo4j.version>2.0.4</neo4j.version>
43
  </properties>
44

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

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

    
210
  <build>
211
    <extensions>
212
      <extension>
213
        <groupId>org.apache.maven.wagon</groupId>
214
        <artifactId>wagon-scm</artifactId>
215
        <version>1.0-beta-6</version>
216
      </extension>
217
      <extension>
218
        <groupId>org.apache.maven.wagon</groupId>
219
        <artifactId>wagon-ssh</artifactId>
220
        <version>1.0-beta-6</version>
221
      </extension>
222
      <extension>
223
        <groupId>org.apache.maven.wagon</groupId>
224
        <artifactId>wagon-ssh-external</artifactId>
225
        <version>1.0-beta-6</version>
226
      </extension>
227
      <extension>
228
        <groupId>org.apache.maven.scm</groupId>
229
        <artifactId>maven-scm-manager-plexus</artifactId>
230
        <version>1.0</version>
231
      </extension>
232
      <extension>
233
        <groupId>org.apache.maven.scm</groupId>
234
        <artifactId>maven-scm-provider-svnexe</artifactId>
235
        <version>1.0</version>
236
      </extension>
237
      <!-- WebDAV plugin to upload snapshots -->
238
      <extension>
239
        <groupId>org.apache.maven.wagon</groupId>
240
        <artifactId>wagon-webdav</artifactId>
241
        <version>1.0-beta-2</version>
242
      </extension>
243
    </extensions>
244
    <pluginManagement>
245
      <plugins>
246
        <plugin>
247
          <groupId>org.apache.maven.plugins</groupId>
248
          <artifactId>maven-jar-plugin</artifactId>
249
          <version>2.4</version>
250
        </plugin>
251

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

    
370
    </plugins>
371
  </build>
372
  <!-- The location of your plugin site -->
373
  <distributionManagement>
374
    <repository>
375
      <id>wp5.e-taxonomy.eu</id>
376
      <name>Edit Maven Repository</name>
377
      <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/</url>
378
      <layout>default</layout>
379
    </repository>
380
  </distributionManagement>
381
</project>
(6-6/6)