Mercurial > hg > digilib
annotate webapp/pom.xml @ 1507:8c7f1ef5a67f
added auth token in cookie. cookie name configurable as "auth-token-cookie".
author | robcast |
---|---|
date | Thu, 28 Apr 2016 19:40:47 +0200 |
parents | 2197975ec945 |
children | 70a487a10319 |
rev | line source |
---|---|
884 | 1 <?xml version="1.0"?> |
895 | 2 <project |
1162 | 3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
4 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
5 <modelVersion>4.0.0</modelVersion> | |
6 <parent> | |
7 <artifactId>digilib</artifactId> | |
8 <groupId>digilib</groupId> | |
1492
2197975ec945
first version of digilib 2.4 with newly refactored authentication and authorization.
robcast
parents:
1466
diff
changeset
|
9 <version>2.4-SNAPSHOT</version> |
1162 | 10 </parent> |
11 <artifactId>digilib-webapp</artifactId> | |
12 <name>digilib-webapp</name> | |
13 <description>The Digital Image Library - web application server and HTML and JS clients.</description> | |
1279
828b6c8b1b19
changed links in documentation (and poms) to new sourceforge site.
robcast
parents:
1233
diff
changeset
|
14 <url>http://digilib.sourceforge.net</url> |
1162 | 15 <packaging>war</packaging> |
1448
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
16 |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
17 <properties> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
18 <skipTests>true</skipTests> |
1466 | 19 <servletapi>3</servletapi> |
1448
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
20 </properties> |
884 | 21 |
1162 | 22 <build> |
23 <pluginManagement> | |
24 <plugins> | |
25 <plugin> | |
26 <groupId>org.apache.maven.plugins</groupId> | |
27 <artifactId>maven-war-plugin</artifactId> | |
1401 | 28 <version>2.6</version> |
1162 | 29 </plugin> |
30 <plugin> | |
31 <groupId>org.codehaus.mojo</groupId> | |
32 <artifactId>license-maven-plugin</artifactId> | |
33 <version>1.4</version> | |
34 <configuration> | |
35 <includes> | |
36 <include>**/*digilib*.js</include> | |
37 <include>**/*.jsp</include> | |
38 </includes> | |
39 </configuration> | |
40 </plugin> | |
1463 | 41 <plugin> |
42 <groupId>org.apache.maven.plugins</groupId> | |
43 <artifactId>maven-surefire-plugin</artifactId> | |
44 <version>2.19</version> | |
45 <configuration> | |
46 <skip>${skipTests}</skip> | |
47 </configuration> | |
48 </plugin> | |
49 </plugins> | |
1162 | 50 </pluginManagement> |
1463 | 51 <plugins> |
1464
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
52 <plugin> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
53 <groupId>com.samaxes.maven</groupId> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
54 <artifactId>minify-maven-plugin</artifactId> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
55 <version>1.7.4</version> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
56 <executions> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
57 <execution> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
58 <id>digilib-basic-minify</id> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
59 <configuration> |
1465 | 60 <!-- JS files --> |
1464
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
61 <jsSourceDir>jquery</jsSourceDir> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
62 <jsTargetDir></jsTargetDir> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
63 <jsSourceFiles> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
64 <jsSourceFile>jquery.digilib.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
65 <jsSourceFile>jquery.digilib.geometry.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
66 <jsSourceFile>jquery.digilib.arrows.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
67 <jsSourceFile>jquery.digilib.buttons.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
68 <jsSourceFile>jquery.digilib.dialogs.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
69 <jsSourceFile>jquery.digilib.sliders.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
70 <jsSourceFile>jquery.digilib.birdseye.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
71 <jsSourceFile>jquery.digilib.marks.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
72 <jsSourceFile>jquery.digilib.regions.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
73 </jsSourceFiles> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
74 <jsFinalFile>jquery.digilib-basic.js</jsFinalFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
75 <jsEngine>YUI</jsEngine> |
1465 | 76 <closureCreateSourceMap>true</closureCreateSourceMap> |
77 <!-- CSS files --> | |
78 <cssSourceDir>jquery</cssSourceDir> | |
79 <cssSourceFiles> | |
80 <cssSourceFile>jquery.digilib.css</cssSourceFile> | |
1466 | 81 <cssSourceFile>jquery.digilib.buttons-full-32-sprite.css</cssSourceFile> |
1465 | 82 <cssSourceFile>jquery.range.css</cssSourceFile> |
83 </cssSourceFiles> | |
84 <cssFinalFile>jquery.digilib-basic.css</cssFinalFile> | |
1464
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
85 </configuration> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
86 <goals> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
87 <goal>minify</goal> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
88 </goals> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
89 </execution> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
90 <execution> |
1465 | 91 <id>digilib-ann-minify</id> |
92 <configuration> | |
93 <jsSourceDir>jquery</jsSourceDir> | |
94 <jsTargetDir></jsTargetDir> | |
95 <jsSourceFiles> | |
96 <jsSourceFile>jquery.digilib.js</jsSourceFile> | |
97 <jsSourceFile>jquery.digilib.geometry.js</jsSourceFile> | |
98 <jsSourceFile>jquery.digilib.arrows.js</jsSourceFile> | |
99 <jsSourceFile>jquery.digilib.buttons.js</jsSourceFile> | |
100 <jsSourceFile>jquery.digilib.dialogs.js</jsSourceFile> | |
101 <jsSourceFile>jquery.digilib.sliders.js</jsSourceFile> | |
102 <jsSourceFile>jquery.digilib.birdseye.js</jsSourceFile> | |
103 <jsSourceFile>jquery.digilib.marks.js</jsSourceFile> | |
104 <jsSourceFile>jquery.digilib.regions.js</jsSourceFile> | |
105 <jsSourceFile>jquery.digilib.vector.js</jsSourceFile> | |
106 <jsSourceFile>jquery.digilib.annotator.js</jsSourceFile> | |
107 <jsSourceFile>showdown.js</jsSourceFile> | |
108 </jsSourceFiles> | |
109 <jsFinalFile>jquery.digilib-ann.js</jsFinalFile> | |
110 <jsEngine>YUI</jsEngine> | |
111 <closureCreateSourceMap>true</closureCreateSourceMap> | |
112 <!-- CSS files --> | |
113 <cssSourceDir>jquery</cssSourceDir> | |
114 <cssSourceFiles> | |
115 <cssSourceFile>jquery.digilib.css</cssSourceFile> | |
1466 | 116 <cssSourceFile>jquery.digilib.buttons-full-32-sprite.css</cssSourceFile> |
1465 | 117 <cssSourceFile>jquery.range.css</cssSourceFile> |
118 </cssSourceFiles> | |
119 <cssFinalFile>jquery.digilib-ann.css</cssFinalFile> | |
120 </configuration> | |
121 <goals> | |
122 <goal>minify</goal> | |
123 </goals> | |
124 </execution> | |
125 <execution> | |
1464
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
126 <id>cookie-range-minify</id> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
127 <configuration> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
128 <jsSourceDir>jquery</jsSourceDir> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
129 <jsTargetDir></jsTargetDir> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
130 <jsSourceFiles> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
131 <jsSourceFile>jquery.cookie.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
132 <jsSourceFile>jquery.range.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
133 </jsSourceFiles> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
134 <jsFinalFile>jquery.cookie-range.js</jsFinalFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
135 <jsEngine>YUI</jsEngine> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
136 </configuration> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
137 <goals> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
138 <goal>minify</goal> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
139 </goals> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
140 </execution> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
141 </executions> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
142 </plugin> |
1463 | 143 </plugins> |
1162 | 144 </build> |
145 <profiles> | |
146 <profile> | |
147 <id>servlet2</id> | |
148 <activation> | |
149 <property> | |
150 <name>servletapi</name> | |
151 <value>2</value> | |
152 </property> | |
153 </activation> | |
154 <dependencies> | |
155 <dependency> | |
156 <groupId>digilib</groupId> | |
157 <artifactId>digilib-servlet2</artifactId> | |
158 <type>jar</type> | |
159 <scope>compile</scope> | |
160 </dependency> | |
161 </dependencies> | |
162 <build> | |
163 <plugins> | |
164 <plugin> | |
165 <groupId>org.apache.maven.plugins</groupId> | |
166 <artifactId>maven-war-plugin</artifactId> | |
167 <configuration> | |
1422 | 168 <webXml>${basedir}/src/main/webapp/WEB-INF/web-2.4.xml</webXml> |
1162 | 169 <classifier>srv2</classifier> |
170 </configuration> | |
171 </plugin> | |
172 </plugins> | |
173 </build> | |
174 </profile> | |
175 <profile> | |
176 <id>servlet3</id> | |
177 <activation> | |
1195 | 178 <activeByDefault>true</activeByDefault> |
1162 | 179 <property> |
180 <name>servletapi</name> | |
181 <value>3</value> | |
182 </property> | |
183 </activation> | |
184 <dependencies> | |
185 <dependency> | |
186 <groupId>digilib</groupId> | |
187 <artifactId>digilib-servlet3</artifactId> | |
188 <type>jar</type> | |
189 <scope>compile</scope> | |
190 </dependency> | |
191 </dependencies> | |
192 <build> | |
193 <plugins> | |
194 <plugin> | |
195 <groupId>org.apache.maven.plugins</groupId> | |
196 <artifactId>maven-war-plugin</artifactId> | |
197 <configuration> | |
198 <webXml>${basedir}/src/main/webapp/WEB-INF/web-3.0.xml</webXml> | |
199 <classifier>srv3</classifier> | |
200 </configuration> | |
201 </plugin> | |
202 </plugins> | |
203 </build> | |
204 </profile> | |
205 <profile> | |
206 <id>pdf</id> | |
207 <dependencies> | |
208 <dependency> | |
209 <groupId>digilib</groupId> | |
210 <artifactId>digilib-pdf</artifactId> | |
211 <type>jar</type> | |
212 <scope>compile</scope> | |
213 </dependency> | |
214 </dependencies> | |
215 </profile> | |
216 <profile> | |
217 <id>text</id> | |
218 <dependencies> | |
219 <dependency> | |
220 <groupId>digilib</groupId> | |
221 <artifactId>digilib-text</artifactId> | |
222 <type>jar</type> | |
223 <scope>compile</scope> | |
224 </dependency> | |
225 </dependencies> | |
226 </profile> | |
227 <profile> | |
228 <id>codec-jai</id> | |
229 <dependencies> | |
230 <dependency> | |
231 <groupId>digilib</groupId> | |
232 <artifactId>digilib-common-jai</artifactId> | |
233 <type>jar</type> | |
234 <scope>compile</scope> | |
235 </dependency> | |
236 </dependencies> | |
237 </profile> | |
238 <profile> | |
239 <id>codec-imagej</id> | |
240 <dependencies> | |
241 <dependency> | |
242 <groupId>digilib</groupId> | |
243 <artifactId>digilib-common-imagej</artifactId> | |
244 <type>jar</type> | |
245 <scope>compile</scope> | |
246 </dependency> | |
247 </dependencies> | |
248 </profile> | |
249 <profile> | |
250 <id>codec-bioformats</id> | |
251 <dependencies> | |
252 <dependency> | |
253 <groupId>digilib</groupId> | |
254 <artifactId>digilib-common-bioformats</artifactId> | |
255 <type>jar</type> | |
256 <scope>compile</scope> | |
257 </dependency> | |
258 </dependencies> | |
259 </profile> | |
1447 | 260 <profile> |
261 <id>cors-filter</id> | |
1454
0f276f0cc556
remove global CORS servlet filter. add cors "*" in IIIF info request, controlled by config option.
robcast
parents:
1450
diff
changeset
|
262 <!-- external servlet filter to add CORS headers. enable in web.xml --> |
1447 | 263 <dependencies> |
264 <dependency> | |
265 <groupId>org.eclipse.jetty</groupId> | |
266 <artifactId>jetty-servlets</artifactId> | |
1448
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
267 <version>9.2.13.v20150730</version> |
1447 | 268 </dependency> |
269 </dependencies> | |
270 </profile> | |
1466 | 271 <profile> |
272 <id>create-sprites</id> | |
273 <!-- create the button image sprite and CSS file --> | |
274 <build> | |
275 <plugins> | |
276 <plugin> | |
277 <groupId>net.jangaroo</groupId> | |
278 <artifactId>smartsprites-maven-plugin</artifactId> | |
279 <version>1.8</version> | |
280 <configuration> | |
281 <rootDirPath>src/main/webapp/jquery</rootDirPath> | |
282 <outputDirPath>${basedir}/src/main/webapp/jquery/</outputDirPath> | |
283 <logLevel>INFO</logLevel> | |
284 <spritePngDepth>AUTO</spritePngDepth> | |
285 <spritePngIeSix>false</spritePngIeSix> | |
286 <cssFileEncoding>UTF-8</cssFileEncoding> | |
287 <cssFileSuffix>-sprite</cssFileSuffix> | |
288 </configuration> | |
289 <executions> | |
290 <execution> | |
291 <id>createSprites</id> | |
292 <phase>generate-resources</phase> | |
293 <goals> | |
294 <goal>createSprites</goal> | |
295 </goals> | |
296 </execution> | |
297 </executions> | |
298 </plugin> | |
299 </plugins> | |
300 </build> | |
301 </profile> | |
1162 | 302 </profiles> |
1447 | 303 <dependencies> |
1448
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
304 <dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
305 <groupId>org.eclipse.jetty</groupId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
306 <artifactId>jetty-servlet</artifactId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
307 <version>9.2.13.v20150730</version> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
308 <scope>test</scope> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
309 </dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
310 <dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
311 <groupId>org.eclipse.jetty</groupId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
312 <artifactId>jetty-http</artifactId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
313 <version>9.2.13.v20150730</version> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
314 <scope>test</scope> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
315 </dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
316 <dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
317 <groupId>junit</groupId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
318 <artifactId>junit</artifactId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
319 <version>4.12</version> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
320 <scope>test</scope> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
321 </dependency> |
1447 | 322 </dependencies> |
884 | 323 </project> |