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 | |
---|
5 | <groupId>eu.dasish.annotation</groupId> |
---|
6 | <artifactId>annotator-backend</artifactId> |
---|
7 | <version>1.5.4-shibboleth</version> |
---|
8 | <packaging>war</packaging> |
---|
9 | <name>annotator-backend Jersey Webapp</name> |
---|
10 | <organization> |
---|
11 | <name>DASISH</name> |
---|
12 | <url>https://trac.clarin.eu/wiki/DASISH</url> |
---|
13 | </organization> |
---|
14 | |
---|
15 | |
---|
16 | <dependencies> |
---|
17 | <dependency> |
---|
18 | <groupId>org.apache.xerces</groupId> |
---|
19 | <artifactId>xercesImpl</artifactId> |
---|
20 | <version>2.9.0</version> |
---|
21 | </dependency> |
---|
22 | <dependency> |
---|
23 | <groupId>javax.servlet</groupId> |
---|
24 | <artifactId>javax.servlet-api</artifactId> |
---|
25 | <version>3.0.1</version> |
---|
26 | <scope>provided</scope> |
---|
27 | </dependency> |
---|
28 | <dependency> |
---|
29 | <groupId>javax.servlet</groupId> |
---|
30 | <artifactId>servlet-api</artifactId> |
---|
31 | <version>2.5</version> |
---|
32 | <scope>provided</scope> |
---|
33 | </dependency> |
---|
34 | <!-- <dependency> |
---|
35 | <groupId>com.sun.jersey</groupId> |
---|
36 | <artifactId>jersey-server-linking</artifactId> |
---|
37 | <version>1.9.1</version> |
---|
38 | </dependency> --> |
---|
39 | <dependency> |
---|
40 | <groupId>com.sun.jersey</groupId> |
---|
41 | <artifactId>jersey-servlet</artifactId> |
---|
42 | <version>${jersey.version}</version> |
---|
43 | </dependency> |
---|
44 | <dependency> |
---|
45 | <groupId>com.sun.jersey</groupId> |
---|
46 | <artifactId>jersey-json</artifactId> |
---|
47 | <version>${jersey.version}</version> |
---|
48 | <scope>test</scope> |
---|
49 | </dependency> |
---|
50 | <dependency> |
---|
51 | <groupId>com.sun.jersey</groupId> |
---|
52 | <artifactId>jersey-client</artifactId> |
---|
53 | <version>${jersey.version}</version> |
---|
54 | <scope>test</scope> |
---|
55 | </dependency> |
---|
56 | <dependency> |
---|
57 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
---|
58 | <artifactId>jersey-test-framework-grizzly2</artifactId> |
---|
59 | <version>${jersey.version}</version> |
---|
60 | <exclusions> |
---|
61 | <exclusion> |
---|
62 | <artifactId>javax.servlet</artifactId> |
---|
63 | <groupId>org.glassfish</groupId> |
---|
64 | </exclusion> |
---|
65 | </exclusions> |
---|
66 | </dependency> |
---|
67 | <dependency> |
---|
68 | <groupId>com.sun.jersey.contribs</groupId> |
---|
69 | <artifactId>jersey-spring</artifactId> |
---|
70 | <version>${jersey.version}</version> |
---|
71 | <exclusions> |
---|
72 | <exclusion> |
---|
73 | <groupId>org.springframework</groupId> |
---|
74 | <artifactId>*</artifactId> |
---|
75 | </exclusion> |
---|
76 | </exclusions> |
---|
77 | </dependency> |
---|
78 | <dependency> |
---|
79 | <groupId>com.sun.jersey.contribs</groupId> |
---|
80 | <artifactId>jersey-multipart</artifactId> |
---|
81 | <version>${jersey.version}</version> |
---|
82 | </dependency> |
---|
83 | <dependency> |
---|
84 | <groupId>org.jmock</groupId> |
---|
85 | <artifactId>jmock-junit4</artifactId> |
---|
86 | <version>2.5.1</version> |
---|
87 | <scope>test</scope> |
---|
88 | </dependency> |
---|
89 | <dependency> |
---|
90 | <groupId>org.springframework</groupId> |
---|
91 | <artifactId>spring-jdbc</artifactId> |
---|
92 | <version>${spring.version}</version> |
---|
93 | </dependency> |
---|
94 | <dependency> |
---|
95 | <groupId>org.springframework</groupId> |
---|
96 | <artifactId>spring-web</artifactId> |
---|
97 | <version>${spring.version}</version> |
---|
98 | </dependency> |
---|
99 | <dependency> |
---|
100 | <groupId>org.springframework.security</groupId> |
---|
101 | <artifactId>spring-security-config</artifactId> |
---|
102 | <version>${spring.version}</version> |
---|
103 | </dependency> |
---|
104 | <dependency> |
---|
105 | <groupId>org.springframework.security</groupId> |
---|
106 | <artifactId>spring-security-web</artifactId> |
---|
107 | <version>${spring.version}</version> |
---|
108 | </dependency> |
---|
109 | <dependency> |
---|
110 | <groupId>org.springframework.security</groupId> |
---|
111 | <artifactId>spring-security-core</artifactId> |
---|
112 | <version>${spring.version}</version> |
---|
113 | </dependency> |
---|
114 | <dependency> |
---|
115 | <groupId>org.hsqldb</groupId> |
---|
116 | <artifactId>hsqldb</artifactId> |
---|
117 | <version>2.2.9</version> |
---|
118 | <scope>test</scope> |
---|
119 | <classifier>jdk5</classifier> |
---|
120 | </dependency> |
---|
121 | <dependency> |
---|
122 | <groupId>commons-dbcp</groupId> |
---|
123 | <artifactId>commons-dbcp</artifactId> |
---|
124 | <version>1.4</version> |
---|
125 | </dependency> |
---|
126 | <dependency> |
---|
127 | <groupId>org.springframework</groupId> |
---|
128 | <artifactId>spring-test</artifactId> |
---|
129 | <version>${spring.version}</version> |
---|
130 | <scope>test</scope> |
---|
131 | </dependency> |
---|
132 | <dependency> |
---|
133 | <groupId>commons-io</groupId> |
---|
134 | <artifactId>commons-io</artifactId> |
---|
135 | <version>2.2</version> |
---|
136 | </dependency> |
---|
137 | <dependency> |
---|
138 | <groupId>postgresql</groupId> |
---|
139 | <artifactId>postgresql</artifactId> |
---|
140 | <version>8.4-702.jdbc4</version> |
---|
141 | </dependency> |
---|
142 | |
---|
143 | <dependency> |
---|
144 | <groupId>cglib</groupId> |
---|
145 | <artifactId>cglib</artifactId> |
---|
146 | <version>2.2.2</version> |
---|
147 | </dependency> |
---|
148 | <dependency> |
---|
149 | <groupId>org.slf4j</groupId> |
---|
150 | <artifactId>slf4j-log4j12</artifactId> |
---|
151 | <version>${slf4j.version}</version> |
---|
152 | </dependency> |
---|
153 | <dependency> |
---|
154 | <groupId>de.mpg.mpgaai</groupId> |
---|
155 | <artifactId>mpgaai-jaas</artifactId> |
---|
156 | <version>1.3.2</version> |
---|
157 | <exclusions> |
---|
158 | <exclusion> |
---|
159 | <groupId>commons-logging</groupId> |
---|
160 | <artifactId>commons-logging</artifactId> |
---|
161 | </exclusion> |
---|
162 | </exclusions> |
---|
163 | </dependency> |
---|
164 | <dependency> |
---|
165 | <groupId>de.mpg.mpgaai</groupId> |
---|
166 | <artifactId>mpgaai-shhaa</artifactId> |
---|
167 | <version>${shibboleth.version}</version> |
---|
168 | <exclusions> |
---|
169 | <exclusion> |
---|
170 | <groupId>commons-logging</groupId> |
---|
171 | <artifactId>commons-logging</artifactId> |
---|
172 | </exclusion> |
---|
173 | </exclusions> |
---|
174 | </dependency> |
---|
175 | </dependencies> |
---|
176 | |
---|
177 | <!-- <profiles> |
---|
178 | <profile> |
---|
179 | <id>lux16</id> |
---|
180 | <activation> |
---|
181 | <activeByDefault>false</activeByDefault> |
---|
182 | </activation> |
---|
183 | <properties> |
---|
184 | <webXmlPath>src/main/webapp/WEB-INF/web-shib.xml</webXmlPath> |
---|
185 | web.xml for shibboleth authentication |
---|
186 | </properties> |
---|
187 | </profile> |
---|
188 | |
---|
189 | </profiles> |
---|
190 | --> |
---|
191 | |
---|
192 | <build> |
---|
193 | <finalName>annotator-backend-${project.version}</finalName> |
---|
194 | <resources> |
---|
195 | <resource> |
---|
196 | <directory>${basedir}/src/main/resources</directory> |
---|
197 | <filtering>true</filtering> |
---|
198 | </resource> |
---|
199 | </resources> |
---|
200 | <testResources> |
---|
201 | <testResource> |
---|
202 | <directory>src/main/</directory> |
---|
203 | <includes> |
---|
204 | <include>sql/DashishAnnotatorCreate.sql</include> |
---|
205 | </includes> |
---|
206 | </testResource> |
---|
207 | <testResource> |
---|
208 | <directory>src/test/resources</directory> |
---|
209 | </testResource> |
---|
210 | </testResources> |
---|
211 | <plugins> |
---|
212 | <plugin> |
---|
213 | <groupId>org.apache.maven.plugins</groupId> |
---|
214 | <artifactId>maven-compiler-plugin</artifactId> |
---|
215 | <inherited>true</inherited> |
---|
216 | <configuration> |
---|
217 | <source>1.6</source> |
---|
218 | <target>1.6</target> |
---|
219 | </configuration> |
---|
220 | </plugin> |
---|
221 | |
---|
222 | |
---|
223 | |
---|
224 | <plugin> |
---|
225 | <groupId>org.apache.maven.plugins</groupId> |
---|
226 | <artifactId>maven-war-plugin</artifactId> |
---|
227 | <version>2.3</version> |
---|
228 | <configuration> |
---|
229 | <webXml>${webXmlPath}</webXml> |
---|
230 | <webResources> |
---|
231 | <resource> |
---|
232 | <directory>src/main/webapp</directory> |
---|
233 | <filtering>true</filtering> |
---|
234 | <!-- <includes> |
---|
235 | <include>WEB-INF/web-shib.xml</include> |
---|
236 | </includes> --> |
---|
237 | </resource> |
---|
238 | </webResources> |
---|
239 | </configuration> |
---|
240 | </plugin> |
---|
241 | |
---|
242 | <plugin> |
---|
243 | <artifactId>maven-assembly-plugin</artifactId> |
---|
244 | <version>2.4</version> |
---|
245 | <executions> |
---|
246 | <execution> |
---|
247 | <id>make-assembly</id> |
---|
248 | <phase>package</phase> |
---|
249 | <goals> |
---|
250 | <goal>single</goal> |
---|
251 | </goals> |
---|
252 | <configuration> |
---|
253 | <descriptors> |
---|
254 | <descriptor>src/main/assembly/deploymenttarball.xml</descriptor> |
---|
255 | </descriptors> |
---|
256 | </configuration> |
---|
257 | </execution> |
---|
258 | </executions> |
---|
259 | </plugin> |
---|
260 | |
---|
261 | <!-- Run the application using "mvn embedded-glassfish:run" --> |
---|
262 | <plugin> |
---|
263 | <groupId>org.glassfish</groupId> |
---|
264 | <artifactId>maven-embedded-glassfish-plugin</artifactId> |
---|
265 | <version>${glassfish.version}</version> |
---|
266 | <configuration> |
---|
267 | <goalPrefix>embedded-glassfish</goalPrefix> |
---|
268 | <app>/Users/petwit/Documents/svn.clarin.eu/svn.clarin.eu/DASISH/t5.6/backend/annotator-backend/trunk/target/${project.build.finalName}.war</app> |
---|
269 | <autoDelete>true</autoDelete> |
---|
270 | <port>8080</port> |
---|
271 | </configuration> |
---|
272 | <dependencies> |
---|
273 | <dependency> |
---|
274 | <groupId>com.sun.jersey</groupId> |
---|
275 | <artifactId>jersey-servlet</artifactId> |
---|
276 | <version>3.0</version> |
---|
277 | </dependency> |
---|
278 | <dependency> |
---|
279 | <groupId>javax.servlet</groupId> |
---|
280 | <artifactId>javax.servlet-api</artifactId> |
---|
281 | <version>3.0.1</version> |
---|
282 | </dependency> |
---|
283 | </dependencies> |
---|
284 | </plugin> |
---|
285 | <plugin> |
---|
286 | <groupId>org.jvnet.jaxb2.maven2</groupId> |
---|
287 | <artifactId>maven-jaxb2-plugin</artifactId> |
---|
288 | <version>0.8.3</version> |
---|
289 | <executions> |
---|
290 | <execution> |
---|
291 | <id>jaxb-components</id> |
---|
292 | <goals> |
---|
293 | <goal>generate</goal> |
---|
294 | </goals> |
---|
295 | <configuration> |
---|
296 | <forceRegenerate>true</forceRegenerate> |
---|
297 | <bindingDirectory>${basedir}/src/main/resources</bindingDirectory> |
---|
298 | <generatePackage>eu.dasish.annotation.schema</generatePackage> |
---|
299 | <outputDirectory>${basedir}/src/generated/jaxb</outputDirectory> |
---|
300 | <schemas> |
---|
301 | <schema> |
---|
302 | <dependencyResource> |
---|
303 | <groupId>eu.dasish.annotation</groupId> |
---|
304 | <artifactId>annotator-schema</artifactId> |
---|
305 | <version>1.0-SNAPSHOT</version> |
---|
306 | <resource>DASISH-schema.xsd</resource> |
---|
307 | </dependencyResource> |
---|
308 | </schema> |
---|
309 | </schemas> |
---|
310 | <catalog>src/main/resources/catalog.cat</catalog> |
---|
311 | <catalogResolver>org.jvnet.jaxb2.maven2.resolver.tools.ClasspathCatalogResolver</catalogResolver> |
---|
312 | </configuration> |
---|
313 | </execution> |
---|
314 | </executions> |
---|
315 | </plugin> |
---|
316 | <!-- unpacking the schema form annotator-achema project --> |
---|
317 | <plugin> |
---|
318 | <groupId>org.apache.maven.plugins</groupId> |
---|
319 | <artifactId>maven-dependency-plugin</artifactId> |
---|
320 | <version>2.9</version> |
---|
321 | <executions> |
---|
322 | <execution> |
---|
323 | <id>unpack</id> |
---|
324 | <phase>package</phase> |
---|
325 | <goals> |
---|
326 | <goal>unpack</goal> |
---|
327 | </goals> |
---|
328 | <configuration> |
---|
329 | <artifactItems> |
---|
330 | <artifactItem> |
---|
331 | <groupId>eu.dasish.annotation</groupId> |
---|
332 | <artifactId>annotator-schema</artifactId> |
---|
333 | <version>1.0-SNAPSHOT</version> |
---|
334 | <type>jar</type> |
---|
335 | <overWrite>true</overWrite> |
---|
336 | <outputDirectory>${basedir}/src/main/webapp/SCHEMA</outputDirectory> |
---|
337 | <destFileName>annotator-schema-dynamic-copy.jar</destFileName> |
---|
338 | <includes>**/*.xsd</includes> |
---|
339 | <excludes>**/*.class, **/*.xml</excludes> |
---|
340 | </artifactItem> |
---|
341 | </artifactItems> |
---|
342 | </configuration> |
---|
343 | </execution> |
---|
344 | </executions> |
---|
345 | </plugin> |
---|
346 | |
---|
347 | <plugin> |
---|
348 | <!-- |
---|
349 | License plugin checks for presence of license header in all source files (with some exceptions, see excludes below). |
---|
350 | You can use this plugin to actually insert or fix the license headers by running maven with the following goal: |
---|
351 | |
---|
352 | mvn license:format |
---|
353 | |
---|
354 | For more info, see <http://mathieu.carbou.free.fr/p/maven-license-plugin/>. |
---|
355 | --> |
---|
356 | <groupId>com.mycila.maven-license-plugin</groupId> |
---|
357 | <artifactId>maven-license-plugin</artifactId> |
---|
358 | <version>1.9.0</version> |
---|
359 | <configuration> |
---|
360 | <header>/src/license-header.txt</header> |
---|
361 | <strictCheck>false</strictCheck> |
---|
362 | <properties> |
---|
363 | <year>${plugin.license.copyrightYear}</year> |
---|
364 | <organization>${project.organization.name}</organization> |
---|
365 | </properties> |
---|
366 | <mapping> |
---|
367 | <svg>XML_STYLE</svg> |
---|
368 | <imdi>XML_STYLE</imdi> |
---|
369 | <cmdi>XML_STYLE</cmdi> |
---|
370 | </mapping> |
---|
371 | <excludes> |
---|
372 | <exclude>nbactions*</exclude> |
---|
373 | <exclude>nb-configuration*</exclude> |
---|
374 | <exclude>**/*.txt</exclude> |
---|
375 | <exclude>src/main/resources/xml.xsd</exclude> |
---|
376 | </excludes> |
---|
377 | </configuration> |
---|
378 | <executions> |
---|
379 | <execution> |
---|
380 | <goals> |
---|
381 | <goal>check</goal> |
---|
382 | </goals> |
---|
383 | </execution> |
---|
384 | </executions> |
---|
385 | </plugin> |
---|
386 | <plugin> |
---|
387 | <groupId>org.apache.maven.plugins</groupId> |
---|
388 | <artifactId>maven-javadoc-plugin</artifactId> |
---|
389 | <version>2.9.1</version> |
---|
390 | </plugin> |
---|
391 | </plugins> |
---|
392 | </build> |
---|
393 | |
---|
394 | <properties> |
---|
395 | <jersey.version>1.17.1</jersey.version> |
---|
396 | <spring.version>3.2.0.RELEASE</spring.version> |
---|
397 | <slf4j.version>1.7.5</slf4j.version> |
---|
398 | <glassfish.version>3.1.1</glassfish.version> |
---|
399 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
---|
400 | <netbeans.hint.license>gpl20</netbeans.hint.license> |
---|
401 | <plugin.license.copyrightYear>2013</plugin.license.copyrightYear> |
---|
402 | <shibboleth.version>1.0.4</shibboleth.version> |
---|
403 | </properties> |
---|
404 | |
---|
405 | <repositories> |
---|
406 | <repository> |
---|
407 | <id>MPI</id> |
---|
408 | <name>MPI LAT Repository/</name> |
---|
409 | <url>http://lux15.mpi.nl/nexus/content/groups/public</url> |
---|
410 | </repository> |
---|
411 | <repository> |
---|
412 | <id>MPI-Snapshot</id> |
---|
413 | <name>MPI LAT Repository/</name> |
---|
414 | <url>http://lux15.mpi.nl/nexus/content/repositories/MPI-Snapshots</url> |
---|
415 | </repository> |
---|
416 | </repositories> |
---|
417 | |
---|
418 | |
---|
419 | </project> |
---|