Mercurial > hg > digilib
annotate webapp/pom.xml @ 1447:4043aa19dd30 new_scaling
add servlet filter to provide CORS headers.
author | robcast |
---|---|
date | Wed, 11 Nov 2015 11:42:29 +0100 |
parents | 053ff2ca45e3 |
children | a2da0b5caedd |
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> |
884 | 16 |
1162 | 17 <build> |
18 <pluginManagement> | |
19 <plugins> | |
20 <plugin> | |
21 <groupId>org.apache.maven.plugins</groupId> | |
22 <artifactId>maven-war-plugin</artifactId> | |
1401 | 23 <version>2.6</version> |
1162 | 24 </plugin> |
25 <plugin> | |
26 <groupId>org.codehaus.mojo</groupId> | |
27 <artifactId>license-maven-plugin</artifactId> | |
28 <version>1.4</version> | |
29 <configuration> | |
30 <includes> | |
31 <include>**/*digilib*.js</include> | |
32 <include>**/*.jsp</include> | |
33 </includes> | |
34 </configuration> | |
35 </plugin> | |
36 </plugins> | |
37 </pluginManagement> | |
38 </build> | |
39 <profiles> | |
40 <profile> | |
41 <id>servlet2</id> | |
42 <activation> | |
43 <property> | |
44 <name>servletapi</name> | |
45 <value>2</value> | |
46 </property> | |
47 </activation> | |
48 <dependencies> | |
49 <dependency> | |
50 <groupId>digilib</groupId> | |
51 <artifactId>digilib-servlet2</artifactId> | |
52 <type>jar</type> | |
53 <scope>compile</scope> | |
54 </dependency> | |
55 </dependencies> | |
56 <build> | |
57 <plugins> | |
58 <plugin> | |
59 <groupId>org.apache.maven.plugins</groupId> | |
60 <artifactId>maven-war-plugin</artifactId> | |
61 <configuration> | |
1422 | 62 <webXml>${basedir}/src/main/webapp/WEB-INF/web-2.4.xml</webXml> |
1162 | 63 <classifier>srv2</classifier> |
64 </configuration> | |
65 </plugin> | |
66 </plugins> | |
67 </build> | |
68 </profile> | |
69 <profile> | |
70 <id>servlet3</id> | |
71 <activation> | |
1195 | 72 <activeByDefault>true</activeByDefault> |
1162 | 73 <property> |
74 <name>servletapi</name> | |
75 <value>3</value> | |
76 </property> | |
77 </activation> | |
78 <dependencies> | |
79 <dependency> | |
80 <groupId>digilib</groupId> | |
81 <artifactId>digilib-servlet3</artifactId> | |
82 <type>jar</type> | |
83 <scope>compile</scope> | |
84 </dependency> | |
85 </dependencies> | |
86 <build> | |
87 <plugins> | |
88 <plugin> | |
89 <groupId>org.apache.maven.plugins</groupId> | |
90 <artifactId>maven-war-plugin</artifactId> | |
91 <configuration> | |
92 <webXml>${basedir}/src/main/webapp/WEB-INF/web-3.0.xml</webXml> | |
93 <classifier>srv3</classifier> | |
94 </configuration> | |
95 </plugin> | |
96 <plugin> | |
97 <groupId>org.apache.maven.plugins</groupId> | |
98 <artifactId>maven-compiler-plugin</artifactId> | |
99 <configuration> | |
1401 | 100 <source>1.7</source> |
101 <target>1.7</target> | |
1162 | 102 </configuration> |
103 </plugin> | |
104 </plugins> | |
105 </build> | |
106 </profile> | |
107 <profile> | |
108 <id>pdf</id> | |
109 <dependencies> | |
110 <dependency> | |
111 <groupId>digilib</groupId> | |
112 <artifactId>digilib-pdf</artifactId> | |
113 <type>jar</type> | |
114 <scope>compile</scope> | |
115 </dependency> | |
116 </dependencies> | |
117 </profile> | |
118 <profile> | |
119 <id>text</id> | |
120 <dependencies> | |
121 <dependency> | |
122 <groupId>digilib</groupId> | |
123 <artifactId>digilib-text</artifactId> | |
124 <type>jar</type> | |
125 <scope>compile</scope> | |
126 </dependency> | |
127 </dependencies> | |
128 </profile> | |
129 <profile> | |
130 <id>codec-jai</id> | |
131 <dependencies> | |
132 <dependency> | |
133 <groupId>digilib</groupId> | |
134 <artifactId>digilib-common-jai</artifactId> | |
135 <type>jar</type> | |
136 <scope>compile</scope> | |
137 </dependency> | |
138 </dependencies> | |
139 </profile> | |
140 <profile> | |
141 <id>codec-imagej</id> | |
142 <dependencies> | |
143 <dependency> | |
144 <groupId>digilib</groupId> | |
145 <artifactId>digilib-common-imagej</artifactId> | |
146 <type>jar</type> | |
147 <scope>compile</scope> | |
148 </dependency> | |
149 </dependencies> | |
150 </profile> | |
151 <profile> | |
152 <id>codec-bioformats</id> | |
153 <dependencies> | |
154 <dependency> | |
155 <groupId>digilib</groupId> | |
156 <artifactId>digilib-common-bioformats</artifactId> | |
157 <type>jar</type> | |
158 <scope>compile</scope> | |
159 </dependency> | |
160 </dependencies> | |
161 </profile> | |
1447 | 162 <profile> |
163 <id>cors-filter</id> | |
164 <activation> | |
165 <activeByDefault>true</activeByDefault> | |
166 </activation> | |
167 <!-- external servlet filter to add CORS headers --> | |
168 <dependencies> | |
169 <dependency> | |
170 <groupId>org.eclipse.jetty</groupId> | |
171 <artifactId>jetty-servlets</artifactId> | |
172 <version>9.3.5.v20151012</version> | |
173 </dependency> | |
174 </dependencies> | |
175 </profile> | |
1162 | 176 </profiles> |
1447 | 177 <dependencies> |
178 </dependencies> | |
884 | 179 </project> |