Mercurial > hg > digilib
annotate webapp/pom.xml @ 1465:091cd46e1f76
more minified resources.
author | robcast |
---|---|
date | Mon, 16 Nov 2015 16:00:04 +0100 |
parents | 8821a80fd9bc |
children | 45173d76aad5 |
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> | |
1233 | 9 <version>2.3-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> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
19 </properties> |
884 | 20 |
1162 | 21 <build> |
22 <pluginManagement> | |
23 <plugins> | |
24 <plugin> | |
25 <groupId>org.apache.maven.plugins</groupId> | |
26 <artifactId>maven-war-plugin</artifactId> | |
1401 | 27 <version>2.6</version> |
1162 | 28 </plugin> |
29 <plugin> | |
30 <groupId>org.codehaus.mojo</groupId> | |
31 <artifactId>license-maven-plugin</artifactId> | |
32 <version>1.4</version> | |
33 <configuration> | |
34 <includes> | |
35 <include>**/*digilib*.js</include> | |
36 <include>**/*.jsp</include> | |
37 </includes> | |
38 </configuration> | |
39 </plugin> | |
1463 | 40 <plugin> |
41 <groupId>org.apache.maven.plugins</groupId> | |
42 <artifactId>maven-surefire-plugin</artifactId> | |
43 <version>2.19</version> | |
44 <configuration> | |
45 <skip>${skipTests}</skip> | |
46 </configuration> | |
47 </plugin> | |
48 </plugins> | |
1162 | 49 </pluginManagement> |
1463 | 50 <plugins> |
1464
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
51 <plugin> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
52 <groupId>com.samaxes.maven</groupId> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
53 <artifactId>minify-maven-plugin</artifactId> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
54 <version>1.7.4</version> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
55 <executions> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
56 <execution> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
57 <id>digilib-basic-minify</id> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
58 <configuration> |
1465 | 59 <!-- JS files --> |
1464
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
60 <jsSourceDir>jquery</jsSourceDir> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
61 <jsTargetDir></jsTargetDir> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
62 <jsSourceFiles> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
63 <jsSourceFile>jquery.digilib.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
64 <jsSourceFile>jquery.digilib.geometry.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
65 <jsSourceFile>jquery.digilib.arrows.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
66 <jsSourceFile>jquery.digilib.buttons.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
67 <jsSourceFile>jquery.digilib.dialogs.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
68 <jsSourceFile>jquery.digilib.sliders.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
69 <jsSourceFile>jquery.digilib.birdseye.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
70 <jsSourceFile>jquery.digilib.marks.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
71 <jsSourceFile>jquery.digilib.regions.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
72 </jsSourceFiles> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
73 <jsFinalFile>jquery.digilib-basic.js</jsFinalFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
74 <jsEngine>YUI</jsEngine> |
1465 | 75 <closureCreateSourceMap>true</closureCreateSourceMap> |
76 <!-- CSS files --> | |
77 <cssSourceDir>jquery</cssSourceDir> | |
78 <cssSourceFiles> | |
79 <cssSourceFile>jquery.digilib.css</cssSourceFile> | |
80 <cssSourceFile>jquery.range.css</cssSourceFile> | |
81 </cssSourceFiles> | |
82 <cssFinalFile>jquery.digilib-basic.css</cssFinalFile> | |
1464
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
83 </configuration> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
84 <goals> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
85 <goal>minify</goal> |
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 </execution> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
88 <execution> |
1465 | 89 <id>digilib-ann-minify</id> |
90 <configuration> | |
91 <jsSourceDir>jquery</jsSourceDir> | |
92 <jsTargetDir></jsTargetDir> | |
93 <jsSourceFiles> | |
94 <jsSourceFile>jquery.digilib.js</jsSourceFile> | |
95 <jsSourceFile>jquery.digilib.geometry.js</jsSourceFile> | |
96 <jsSourceFile>jquery.digilib.arrows.js</jsSourceFile> | |
97 <jsSourceFile>jquery.digilib.buttons.js</jsSourceFile> | |
98 <jsSourceFile>jquery.digilib.dialogs.js</jsSourceFile> | |
99 <jsSourceFile>jquery.digilib.sliders.js</jsSourceFile> | |
100 <jsSourceFile>jquery.digilib.birdseye.js</jsSourceFile> | |
101 <jsSourceFile>jquery.digilib.marks.js</jsSourceFile> | |
102 <jsSourceFile>jquery.digilib.regions.js</jsSourceFile> | |
103 <jsSourceFile>jquery.digilib.vector.js</jsSourceFile> | |
104 <jsSourceFile>jquery.digilib.annotator.js</jsSourceFile> | |
105 <jsSourceFile>showdown.js</jsSourceFile> | |
106 </jsSourceFiles> | |
107 <jsFinalFile>jquery.digilib-ann.js</jsFinalFile> | |
108 <jsEngine>YUI</jsEngine> | |
109 <closureCreateSourceMap>true</closureCreateSourceMap> | |
110 <!-- CSS files --> | |
111 <cssSourceDir>jquery</cssSourceDir> | |
112 <cssSourceFiles> | |
113 <cssSourceFile>jquery.digilib.css</cssSourceFile> | |
114 <cssSourceFile>jquery.range.css</cssSourceFile> | |
115 </cssSourceFiles> | |
116 <cssFinalFile>jquery.digilib-ann.css</cssFinalFile> | |
117 </configuration> | |
118 <goals> | |
119 <goal>minify</goal> | |
120 </goals> | |
121 </execution> | |
122 <execution> | |
1464
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
123 <id>cookie-range-minify</id> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
124 <configuration> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
125 <jsSourceDir>jquery</jsSourceDir> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
126 <jsTargetDir></jsTargetDir> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
127 <jsSourceFiles> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
128 <jsSourceFile>jquery.cookie.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
129 <jsSourceFile>jquery.range.js</jsSourceFile> |
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 <jsFinalFile>jquery.cookie-range.js</jsFinalFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
132 <jsEngine>YUI</jsEngine> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
133 </configuration> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
134 <goals> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
135 <goal>minify</goal> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
136 </goals> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
137 </execution> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
138 </executions> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
139 </plugin> |
1463 | 140 </plugins> |
1162 | 141 </build> |
142 <profiles> | |
143 <profile> | |
144 <id>servlet2</id> | |
145 <activation> | |
146 <property> | |
147 <name>servletapi</name> | |
148 <value>2</value> | |
149 </property> | |
150 </activation> | |
151 <dependencies> | |
152 <dependency> | |
153 <groupId>digilib</groupId> | |
154 <artifactId>digilib-servlet2</artifactId> | |
155 <type>jar</type> | |
156 <scope>compile</scope> | |
157 </dependency> | |
158 </dependencies> | |
159 <build> | |
160 <plugins> | |
161 <plugin> | |
162 <groupId>org.apache.maven.plugins</groupId> | |
163 <artifactId>maven-war-plugin</artifactId> | |
164 <configuration> | |
1422 | 165 <webXml>${basedir}/src/main/webapp/WEB-INF/web-2.4.xml</webXml> |
1162 | 166 <classifier>srv2</classifier> |
167 </configuration> | |
168 </plugin> | |
169 </plugins> | |
170 </build> | |
171 </profile> | |
172 <profile> | |
173 <id>servlet3</id> | |
174 <activation> | |
1195 | 175 <activeByDefault>true</activeByDefault> |
1162 | 176 <property> |
177 <name>servletapi</name> | |
178 <value>3</value> | |
179 </property> | |
180 </activation> | |
181 <dependencies> | |
182 <dependency> | |
183 <groupId>digilib</groupId> | |
184 <artifactId>digilib-servlet3</artifactId> | |
185 <type>jar</type> | |
186 <scope>compile</scope> | |
187 </dependency> | |
188 </dependencies> | |
189 <build> | |
190 <plugins> | |
191 <plugin> | |
192 <groupId>org.apache.maven.plugins</groupId> | |
193 <artifactId>maven-war-plugin</artifactId> | |
194 <configuration> | |
195 <webXml>${basedir}/src/main/webapp/WEB-INF/web-3.0.xml</webXml> | |
196 <classifier>srv3</classifier> | |
197 </configuration> | |
198 </plugin> | |
199 </plugins> | |
200 </build> | |
201 </profile> | |
202 <profile> | |
203 <id>pdf</id> | |
204 <dependencies> | |
205 <dependency> | |
206 <groupId>digilib</groupId> | |
207 <artifactId>digilib-pdf</artifactId> | |
208 <type>jar</type> | |
209 <scope>compile</scope> | |
210 </dependency> | |
211 </dependencies> | |
212 </profile> | |
213 <profile> | |
214 <id>text</id> | |
215 <dependencies> | |
216 <dependency> | |
217 <groupId>digilib</groupId> | |
218 <artifactId>digilib-text</artifactId> | |
219 <type>jar</type> | |
220 <scope>compile</scope> | |
221 </dependency> | |
222 </dependencies> | |
223 </profile> | |
224 <profile> | |
225 <id>codec-jai</id> | |
226 <dependencies> | |
227 <dependency> | |
228 <groupId>digilib</groupId> | |
229 <artifactId>digilib-common-jai</artifactId> | |
230 <type>jar</type> | |
231 <scope>compile</scope> | |
232 </dependency> | |
233 </dependencies> | |
234 </profile> | |
235 <profile> | |
236 <id>codec-imagej</id> | |
237 <dependencies> | |
238 <dependency> | |
239 <groupId>digilib</groupId> | |
240 <artifactId>digilib-common-imagej</artifactId> | |
241 <type>jar</type> | |
242 <scope>compile</scope> | |
243 </dependency> | |
244 </dependencies> | |
245 </profile> | |
246 <profile> | |
247 <id>codec-bioformats</id> | |
248 <dependencies> | |
249 <dependency> | |
250 <groupId>digilib</groupId> | |
251 <artifactId>digilib-common-bioformats</artifactId> | |
252 <type>jar</type> | |
253 <scope>compile</scope> | |
254 </dependency> | |
255 </dependencies> | |
256 </profile> | |
1447 | 257 <profile> |
258 <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
|
259 <!-- external servlet filter to add CORS headers. enable in web.xml --> |
1447 | 260 <dependencies> |
261 <dependency> | |
262 <groupId>org.eclipse.jetty</groupId> | |
263 <artifactId>jetty-servlets</artifactId> | |
1448
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
264 <version>9.2.13.v20150730</version> |
1447 | 265 </dependency> |
266 </dependencies> | |
267 </profile> | |
1162 | 268 </profiles> |
1447 | 269 <dependencies> |
1448
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
270 <dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
271 <groupId>org.eclipse.jetty</groupId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
272 <artifactId>jetty-servlet</artifactId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
273 <version>9.2.13.v20150730</version> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
274 <scope>test</scope> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
275 </dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
276 <dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
277 <groupId>org.eclipse.jetty</groupId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
278 <artifactId>jetty-http</artifactId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
279 <version>9.2.13.v20150730</version> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
280 <scope>test</scope> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
281 </dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
282 <dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
283 <groupId>junit</groupId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
284 <artifactId>junit</artifactId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
285 <version>4.12</version> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
286 <scope>test</scope> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
287 </dependency> |
1447 | 288 </dependencies> |
884 | 289 </project> |