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