comparison webapp/pom.xml @ 1448:a2da0b5caedd new_scaling

adding the first tests for digilib's scaling modes. uses JUnit and Jetty's ServletTester. test are disabled by default, enable with "mvn test -DskipTests=false".
author robcast
date Wed, 11 Nov 2015 20:30:09 +0100
parents 4043aa19dd30
children fa63f437d5c5
comparison
equal deleted inserted replaced
1447:4043aa19dd30 1448:a2da0b5caedd
11 <artifactId>digilib-webapp</artifactId> 11 <artifactId>digilib-webapp</artifactId>
12 <name>digilib-webapp</name> 12 <name>digilib-webapp</name>
13 <description>The Digital Image Library - web application server and HTML and JS clients.</description> 13 <description>The Digital Image Library - web application server and HTML and JS clients.</description>
14 <url>http://digilib.sourceforge.net</url> 14 <url>http://digilib.sourceforge.net</url>
15 <packaging>war</packaging> 15 <packaging>war</packaging>
16
17 <properties>
18 <skipTests>true</skipTests>
19 </properties>
16 20
17 <build> 21 <build>
18 <pluginManagement> 22 <pluginManagement>
19 <plugins> 23 <plugins>
20 <plugin> 24 <plugin>
31 <include>**/*digilib*.js</include> 35 <include>**/*digilib*.js</include>
32 <include>**/*.jsp</include> 36 <include>**/*.jsp</include>
33 </includes> 37 </includes>
34 </configuration> 38 </configuration>
35 </plugin> 39 </plugin>
36 </plugins> 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>
37 </pluginManagement> 49 </pluginManagement>
38 </build> 50 </build>
39 <profiles> 51 <profiles>
40 <profile> 52 <profile>
41 <id>servlet2</id> 53 <id>servlet2</id>
167 <!-- external servlet filter to add CORS headers --> 179 <!-- external servlet filter to add CORS headers -->
168 <dependencies> 180 <dependencies>
169 <dependency> 181 <dependency>
170 <groupId>org.eclipse.jetty</groupId> 182 <groupId>org.eclipse.jetty</groupId>
171 <artifactId>jetty-servlets</artifactId> 183 <artifactId>jetty-servlets</artifactId>
172 <version>9.3.5.v20151012</version> 184 <version>9.2.13.v20150730</version>
185 <!-- <version>9.3.5.v20151012</version> -->
173 </dependency> 186 </dependency>
174 </dependencies> 187 </dependencies>
175 </profile> 188 </profile>
176 </profiles> 189 </profiles>
177 <dependencies> 190 <dependencies>
191 <dependency>
192 <groupId>org.eclipse.jetty</groupId>
193 <artifactId>jetty-servlet</artifactId>
194 <version>9.2.13.v20150730</version>
195 <scope>test</scope>
196 </dependency>
197 <dependency>
198 <groupId>org.eclipse.jetty</groupId>
199 <artifactId>jetty-http</artifactId>
200 <version>9.2.13.v20150730</version>
201 <scope>test</scope>
202 </dependency>
203 <dependency>
204 <groupId>junit</groupId>
205 <artifactId>junit</artifactId>
206 <version>4.12</version>
207 <scope>test</scope>
208 </dependency>
178 </dependencies> 209 </dependencies>
179 </project> 210 </project>