comparison webapp/pom.xml.orig @ 1623:5418b39dd49f

Merge from iiif-presentation branch 62246fdad98050c4c371e0e6c2d8e5c56a73c092
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Thu, 01 Jun 2017 15:06:02 +0200
parents
children
comparison
equal deleted inserted replaced
1609:3f3a4f4eecb1 1623:5418b39dd49f
1 <?xml version="1.0"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <artifactId>digilib</artifactId>
6 <groupId>digilib</groupId>
7 <version>2.3.7</version>
8 </parent>
9 <artifactId>digilib-webapp</artifactId>
10 <name>digilib-webapp</name>
11 <description>The Digital Image Library - web application server and HTML and JS clients.</description>
12 <url>http://digilib.sourceforge.net</url>
13 <packaging>war</packaging>
14
15 <properties>
16 <skipTests>true</skipTests>
17 </properties>
18
19 <build>
20 <pluginManagement>
21 <plugins>
22 <plugin>
23 <groupId>org.apache.maven.plugins</groupId>
24 <artifactId>maven-war-plugin</artifactId>
25 <version>2.6</version>
26 </plugin>
27 <plugin>
28 <groupId>org.codehaus.mojo</groupId>
29 <artifactId>license-maven-plugin</artifactId>
30 <version>1.4</version>
31 <configuration>
32 <includes>
33 <include>**/*digilib*.js</include>
34 <include>**/*.jsp</include>
35 </includes>
36 </configuration>
37 </plugin>
38 <plugin>
39 <groupId>org.apache.maven.plugins</groupId>
40 <artifactId>maven-surefire-plugin</artifactId>
41 <version>2.19</version>
42 <configuration>
43 <skip>${skipTests}</skip>
44 </configuration>
45 </plugin>
46 </plugins>
47 </pluginManagement>
48 </build>
49 <profiles>
50 <profile>
51 <id>servlet2</id>
52 <activation>
53 <property>
54 <name>servletapi</name>
55 <value>2</value>
56 </property>
57 </activation>
58 <dependencies>
59 <dependency>
60 <groupId>digilib</groupId>
61 <artifactId>digilib-servlet2</artifactId>
62 <type>jar</type>
63 <scope>compile</scope>
64 </dependency>
65 </dependencies>
66 <build>
67 <plugins>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-war-plugin</artifactId>
71 <configuration>
72 <webXml>${basedir}/src/main/webapp/WEB-INF/web-2.4.xml</webXml>
73 <classifier>srv2</classifier>
74 </configuration>
75 </plugin>
76 </plugins>
77 </build>
78 </profile>
79 <profile>
80 <id>servlet3</id>
81 <activation>
82 <activeByDefault>true</activeByDefault>
83 <property>
84 <name>servletapi</name>
85 <value>3</value>
86 </property>
87 </activation>
88 <dependencies>
89 <dependency>
90 <groupId>digilib</groupId>
91 <artifactId>digilib-servlet3</artifactId>
92 <type>jar</type>
93 <scope>compile</scope>
94 </dependency>
95 </dependencies>
96 <build>
97 <plugins>
98 <plugin>
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-war-plugin</artifactId>
101 <configuration>
102 <webXml>${basedir}/src/main/webapp/WEB-INF/web-3.0.xml</webXml>
103 <classifier>srv3</classifier>
104 </configuration>
105 </plugin>
106 <plugin>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-compiler-plugin</artifactId>
109 <configuration>
110 <source>1.7</source>
111 <target>1.7</target>
112 </configuration>
113 </plugin>
114 </plugins>
115 </build>
116 </profile>
117 <profile>
118 <id>pdf</id>
119 <dependencies>
120 <dependency>
121 <groupId>digilib</groupId>
122 <artifactId>digilib-pdf</artifactId>
123 <type>jar</type>
124 <scope>compile</scope>
125 </dependency>
126 </dependencies>
127 </profile>
128 <profile>
129 <id>text</id>
130 <dependencies>
131 <dependency>
132 <groupId>digilib</groupId>
133 <artifactId>digilib-text</artifactId>
134 <type>jar</type>
135 <scope>compile</scope>
136 </dependency>
137 </dependencies>
138 </profile>
139 <profile>
140 <id>codec-jai</id>
141 <dependencies>
142 <dependency>
143 <groupId>digilib</groupId>
144 <artifactId>digilib-common-jai</artifactId>
145 <type>jar</type>
146 <scope>compile</scope>
147 </dependency>
148 </dependencies>
149 </profile>
150 <profile>
151 <id>codec-imagej</id>
152 <dependencies>
153 <dependency>
154 <groupId>digilib</groupId>
155 <artifactId>digilib-common-imagej</artifactId>
156 <type>jar</type>
157 <scope>compile</scope>
158 </dependency>
159 </dependencies>
160 </profile>
161 <profile>
162 <id>codec-bioformats</id>
163 <dependencies>
164 <dependency>
165 <groupId>digilib</groupId>
166 <artifactId>digilib-common-bioformats</artifactId>
167 <type>jar</type>
168 <scope>compile</scope>
169 </dependency>
170 </dependencies>
171 </profile>
172 <profile>
173 <id>cors-filter</id>
174 <!-- external servlet filter to add CORS headers. enable in web.xml -->
175 <dependencies>
176 <dependency>
177 <groupId>org.eclipse.jetty</groupId>
178 <artifactId>jetty-servlets</artifactId>
179 <version>9.2.13.v20150730</version>
180 </dependency>
181 </dependencies>
182 </profile>
183 </profiles>
184 <dependencies>
185 <dependency>
186 <groupId>org.eclipse.jetty</groupId>
187 <artifactId>jetty-servlet</artifactId>
188 <version>9.2.13.v20150730</version>
189 <scope>test</scope>
190 </dependency>
191 <dependency>
192 <groupId>org.eclipse.jetty</groupId>
193 <artifactId>jetty-http</artifactId>
194 <version>9.2.13.v20150730</version>
195 <scope>test</scope>
196 </dependency>
197 <dependency>
198 <groupId>junit</groupId>
199 <artifactId>junit</artifactId>
200 <version>4.12</version>
201 <scope>test</scope>
202 </dependency>
203 </dependencies>
204 </project>