Mercurial > hg > digilib
annotate webapp/pom.xml @ 1690:a0a8dbecb94c
Change web.xml setup to use WebServlet annotations.
Solves problem of having the correct web.xml when combining Servlets
via Maven profiles.
Works only with Servlet 3. For Servlet 2 you still need to patch
your own set of Servlets into web-2.4.xml.
You can still override Servlet mappings in web.xml if you want
(watch out for servlet-name).
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 26 Mar 2018 20:46:01 +0200 |
parents | 93b59a801711 |
children |
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> | |
1689
93b59a801711
starting digilib 2.6.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1678
diff
changeset
|
9 <version>2.6-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> | |
1654
22dd14eccdc0
Change digilib project links to GitHub.
Robert Casties <r0bcas7@gmail.com>
parents:
1622
diff
changeset
|
14 <url>https://github.com/robcast/digilib</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> |
1595
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
55 <version>1.7.6</version> |
1464
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> |
1595
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
76 <!-- <jsEngine>CLOSURE</jsEngine> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
77 <closureCreateSourceMap>true</closureCreateSourceMap> --> |
1465 | 78 <!-- CSS files --> |
79 <cssSourceDir>jquery</cssSourceDir> | |
80 <cssSourceFiles> | |
81 <cssSourceFile>jquery.digilib.css</cssSourceFile> | |
1466 | 82 <cssSourceFile>jquery.digilib.buttons-full-32-sprite.css</cssSourceFile> |
1465 | 83 <cssSourceFile>jquery.range.css</cssSourceFile> |
84 </cssSourceFiles> | |
85 <cssFinalFile>jquery.digilib-basic.css</cssFinalFile> | |
1464
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
86 </configuration> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
87 <goals> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
88 <goal>minify</goal> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
89 </goals> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
90 </execution> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
91 <execution> |
1515
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
92 <id>digilib-auth-minify</id> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
93 <configuration> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
94 <!-- JS files --> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
95 <jsSourceDir>jquery</jsSourceDir> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
96 <jsTargetDir></jsTargetDir> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
97 <jsSourceFiles> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
98 <jsSourceFile>jquery.digilib.js</jsSourceFile> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
99 <jsSourceFile>jquery.digilib.geometry.js</jsSourceFile> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
100 <jsSourceFile>jquery.digilib.arrows.js</jsSourceFile> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
101 <jsSourceFile>jquery.digilib.buttons.js</jsSourceFile> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
102 <jsSourceFile>jquery.digilib.dialogs.js</jsSourceFile> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
103 <jsSourceFile>jquery.digilib.sliders.js</jsSourceFile> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
104 <jsSourceFile>jquery.digilib.birdseye.js</jsSourceFile> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
105 <jsSourceFile>jquery.digilib.marks.js</jsSourceFile> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
106 <jsSourceFile>jquery.digilib.regions.js</jsSourceFile> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
107 <jsSourceFile>jquery.digilib.oauth.js</jsSourceFile> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
108 </jsSourceFiles> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
109 <jsFinalFile>jquery.digilib-auth.js</jsFinalFile> |
1595
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
110 <jsEngine>YUI</jsEngine> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
111 <!-- <jsEngine>CLOSURE</jsEngine> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
112 <closureCreateSourceMap>true</closureCreateSourceMap> --> |
1515
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
113 <!-- CSS files --> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
114 <cssSourceDir>jquery</cssSourceDir> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
115 <cssSourceFiles> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
116 <cssSourceFile>jquery.digilib.css</cssSourceFile> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
117 <cssSourceFile>jquery.digilib.buttons-full-32-sprite.css</cssSourceFile> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
118 <cssSourceFile>jquery.range.css</cssSourceFile> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
119 </cssSourceFiles> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
120 <cssFinalFile>jquery.digilib-auth.css</cssFinalFile> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
121 </configuration> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
122 <goals> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
123 <goal>minify</goal> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
124 </goals> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
125 </execution> |
70a487a10319
add jquery.digilib-auth collected js and css with oauth plugin.
robcast
parents:
1492
diff
changeset
|
126 <execution> |
1465 | 127 <id>digilib-ann-minify</id> |
128 <configuration> | |
129 <jsSourceDir>jquery</jsSourceDir> | |
130 <jsTargetDir></jsTargetDir> | |
131 <jsSourceFiles> | |
132 <jsSourceFile>jquery.digilib.js</jsSourceFile> | |
133 <jsSourceFile>jquery.digilib.geometry.js</jsSourceFile> | |
134 <jsSourceFile>jquery.digilib.arrows.js</jsSourceFile> | |
135 <jsSourceFile>jquery.digilib.buttons.js</jsSourceFile> | |
136 <jsSourceFile>jquery.digilib.dialogs.js</jsSourceFile> | |
137 <jsSourceFile>jquery.digilib.sliders.js</jsSourceFile> | |
138 <jsSourceFile>jquery.digilib.birdseye.js</jsSourceFile> | |
139 <jsSourceFile>jquery.digilib.marks.js</jsSourceFile> | |
140 <jsSourceFile>jquery.digilib.regions.js</jsSourceFile> | |
141 <jsSourceFile>jquery.digilib.vector.js</jsSourceFile> | |
142 <jsSourceFile>jquery.digilib.annotator.js</jsSourceFile> | |
143 <jsSourceFile>showdown.js</jsSourceFile> | |
144 </jsSourceFiles> | |
145 <jsFinalFile>jquery.digilib-ann.js</jsFinalFile> | |
1595
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
146 <jsEngine>YUI</jsEngine> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
147 <!-- <jsEngine>CLOSURE</jsEngine> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
148 <closureCreateSourceMap>true</closureCreateSourceMap> --> |
1465 | 149 <!-- CSS files --> |
150 <cssSourceDir>jquery</cssSourceDir> | |
151 <cssSourceFiles> | |
152 <cssSourceFile>jquery.digilib.css</cssSourceFile> | |
1466 | 153 <cssSourceFile>jquery.digilib.buttons-full-32-sprite.css</cssSourceFile> |
1465 | 154 <cssSourceFile>jquery.range.css</cssSourceFile> |
155 </cssSourceFiles> | |
156 <cssFinalFile>jquery.digilib-ann.css</cssFinalFile> | |
157 </configuration> | |
158 <goals> | |
159 <goal>minify</goal> | |
160 </goals> | |
161 </execution> | |
162 <execution> | |
1464
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
163 <id>cookie-range-minify</id> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
164 <configuration> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
165 <jsSourceDir>jquery</jsSourceDir> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
166 <jsTargetDir></jsTargetDir> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
167 <jsSourceFiles> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
168 <jsSourceFile>jquery.cookie.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
169 <jsSourceFile>jquery.range.js</jsSourceFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
170 </jsSourceFiles> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
171 <jsFinalFile>jquery.cookie-range.js</jsFinalFile> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
172 <jsEngine>YUI</jsEngine> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
173 </configuration> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
174 <goals> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
175 <goal>minify</goal> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
176 </goals> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
177 </execution> |
1595
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
178 <!-- <execution> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
179 <id>annotator-dl-minify</id> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
180 <configuration> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
181 <jsSourceDir>jquery</jsSourceDir> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
182 <jsTargetDir></jsTargetDir> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
183 <jsSourceFiles> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
184 <jsSourceFile>annotator-dl.js</jsSourceFile> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
185 </jsSourceFiles> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
186 <jsFinalFile>annotator-dl.js</jsFinalFile> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
187 <jsEngine>YUI</jsEngine> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
188 </configuration> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
189 <goals> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
190 <goal>minify</goal> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
191 </goals> |
d1921b08fedb
fixed css classes for annotations. updated minified annotator-dl.js.
robcast
parents:
1591
diff
changeset
|
192 </execution> --> |
1464
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
193 </executions> |
8821a80fd9bc
add Javascript collection and minification step to maven build.
robcast
parents:
1463
diff
changeset
|
194 </plugin> |
1656
68f65786003e
Add jetty plugin to pom.xml and "mvn jetty:run" to README.md
Robert Casties <r0bcas7@gmail.com>
parents:
1654
diff
changeset
|
195 <plugin> |
68f65786003e
Add jetty plugin to pom.xml and "mvn jetty:run" to README.md
Robert Casties <r0bcas7@gmail.com>
parents:
1654
diff
changeset
|
196 <!-- Jetty plugin for "mvn jetty:run" --> |
68f65786003e
Add jetty plugin to pom.xml and "mvn jetty:run" to README.md
Robert Casties <r0bcas7@gmail.com>
parents:
1654
diff
changeset
|
197 <groupId>org.eclipse.jetty</groupId> |
68f65786003e
Add jetty plugin to pom.xml and "mvn jetty:run" to README.md
Robert Casties <r0bcas7@gmail.com>
parents:
1654
diff
changeset
|
198 <artifactId>jetty-maven-plugin</artifactId> |
68f65786003e
Add jetty plugin to pom.xml and "mvn jetty:run" to README.md
Robert Casties <r0bcas7@gmail.com>
parents:
1654
diff
changeset
|
199 <version>9.2.22.v20170606</version> |
1658 | 200 <configuration> |
201 <webApp> | |
202 <contextPath>/digilib</contextPath> | |
203 </webApp> | |
204 </configuration> | |
1656
68f65786003e
Add jetty plugin to pom.xml and "mvn jetty:run" to README.md
Robert Casties <r0bcas7@gmail.com>
parents:
1654
diff
changeset
|
205 </plugin> |
1463 | 206 </plugins> |
1162 | 207 </build> |
208 <profiles> | |
209 <profile> | |
210 <id>servlet2</id> | |
211 <activation> | |
212 <property> | |
213 <name>servletapi</name> | |
214 <value>2</value> | |
215 </property> | |
216 </activation> | |
217 <dependencies> | |
218 <dependency> | |
219 <groupId>digilib</groupId> | |
220 <artifactId>digilib-servlet2</artifactId> | |
221 <type>jar</type> | |
222 <scope>compile</scope> | |
223 </dependency> | |
224 </dependencies> | |
225 <build> | |
226 <plugins> | |
227 <plugin> | |
228 <groupId>org.apache.maven.plugins</groupId> | |
229 <artifactId>maven-war-plugin</artifactId> | |
230 <configuration> | |
1422 | 231 <webXml>${basedir}/src/main/webapp/WEB-INF/web-2.4.xml</webXml> |
1162 | 232 <classifier>srv2</classifier> |
233 </configuration> | |
234 </plugin> | |
235 </plugins> | |
236 </build> | |
237 </profile> | |
238 <profile> | |
239 <id>servlet3</id> | |
240 <activation> | |
1195 | 241 <activeByDefault>true</activeByDefault> |
1162 | 242 <property> |
243 <name>servletapi</name> | |
244 <value>3</value> | |
245 </property> | |
246 </activation> | |
247 <dependencies> | |
248 <dependency> | |
249 <groupId>digilib</groupId> | |
250 <artifactId>digilib-servlet3</artifactId> | |
251 <type>jar</type> | |
252 <scope>compile</scope> | |
253 </dependency> | |
254 </dependencies> | |
255 <build> | |
256 <plugins> | |
257 <plugin> | |
258 <groupId>org.apache.maven.plugins</groupId> | |
259 <artifactId>maven-war-plugin</artifactId> | |
260 <configuration> | |
261 <classifier>srv3</classifier> | |
262 </configuration> | |
263 </plugin> | |
264 </plugins> | |
265 </build> | |
266 </profile> | |
267 <profile> | |
268 <id>pdf</id> | |
269 <dependencies> | |
270 <dependency> | |
271 <groupId>digilib</groupId> | |
272 <artifactId>digilib-pdf</artifactId> | |
273 <type>jar</type> | |
274 <scope>compile</scope> | |
275 </dependency> | |
1678
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
276 <dependency> |
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
277 <groupId>digilib</groupId> |
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
278 <artifactId>digilib-servlet3</artifactId> |
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
279 <type>jar</type> |
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
280 <scope>compile</scope> |
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
281 </dependency> |
1162 | 282 </dependencies> |
1678
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
283 <build> |
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
284 <plugins> |
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
285 <plugin> |
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
286 <groupId>org.apache.maven.plugins</groupId> |
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
287 <artifactId>maven-war-plugin</artifactId> |
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
288 <configuration> |
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
289 <classifier>srv3pdf</classifier> |
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
290 </configuration> |
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
291 </plugin> |
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
292 </plugins> |
e3de0d89e1c1
use special web.xml when building pdf servlet.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1671
diff
changeset
|
293 </build> |
1162 | 294 </profile> |
295 <profile> | |
296 <id>text</id> | |
297 <dependencies> | |
298 <dependency> | |
299 <groupId>digilib</groupId> | |
300 <artifactId>digilib-text</artifactId> | |
301 <type>jar</type> | |
302 <scope>compile</scope> | |
303 </dependency> | |
304 </dependencies> | |
305 </profile> | |
1613
1d21cb0d697c
first version of Manifester servlet for creating simple IIIF presentation API manifests (does not really work yet).
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1595
diff
changeset
|
306 <profile> |
1d21cb0d697c
first version of Manifester servlet for creating simple IIIF presentation API manifests (does not really work yet).
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1595
diff
changeset
|
307 <id>iiif-presentation</id> |
1622
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
308 <!-- IIIF presentation servlet uses servlet3 and has a web.xml --> |
1613
1d21cb0d697c
first version of Manifester servlet for creating simple IIIF presentation API manifests (does not really work yet).
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1595
diff
changeset
|
309 <dependencies> |
1d21cb0d697c
first version of Manifester servlet for creating simple IIIF presentation API manifests (does not really work yet).
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1595
diff
changeset
|
310 <dependency> |
1d21cb0d697c
first version of Manifester servlet for creating simple IIIF presentation API manifests (does not really work yet).
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1595
diff
changeset
|
311 <groupId>digilib</groupId> |
1d21cb0d697c
first version of Manifester servlet for creating simple IIIF presentation API manifests (does not really work yet).
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1595
diff
changeset
|
312 <artifactId>digilib-iiif-presentation</artifactId> |
1d21cb0d697c
first version of Manifester servlet for creating simple IIIF presentation API manifests (does not really work yet).
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1595
diff
changeset
|
313 <type>jar</type> |
1d21cb0d697c
first version of Manifester servlet for creating simple IIIF presentation API manifests (does not really work yet).
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1595
diff
changeset
|
314 <scope>compile</scope> |
1d21cb0d697c
first version of Manifester servlet for creating simple IIIF presentation API manifests (does not really work yet).
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1595
diff
changeset
|
315 </dependency> |
1622
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
316 <dependency> |
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
317 <groupId>digilib</groupId> |
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
318 <artifactId>digilib-servlet3</artifactId> |
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
319 <type>jar</type> |
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
320 <scope>compile</scope> |
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
321 </dependency> |
1613
1d21cb0d697c
first version of Manifester servlet for creating simple IIIF presentation API manifests (does not really work yet).
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1595
diff
changeset
|
322 </dependencies> |
1622
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
323 <build> |
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
324 <plugins> |
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
325 <plugin> |
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
326 <groupId>org.apache.maven.plugins</groupId> |
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
327 <artifactId>maven-war-plugin</artifactId> |
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
328 <configuration> |
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
329 <classifier>srv3p</classifier> |
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
330 </configuration> |
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
331 </plugin> |
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
332 </plugins> |
62246fdad980
better pom that uses special web.xml for iiif-presentation profile.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1613
diff
changeset
|
333 </build> |
1613
1d21cb0d697c
first version of Manifester servlet for creating simple IIIF presentation API manifests (does not really work yet).
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1595
diff
changeset
|
334 </profile> |
1162 | 335 <profile> |
336 <id>codec-jai</id> | |
337 <dependencies> | |
338 <dependency> | |
339 <groupId>digilib</groupId> | |
340 <artifactId>digilib-common-jai</artifactId> | |
341 <type>jar</type> | |
342 <scope>compile</scope> | |
343 </dependency> | |
344 </dependencies> | |
345 </profile> | |
346 <profile> | |
347 <id>codec-imagej</id> | |
348 <dependencies> | |
349 <dependency> | |
350 <groupId>digilib</groupId> | |
351 <artifactId>digilib-common-imagej</artifactId> | |
352 <type>jar</type> | |
353 <scope>compile</scope> | |
354 </dependency> | |
355 </dependencies> | |
356 </profile> | |
357 <profile> | |
358 <id>codec-bioformats</id> | |
359 <dependencies> | |
360 <dependency> | |
361 <groupId>digilib</groupId> | |
362 <artifactId>digilib-common-bioformats</artifactId> | |
363 <type>jar</type> | |
364 <scope>compile</scope> | |
365 </dependency> | |
366 </dependencies> | |
367 </profile> | |
1447 | 368 <profile> |
369 <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
|
370 <!-- external servlet filter to add CORS headers. enable in web.xml --> |
1447 | 371 <dependencies> |
372 <dependency> | |
373 <groupId>org.eclipse.jetty</groupId> | |
374 <artifactId>jetty-servlets</artifactId> | |
1448
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
375 <version>9.2.13.v20150730</version> |
1447 | 376 </dependency> |
377 </dependencies> | |
378 </profile> | |
1466 | 379 <profile> |
380 <id>create-sprites</id> | |
381 <!-- create the button image sprite and CSS file --> | |
382 <build> | |
383 <plugins> | |
384 <plugin> | |
385 <groupId>net.jangaroo</groupId> | |
386 <artifactId>smartsprites-maven-plugin</artifactId> | |
387 <version>1.8</version> | |
388 <configuration> | |
389 <rootDirPath>src/main/webapp/jquery</rootDirPath> | |
390 <outputDirPath>${basedir}/src/main/webapp/jquery/</outputDirPath> | |
391 <logLevel>INFO</logLevel> | |
392 <spritePngDepth>AUTO</spritePngDepth> | |
393 <spritePngIeSix>false</spritePngIeSix> | |
394 <cssFileEncoding>UTF-8</cssFileEncoding> | |
395 <cssFileSuffix>-sprite</cssFileSuffix> | |
396 </configuration> | |
397 <executions> | |
398 <execution> | |
399 <id>createSprites</id> | |
400 <phase>generate-resources</phase> | |
401 <goals> | |
402 <goal>createSprites</goal> | |
403 </goals> | |
404 </execution> | |
405 </executions> | |
406 </plugin> | |
407 </plugins> | |
408 </build> | |
409 </profile> | |
1162 | 410 </profiles> |
1447 | 411 <dependencies> |
1448
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
412 <dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
413 <groupId>org.eclipse.jetty</groupId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
414 <artifactId>jetty-servlet</artifactId> |
1656
68f65786003e
Add jetty plugin to pom.xml and "mvn jetty:run" to README.md
Robert Casties <r0bcas7@gmail.com>
parents:
1654
diff
changeset
|
415 <version>9.2.22.v20170606</version> |
1448
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
416 <scope>test</scope> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
417 </dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
418 <dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
419 <groupId>org.eclipse.jetty</groupId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
420 <artifactId>jetty-http</artifactId> |
1656
68f65786003e
Add jetty plugin to pom.xml and "mvn jetty:run" to README.md
Robert Casties <r0bcas7@gmail.com>
parents:
1654
diff
changeset
|
421 <version>9.2.22.v20170606</version> |
1448
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
422 <scope>test</scope> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
423 </dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
424 <dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
425 <groupId>junit</groupId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
426 <artifactId>junit</artifactId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
427 <version>4.12</version> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
428 <scope>test</scope> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
429 </dependency> |
1517
51486c82ed89
new DigilibBean instead of deprecated DocumentBean. Updated dirInfo-*.jsp etc. added auth_required information.
robcast
parents:
1515
diff
changeset
|
430 <dependency> |
51486c82ed89
new DigilibBean instead of deprecated DocumentBean. Updated dirInfo-*.jsp etc. added auth_required information.
robcast
parents:
1515
diff
changeset
|
431 <groupId>javax.servlet</groupId> |
51486c82ed89
new DigilibBean instead of deprecated DocumentBean. Updated dirInfo-*.jsp etc. added auth_required information.
robcast
parents:
1515
diff
changeset
|
432 <artifactId>jstl</artifactId> |
51486c82ed89
new DigilibBean instead of deprecated DocumentBean. Updated dirInfo-*.jsp etc. added auth_required information.
robcast
parents:
1515
diff
changeset
|
433 <version>1.2</version> |
51486c82ed89
new DigilibBean instead of deprecated DocumentBean. Updated dirInfo-*.jsp etc. added auth_required information.
robcast
parents:
1515
diff
changeset
|
434 </dependency> |
1447 | 435 </dependencies> |
884 | 436 </project> |