source: DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/pom.xml @ 5401

Last change on this file since 5401 was 5401, checked in by olhsha@mpi.nl, 10 years ago

minor adjustemnts

File size: 15.0 KB
Line 
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>${project.version}</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        <testResources>
195            <testResource>
196                <directory>src/main/</directory>
197                <includes>
198                    <include>sql/DashishAnnotatorCreate.sql</include>
199                </includes>
200            </testResource>
201            <testResource>
202                <directory>src/test/resources</directory>
203            </testResource>
204        </testResources>
205        <plugins>
206            <plugin>
207                <groupId>org.apache.maven.plugins</groupId>
208                <artifactId>maven-compiler-plugin</artifactId>
209                <inherited>true</inherited>
210                <configuration>
211                    <source>1.6</source>
212                    <target>1.6</target>
213                </configuration>
214            </plugin>
215           
216 
217           
218            <plugin>
219                <groupId>org.apache.maven.plugins</groupId>
220                <artifactId>maven-war-plugin</artifactId>
221                <version>2.3</version>
222                <configuration>
223                    <webXml>${webXmlPath}</webXml>
224                    <webResources>
225                        <resource>
226                            <directory>src/main/webapp</directory>
227                            <filtering>true</filtering>
228<!--                            <includes> 
229                                <include>WEB-INF/web-shib.xml</include>
230                            </includes> -->
231                        </resource>
232                    </webResources>
233                </configuration>
234            </plugin>
235           
236           <plugin>
237                <artifactId>maven-assembly-plugin</artifactId>
238                <version>2.4</version>
239                <executions>
240                    <execution>
241                        <id>make-assembly</id>
242                        <phase>package</phase>
243                        <goals>
244                            <goal>single</goal>
245                        </goals>
246                        <configuration>
247                            <descriptors>
248                                <descriptor>src/main/assembly/deploymenttarball.xml</descriptor>
249                            </descriptors>
250                        </configuration>
251                    </execution>
252                </executions>
253            </plugin>
254           
255            <!-- Run the application using "mvn embedded-glassfish:run" -->
256            <plugin>
257                <groupId>org.glassfish</groupId>
258                <artifactId>maven-embedded-glassfish-plugin</artifactId>
259                <version>${glassfish.version}</version>
260                <configuration>
261                    <goalPrefix>embedded-glassfish</goalPrefix>
262                    <app>/Users/petwit/Documents/svn.clarin.eu/svn.clarin.eu/DASISH/t5.6/backend/annotator-backend/trunk/target/${project.build.finalName}.war</app>
263                    <autoDelete>true</autoDelete>
264                    <port>8080</port>
265                </configuration>
266                <dependencies>
267                    <dependency>
268                        <groupId>com.sun.jersey</groupId>
269                        <artifactId>jersey-servlet</artifactId>
270                        <version>3.0</version>
271                    </dependency>
272                    <dependency>
273                        <groupId>javax.servlet</groupId>
274                        <artifactId>javax.servlet-api</artifactId>
275                        <version>3.0.1</version>                     
276                    </dependency>
277                </dependencies>
278            </plugin>
279            <plugin>
280                <groupId>org.jvnet.jaxb2.maven2</groupId>
281                <artifactId>maven-jaxb2-plugin</artifactId>
282                <version>0.8.3</version>
283                <executions>
284                    <execution>
285                        <id>jaxb-components</id>
286                        <goals>
287                            <goal>generate</goal>
288                        </goals>
289                        <configuration>
290                            <forceRegenerate>true</forceRegenerate>
291                            <bindingDirectory>${basedir}/src/main/resources</bindingDirectory>
292                            <generatePackage>eu.dasish.annotation.schema</generatePackage>                 
293                            <outputDirectory>${basedir}/src/generated/jaxb</outputDirectory>
294                            <schemas>
295                                <schema>
296                                    <dependencyResource>
297                                        <groupId>eu.dasish.annotation</groupId>
298                                        <artifactId>annotator-schema</artifactId>
299                                        <version>1.0-SNAPSHOT</version>
300                                        <resource>DASISH-schema.xsd</resource>
301                                    </dependencyResource>
302                                </schema>
303                            </schemas>
304                            <catalog>src/main/resources/catalog.cat</catalog>
305                            <catalogResolver>org.jvnet.jaxb2.maven2.resolver.tools.ClasspathCatalogResolver</catalogResolver>
306                        </configuration>
307                    </execution>
308                </executions>
309            </plugin>
310            <plugin>
311                <!--                                             
312                    License plugin checks for presence of license header in all source files (with some exceptions, see excludes below).
313                    You can use this plugin to actually insert or fix the license headers by running maven with the following goal:
314
315                    mvn license:format
316
317                            For more info, see <http://mathieu.carbou.free.fr/p/maven-license-plugin/>.
318                        -->
319                <groupId>com.mycila.maven-license-plugin</groupId>
320                <artifactId>maven-license-plugin</artifactId>
321                <version>1.9.0</version> 
322                <configuration>
323                    <header>/src/license-header.txt</header>
324                    <strictCheck>false</strictCheck>
325                    <properties>
326                        <year>${plugin.license.copyrightYear}</year>
327                        <organization>${project.organization.name}</organization>
328                    </properties>
329                    <mapping>
330                        <svg>XML_STYLE</svg>
331                        <imdi>XML_STYLE</imdi>
332                        <cmdi>XML_STYLE</cmdi>
333                    </mapping>
334                    <excludes>
335                        <exclude>nbactions*</exclude>
336                        <exclude>nb-configuration*</exclude>
337                        <exclude>**/*.txt</exclude>
338                        <exclude>src/main/resources/xml.xsd</exclude>
339                    </excludes>
340                </configuration>
341                <executions>
342                    <execution>
343                        <goals>
344                            <goal>check</goal>
345                        </goals>
346                    </execution>
347                </executions>
348            </plugin> 
349            <plugin>
350                <groupId>org.apache.maven.plugins</groupId>
351                <artifactId>maven-javadoc-plugin</artifactId>
352                <version>2.9.1</version>
353            </plugin>   
354        </plugins>
355    </build>     
356           
357    <properties>
358        <jersey.version>1.17.1</jersey.version>
359        <spring.version>3.2.0.RELEASE</spring.version>
360        <slf4j.version>1.7.5</slf4j.version>
361        <glassfish.version>3.1.1</glassfish.version>
362        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>       
363        <netbeans.hint.license>gpl20</netbeans.hint.license> 
364        <plugin.license.copyrightYear>2013</plugin.license.copyrightYear>
365        <project.version>1.5</project.version>
366        <shibboleth.version>1.0.4</shibboleth.version>
367    </properties>
368   
369    <repositories>
370        <repository>
371            <id>MPI</id>
372            <name>MPI LAT Repository/</name>
373            <url>http://lux15.mpi.nl/nexus/content/groups/public</url>
374        </repository>
375        <repository>
376            <id>MPI-Snapshot</id>
377            <name>MPI LAT Repository/</name>
378            <url>http://lux15.mpi.nl/nexus/content/repositories/MPI-Snapshots</url>
379        </repository>
380    </repositories>
381   
382   
383</project>
Note: See TracBrowser for help on using the repository browser.