Mercurial > hg > digilib
annotate 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 |
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> | |
1233 | 9 <version>2.3-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> | |
1279
828b6c8b1b19
changed links in documentation (and poms) to new sourceforge site.
robcast
parents:
1233
diff
changeset
|
14 <url>http://digilib.sourceforge.net</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> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
19 </properties> |
884 | 20 |
1162 | 21 <build> |
22 <pluginManagement> | |
23 <plugins> | |
24 <plugin> | |
25 <groupId>org.apache.maven.plugins</groupId> | |
26 <artifactId>maven-war-plugin</artifactId> | |
1401 | 27 <version>2.6</version> |
1162 | 28 </plugin> |
29 <plugin> | |
30 <groupId>org.codehaus.mojo</groupId> | |
31 <artifactId>license-maven-plugin</artifactId> | |
32 <version>1.4</version> | |
33 <configuration> | |
34 <includes> | |
35 <include>**/*digilib*.js</include> | |
36 <include>**/*.jsp</include> | |
37 </includes> | |
38 </configuration> | |
39 </plugin> | |
1448
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
40 <plugin> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
41 <groupId>org.apache.maven.plugins</groupId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
42 <artifactId>maven-surefire-plugin</artifactId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
43 <version>2.19</version> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
44 <configuration> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
45 <skip>${skipTests}</skip> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
46 </configuration> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
47 </plugin> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
48 </plugins> |
1162 | 49 </pluginManagement> |
50 </build> | |
51 <profiles> | |
52 <profile> | |
53 <id>servlet2</id> | |
54 <activation> | |
55 <property> | |
56 <name>servletapi</name> | |
57 <value>2</value> | |
58 </property> | |
59 </activation> | |
60 <dependencies> | |
61 <dependency> | |
62 <groupId>digilib</groupId> | |
63 <artifactId>digilib-servlet2</artifactId> | |
64 <type>jar</type> | |
65 <scope>compile</scope> | |
66 </dependency> | |
67 </dependencies> | |
68 <build> | |
69 <plugins> | |
70 <plugin> | |
71 <groupId>org.apache.maven.plugins</groupId> | |
72 <artifactId>maven-war-plugin</artifactId> | |
73 <configuration> | |
1422 | 74 <webXml>${basedir}/src/main/webapp/WEB-INF/web-2.4.xml</webXml> |
1162 | 75 <classifier>srv2</classifier> |
76 </configuration> | |
77 </plugin> | |
78 </plugins> | |
79 </build> | |
80 </profile> | |
81 <profile> | |
82 <id>servlet3</id> | |
83 <activation> | |
1195 | 84 <activeByDefault>true</activeByDefault> |
1162 | 85 <property> |
86 <name>servletapi</name> | |
87 <value>3</value> | |
88 </property> | |
89 </activation> | |
90 <dependencies> | |
91 <dependency> | |
92 <groupId>digilib</groupId> | |
93 <artifactId>digilib-servlet3</artifactId> | |
94 <type>jar</type> | |
95 <scope>compile</scope> | |
96 </dependency> | |
97 </dependencies> | |
98 <build> | |
99 <plugins> | |
100 <plugin> | |
101 <groupId>org.apache.maven.plugins</groupId> | |
102 <artifactId>maven-war-plugin</artifactId> | |
103 <configuration> | |
104 <webXml>${basedir}/src/main/webapp/WEB-INF/web-3.0.xml</webXml> | |
105 <classifier>srv3</classifier> | |
106 </configuration> | |
107 </plugin> | |
108 <plugin> | |
109 <groupId>org.apache.maven.plugins</groupId> | |
110 <artifactId>maven-compiler-plugin</artifactId> | |
111 <configuration> | |
1401 | 112 <source>1.7</source> |
113 <target>1.7</target> | |
1162 | 114 </configuration> |
115 </plugin> | |
116 </plugins> | |
117 </build> | |
118 </profile> | |
119 <profile> | |
120 <id>pdf</id> | |
121 <dependencies> | |
122 <dependency> | |
123 <groupId>digilib</groupId> | |
124 <artifactId>digilib-pdf</artifactId> | |
125 <type>jar</type> | |
126 <scope>compile</scope> | |
127 </dependency> | |
128 </dependencies> | |
129 </profile> | |
130 <profile> | |
131 <id>text</id> | |
132 <dependencies> | |
133 <dependency> | |
134 <groupId>digilib</groupId> | |
135 <artifactId>digilib-text</artifactId> | |
136 <type>jar</type> | |
137 <scope>compile</scope> | |
138 </dependency> | |
139 </dependencies> | |
140 </profile> | |
141 <profile> | |
142 <id>codec-jai</id> | |
143 <dependencies> | |
144 <dependency> | |
145 <groupId>digilib</groupId> | |
146 <artifactId>digilib-common-jai</artifactId> | |
147 <type>jar</type> | |
148 <scope>compile</scope> | |
149 </dependency> | |
150 </dependencies> | |
151 </profile> | |
152 <profile> | |
153 <id>codec-imagej</id> | |
154 <dependencies> | |
155 <dependency> | |
156 <groupId>digilib</groupId> | |
157 <artifactId>digilib-common-imagej</artifactId> | |
158 <type>jar</type> | |
159 <scope>compile</scope> | |
160 </dependency> | |
161 </dependencies> | |
162 </profile> | |
163 <profile> | |
164 <id>codec-bioformats</id> | |
165 <dependencies> | |
166 <dependency> | |
167 <groupId>digilib</groupId> | |
168 <artifactId>digilib-common-bioformats</artifactId> | |
169 <type>jar</type> | |
170 <scope>compile</scope> | |
171 </dependency> | |
172 </dependencies> | |
173 </profile> | |
1447 | 174 <profile> |
175 <id>cors-filter</id> | |
176 <activation> | |
177 <activeByDefault>true</activeByDefault> | |
178 </activation> | |
179 <!-- external servlet filter to add CORS headers --> | |
180 <dependencies> | |
181 <dependency> | |
182 <groupId>org.eclipse.jetty</groupId> | |
183 <artifactId>jetty-servlets</artifactId> | |
1448
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
184 <version>9.2.13.v20150730</version> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
185 <!-- <version>9.3.5.v20151012</version> --> |
1447 | 186 </dependency> |
187 </dependencies> | |
188 </profile> | |
1162 | 189 </profiles> |
1447 | 190 <dependencies> |
1448
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
191 <dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
192 <groupId>org.eclipse.jetty</groupId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
193 <artifactId>jetty-servlet</artifactId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
194 <version>9.2.13.v20150730</version> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
195 <scope>test</scope> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
196 </dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
197 <dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
198 <groupId>org.eclipse.jetty</groupId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
199 <artifactId>jetty-http</artifactId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
200 <version>9.2.13.v20150730</version> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
201 <scope>test</scope> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
202 </dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
203 <dependency> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
204 <groupId>junit</groupId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
205 <artifactId>junit</artifactId> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
206 <version>4.12</version> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
207 <scope>test</scope> |
a2da0b5caedd
adding the first tests for digilib's scaling modes.
robcast
parents:
1447
diff
changeset
|
208 </dependency> |
1447 | 209 </dependencies> |
884 | 210 </project> |