Mercurial > hg > digilib
annotate webapp/pom.xml @ 1180:5abbf21fdf9f
changed DigilibConfiguration to work with inheritance. DigilibServletConfiguration takes the role of Initialiser. DocuImage gets a static factory.
author | robcast |
---|---|
date | Thu, 04 Apr 2013 18:43:13 +0200 |
parents | d4990c1463e3 |
children | 2cba651b91ce |
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> | |
1179 | 9 <version>2.2-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> | |
14 <url>http://digilib.berlios.de</url> | |
15 <packaging>war</packaging> | |
884 | 16 |
1162 | 17 <properties> |
18 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
19 </properties> | |
950
a052cfbe8afb
moved DocuImage implementations with non-standard toolkits (JAI, ImgeJ) into separate Maven modules.
robcast
parents:
907
diff
changeset
|
20 |
1162 | 21 <build> |
22 <pluginManagement> | |
23 <plugins> | |
24 <plugin> | |
25 <groupId>org.apache.maven.plugins</groupId> | |
26 <artifactId>maven-war-plugin</artifactId> | |
27 <version>2.1.1</version> | |
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> | |
40 </plugins> | |
41 </pluginManagement> | |
42 </build> | |
43 <profiles> | |
44 <profile> | |
45 <id>servlet2</id> | |
46 <activation> | |
47 <activeByDefault>true</activeByDefault> | |
48 <property> | |
49 <name>servletapi</name> | |
50 <value>2</value> | |
51 </property> | |
52 </activation> | |
53 <dependencies> | |
54 <dependency> | |
55 <groupId>digilib</groupId> | |
56 <artifactId>digilib-servlet2</artifactId> | |
57 <type>jar</type> | |
58 <scope>compile</scope> | |
59 </dependency> | |
60 </dependencies> | |
61 <build> | |
62 <plugins> | |
63 <plugin> | |
64 <groupId>org.apache.maven.plugins</groupId> | |
65 <artifactId>maven-war-plugin</artifactId> | |
66 <configuration> | |
67 <webXml>${basedir}/src/main/webapp/WEB-INF/web-2.3.xml</webXml> | |
68 <classifier>srv2</classifier> | |
69 </configuration> | |
70 </plugin> | |
71 </plugins> | |
72 </build> | |
73 </profile> | |
74 <profile> | |
75 <id>servlet3</id> | |
76 <activation> | |
77 <property> | |
78 <name>servletapi</name> | |
79 <value>3</value> | |
80 </property> | |
81 </activation> | |
82 <dependencies> | |
83 <dependency> | |
84 <groupId>digilib</groupId> | |
85 <artifactId>digilib-servlet3</artifactId> | |
86 <type>jar</type> | |
87 <scope>compile</scope> | |
88 </dependency> | |
89 </dependencies> | |
90 <build> | |
91 <plugins> | |
92 <plugin> | |
93 <groupId>org.apache.maven.plugins</groupId> | |
94 <artifactId>maven-war-plugin</artifactId> | |
95 <configuration> | |
96 <webXml>${basedir}/src/main/webapp/WEB-INF/web-3.0.xml</webXml> | |
97 <classifier>srv3</classifier> | |
98 </configuration> | |
99 </plugin> | |
100 <plugin> | |
101 <groupId>org.apache.maven.plugins</groupId> | |
102 <artifactId>maven-compiler-plugin</artifactId> | |
103 <configuration> | |
104 <source>1.6</source> | |
105 <target>1.6</target> | |
106 </configuration> | |
107 </plugin> | |
108 </plugins> | |
109 </build> | |
110 </profile> | |
111 <profile> | |
112 <id>pdf</id> | |
113 <dependencies> | |
114 <dependency> | |
115 <groupId>digilib</groupId> | |
116 <artifactId>digilib-pdf</artifactId> | |
117 <type>jar</type> | |
118 <scope>compile</scope> | |
119 </dependency> | |
120 </dependencies> | |
121 </profile> | |
122 <profile> | |
123 <id>text</id> | |
124 <dependencies> | |
125 <dependency> | |
126 <groupId>digilib</groupId> | |
127 <artifactId>digilib-text</artifactId> | |
128 <type>jar</type> | |
129 <scope>compile</scope> | |
130 </dependency> | |
131 </dependencies> | |
132 </profile> | |
133 <profile> | |
134 <id>codec-jai</id> | |
135 <dependencies> | |
136 <dependency> | |
137 <groupId>digilib</groupId> | |
138 <artifactId>digilib-common-jai</artifactId> | |
139 <type>jar</type> | |
140 <scope>compile</scope> | |
141 </dependency> | |
142 </dependencies> | |
143 </profile> | |
144 <profile> | |
145 <id>codec-imagej</id> | |
146 <dependencies> | |
147 <dependency> | |
148 <groupId>digilib</groupId> | |
149 <artifactId>digilib-common-imagej</artifactId> | |
150 <type>jar</type> | |
151 <scope>compile</scope> | |
152 </dependency> | |
153 </dependencies> | |
154 </profile> | |
155 <profile> | |
156 <id>codec-bioformats</id> | |
157 <dependencies> | |
158 <dependency> | |
159 <groupId>digilib</groupId> | |
160 <artifactId>digilib-common-bioformats</artifactId> | |
161 <type>jar</type> | |
162 <scope>compile</scope> | |
163 </dependency> | |
164 </dependencies> | |
165 </profile> | |
166 </profiles> | |
884 | 167 </project> |