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