-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
406 lines (386 loc) · 15.9 KB
/
Copy pathpom.xml
File metadata and controls
406 lines (386 loc) · 15.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.nlp2rdf</groupId>
<artifactId>nlp2rdf-parent</artifactId>
<version>1.9-SNAPSHOT</version>
<packaging>pom</packaging>
<name>NLP2RDF Parent Pom</name>
<url>http://nlp2rdf.org</url>
<properties>
<!-- tell the compiler we can use 1.6 -->
<compiler.version>1.6</compiler.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<!--This is the SCM information, which needs to be here so we can use the
maven release plugin -->
<scm>
<connection>scm:hg:https://nlp2rdf.googlecode.com/hg/</connection>
<developerConnection>scm:hg:https://nlp2rdf.googlecode.com/hg/</developerConnection>
<url>https://nlp2rdf.googlecode.com/hg</url>
</scm>
<modules>
<module>maven</module>
<module>tools</module>
<!--module>ontologies/utilities/owl2java</module-->
</modules>
<build>
<!--plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>deploy</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>deploy</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin-->
<!-- explicitly define maven-deploy-plugin after other to force exec order -->
<!--artifactId>maven-deploy-plugin</artifactId>
<executions>
<execution>
<id>deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins-->
<!--
- Plugin Management defines the plugins that the child components can use
- It's good practice to do this as we can ensure all children use common versions
- of the plugins, and we can look in one place to see all plugin dependencies.
-->
<pluginManagement>
<plugins>
<!--Surefire - for JUnits-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<skipTests>false</skipTests>
</configuration>
</plugin>
<!--Maven Compiler Plugin-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<!--We use 1.6-->
<source>${compiler.version}</source>
<target>${compiler.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<!-- - Maven Jar Plugin - if you want to create and/or sign jars. - I'm
putting this in so we can create a jar for the test classes - in components
core so that other components' tests can leverage them -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
</plugin>
<!--JAR the Sources -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<configuration>
<stopKey>stopKey</stopKey>
<stopPort>9999</stopPort>
<scanIntervalSeconds>1</scanIntervalSeconds>
<requestLog implementation="org.mortbay.jetty.NCSARequestLog">
<filename>log/yyyy_mm_dd.request.log</filename>
<retainDays>90</retainDays>
<append>true</append>
<extended>false</extended>
<logTimeZone>GMT</logTimeZone>
</requestLog>
</configuration>
<!--execution is used for testing-->
<!--executions>
<execution>
<id>start-jetty</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<scanIntervalSeconds>0</scanIntervalSeconds>
<daemon>true</daemon>
<stopKey>stopKey</stopKey>
<stopPort>9999</stopPort>
</configuration>
</execution>
<execution>
<id>stop-jetty</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions-->
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<configuration>
<show>public</show>
<nohelp>true</nohelp>
<destDir>doc/javadoc</destDir>
<doctitle>Annotator Stanford Javadoc</doctitle>
<author>true</author>
<nodeprecated>false</nodeprecated>
<nodeprecatedlist>false</nodeprecatedlist>
<noindex>false</noindex>
<nonavbar>false</nonavbar>
<notree>false</notree>
<overview>src/etc/overview.html</overview>
<source>1.6</source>
<sourcepath>src/main/java</sourcepath>
<splitindex>true</splitindex>
<stylesheetfile>src/etc/javadoc.css</stylesheetfile>
<use>true</use>
<version>true</version>#
<linksource>true</linksource>
<encoding>UTF-8</encoding>
<windowtitle>Annotator Stanford Javadoc</windowtitle>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<!--Global Dependencies -->
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<!-- Dependency Management defines the dependencies at the parent level
- These set the dependencies on a global level and the children are forced
to use the defined version - We do this to ensure consistent dependencies
amongst all children artifacts that are generated by this pom. - - Children
still have to include the dependency, but only the groupId and artifactId
as version is retrieved from the parent. - - Remember, default scope is compile
in Maven. -->
<dependencies>
<!--Junits-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<scope>test</scope>
</dependency>
<!--Dependencies that are generated as part of this parent pom-->
<dependency>
<groupId>org.nlp2rdf</groupId>
<artifactId>nif</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.nlp2rdf</groupId>
<artifactId>OLiA</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.6.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<!--Available via central, we use the latest with minor mods -->
<dependency>
<groupId>com.hp.hpl.jena</groupId>
<artifactId>jena</artifactId>
<version>2.6.4</version>
</dependency>
<dependency>
<groupId>com.jamonapi</groupId>
<artifactId>jamon</artifactId>
<version>2.7</version>
</dependency>
<!-- needed for the stemmer-->
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-snowball</artifactId>
<version>3.0.3</version>
</dependency>
<!--dependency>
<groupId>org.aksw.commons</groupId>
<artifactId>model</artifactId>
<version>${aksw.version}</version>
</dependency-->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.0.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.owldl</groupId>
<artifactId>pellet</artifactId>
<version>2.3.0</version>
<exclusions>
<exclusion>
<groupId>org.mortbay.jetty</groupId>
<artifactId>org.mortbay.jetty</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.owldl</groupId>
<artifactId>pellet-jena</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
</dependency>
</dependencies>
</dependencyManagement>
<repositories>
<!--repository>
<id>maven2-repository.dev.java.net</id>
<name>Java.net Repository for Maven</name>
<url>http://download.java.net/maven/2/</url>
<layout>default</layout>
</repository-->
<repository>
<id>maven.aksw.internal</id>
<name>University Leipzig, AKSW Maven2 Repository</name>
<url>http://maven.aksw.org/repository/internal</url>
</repository>
<repository>
<id>maven.aksw.snapshots</id>
<name>University Leipzig, AKSW Maven2 Repository</name>
<url>http://maven.aksw.org/repository/snapshots</url>
</repository>
<repository>
<id>opennlp.sf.net</id>
<url>http://opennlp.sourceforge.net/maven2</url>
</repository>
<!--repository>
<id>some_stuff_such_as_pellet</id>
<url>http://on.cs.unibas.ch/maven/repository</url>
</repository-->
</repositories>
<pluginRepositories>
<pluginRepository>
<id>maven.codehaus.plugin.snapshots</id>
<name>Codehaus plugin Repository</name>
<url>https://nexus.codehaus.org/content/repositories/public</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
<distributionManagement>
<repository>
<id>maven.aksw.internal</id>
<name>AKSW Internal Release Repository</name>
<url>http://maven.aksw.org/repository/internal</url>
</repository>
<snapshotRepository>
<id>maven.aksw.snapshots</id>
<name>AKSW Snapshot Repository</name>
<url>http://maven.aksw.org/repository/snapshots</url>
<uniqueVersion>false</uniqueVersion>
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>hudson_build</id>
<build>
<plugins>
<!--JAR the Sources -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>