diff webapp/pom.xml @ 1628:04a054acd4bb release-2.5

Merge from HEAD 8f3951c1630d23de6007c4996d6e72871ef67d23
author robcast
date Fri, 02 Jun 2017 10:50:33 +0200
parents 87e26192f7fa 62246fdad980
children 392a149ed4d6
line wrap: on
line diff
--- a/webapp/pom.xml	Mon Feb 13 19:59:11 2017 +0100
+++ b/webapp/pom.xml	Fri Jun 02 10:50:33 2017 +0200
@@ -276,6 +276,36 @@
 				</dependency>
 			</dependencies>
 		</profile>
+        <profile>
+            <id>iiif-presentation</id>
+            <!-- IIIF presentation servlet uses servlet3 and has a web.xml -->
+            <dependencies>
+                <dependency>
+                    <groupId>digilib</groupId>
+                    <artifactId>digilib-iiif-presentation</artifactId>
+                    <type>jar</type>
+                    <scope>compile</scope>
+                </dependency>
+                <dependency>
+                    <groupId>digilib</groupId>
+                    <artifactId>digilib-servlet3</artifactId>
+                    <type>jar</type>
+                    <scope>compile</scope>
+                </dependency>
+            </dependencies>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-war-plugin</artifactId>
+                        <configuration>
+                            <webXml>${basedir}/src/main/webapp/WEB-INF/web-iiif-pres.xml</webXml>
+                            <classifier>srv3p</classifier>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
 		<profile>
 			<id>codec-jai</id>
 			<dependencies>