893
|
1 <?xml version="1.0"?>
|
904
|
2 <project
|
|
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">
|
893
|
5 <modelVersion>4.0.0</modelVersion>
|
|
6 <parent>
|
|
7 <artifactId>digilib</artifactId>
|
|
8 <groupId>digilib</groupId>
|
897
|
9 <version>2.0-SNAPSHOT</version>
|
893
|
10 </parent>
|
897
|
11 <artifactId>digilib-webapp</artifactId>
|
|
12 <version>2.0-SNAPSHOT</version>
|
|
13 <name>digilib-webapp</name>
|
903
|
14 <description>The Digital Image Library - web application server and HTML and JS clients</description>
|
897
|
15 <url>http://digilib.berlios.de</url>
|
893
|
16 <packaging>war</packaging>
|
|
17
|
|
18 <properties>
|
|
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
20 </properties>
|
|
21
|
903
|
22 <profiles>
|
904
|
23 <profile>
|
|
24 <id>servlet2</id>
|
|
25 <activation>
|
|
26 <activeByDefault>true</activeByDefault>
|
|
27 <property>
|
|
28 <name>servletapi</name>
|
|
29 <value>2</value>
|
|
30 </property>
|
|
31 </activation>
|
|
32 <dependencies>
|
|
33 <dependency>
|
|
34 <groupId>digilib</groupId>
|
|
35 <artifactId>digilib-servlet2</artifactId>
|
|
36 <type>jar</type>
|
|
37 <scope>compile</scope>
|
|
38 </dependency>
|
|
39 </dependencies>
|
|
40 <build>
|
|
41 <plugins>
|
|
42 <plugin>
|
|
43 <groupId>org.apache.maven.plugins</groupId>
|
|
44 <artifactId>maven-war-plugin</artifactId>
|
|
45 <configuration>
|
|
46 <webXml>${basedir}/src/main/webapp/WEB-INF/web-2.3.xml</webXml>
|
909
|
47 <classifier>srv2</classifier>
|
904
|
48 </configuration>
|
|
49 </plugin>
|
|
50 </plugins>
|
|
51 </build>
|
|
52 </profile>
|
|
53 <profile>
|
|
54 <id>servlet3</id>
|
|
55 <activation>
|
|
56 <property>
|
|
57 <name>servletapi</name>
|
|
58 <value>3</value>
|
|
59 </property>
|
|
60 </activation>
|
|
61 <dependencies>
|
|
62 <dependency>
|
|
63 <groupId>digilib</groupId>
|
|
64 <artifactId>digilib-servlet3</artifactId>
|
|
65 <type>jar</type>
|
|
66 <scope>compile</scope>
|
|
67 </dependency>
|
|
68 </dependencies>
|
|
69 <build>
|
903
|
70 <plugins>
|
|
71 <plugin>
|
|
72 <groupId>org.apache.maven.plugins</groupId>
|
|
73 <artifactId>maven-war-plugin</artifactId>
|
|
74 <configuration>
|
|
75 <webXml>${basedir}/src/main/webapp/WEB-INF/web-3.0.xml</webXml>
|
|
76 <classifier>srv3</classifier>
|
|
77 </configuration>
|
|
78 </plugin>
|
916
|
79 <plugin>
|
|
80 <groupId>org.apache.maven.plugins</groupId>
|
|
81 <artifactId>maven-compiler-plugin</artifactId>
|
|
82 <configuration>
|
|
83 <source>1.6</source>
|
|
84 <target>1.6</target>
|
|
85 </configuration>
|
|
86 </plugin>
|
903
|
87 </plugins>
|
|
88 </build>
|
904
|
89 </profile>
|
|
90 <profile>
|
|
91 <id>pdf</id>
|
|
92 <dependencies>
|
|
93 <dependency>
|
|
94 <groupId>digilib</groupId>
|
|
95 <artifactId>digilib-pdf</artifactId>
|
|
96 <type>jar</type>
|
|
97 <scope>compile</scope>
|
|
98 </dependency>
|
|
99 </dependencies>
|
|
100 </profile>
|
905
|
101 <profile>
|
|
102 <id>text</id>
|
|
103 <dependencies>
|
|
104 <dependency>
|
|
105 <groupId>digilib</groupId>
|
|
106 <artifactId>digilib-text</artifactId>
|
|
107 <type>jar</type>
|
|
108 <scope>compile</scope>
|
|
109 </dependency>
|
|
110 </dependencies>
|
|
111 </profile>
|
903
|
112 </profiles>
|
893
|
113 </project>
|