Mercurial > hg > digilib
diff 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 |
line wrap: on
line diff
--- a/webapp/pom.xml Wed Nov 11 11:42:29 2015 +0100 +++ b/webapp/pom.xml Wed Nov 11 20:30:09 2015 +0100 @@ -13,6 +13,10 @@ <description>The Digital Image Library - web application server and HTML and JS clients.</description> <url>http://digilib.sourceforge.net</url> <packaging>war</packaging> + + <properties> + <skipTests>true</skipTests> + </properties> <build> <pluginManagement> @@ -33,7 +37,15 @@ </includes> </configuration> </plugin> - </plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.19</version> + <configuration> + <skip>${skipTests}</skip> + </configuration> + </plugin> + </plugins> </pluginManagement> </build> <profiles> @@ -169,11 +181,30 @@ <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlets</artifactId> - <version>9.3.5.v20151012</version> + <version>9.2.13.v20150730</version> + <!-- <version>9.3.5.v20151012</version> --> </dependency> </dependencies> </profile> </profiles> <dependencies> + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-servlet</artifactId> + <version>9.2.13.v20150730</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-http</artifactId> + <version>9.2.13.v20150730</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>test</scope> + </dependency> </dependencies> </project>