comparison pom.xml @ 960:b2d97b842612

moved DocuImage implementations with non-standard toolkits (JAI, ImgeJ) into separate Maven modules. default build uses jai-imageio (now only one additional JAR in webapp!).
author robcast
date Wed, 25 Jan 2012 15:13:06 +0100
parents 91e5f20a7c56
children 0b5fa035af30
comparison
equal deleted inserted replaced
959:f197e7760154 960:b2d97b842612
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion> 3 <modelVersion>4.0.0</modelVersion>
4 4
5 <groupId>digilib</groupId> 5 <groupId>digilib</groupId>
6 <artifactId>digilib</artifactId> 6 <artifactId>digilib</artifactId>
7 <version>2.0-SNAPSHOT</version> 7 <version>2.1-SNAPSHOT</version>
8 <packaging>pom</packaging> 8 <packaging>pom</packaging>
9 9
10 <name>digilib</name> 10 <name>digilib</name>
11 <description>The Digital Image Library</description> 11 <description>The Digital Image Library</description>
12 <url>http://digilib.berlios.de</url> 12 <url>http://digilib.berlios.de</url>
13 13
14 <build> 14 <build>
15 <pluginManagement>
16 <plugins>
17 <plugin>
18 <groupId>org.apache.maven.plugins</groupId>
19 <artifactId>maven-compiler-plugin</artifactId>
20 <version>2.3.2</version>
21 </plugin>
22 </plugins>
23 </pluginManagement>
15 <plugins> 24 <plugins>
16 <plugin> 25 <plugin>
17 <groupId>org.apache.maven.plugins</groupId> 26 <groupId>org.apache.maven.plugins</groupId>
18 <artifactId>maven-scm-plugin</artifactId> 27 <artifactId>maven-scm-plugin</artifactId>
19 <version>1.5</version> 28 <version>1.5</version>
20 <configuration> 29 <configuration>
21 <goals>install</goals> 30 <goals>install</goals>
22 </configuration> 31 </configuration>
23 </plugin> 32 </plugin>
24 </plugins> 33 </plugins>
25 <pluginManagement>
26 <plugins>
27 <plugin>
28 <groupId>org.apache.maven.plugins</groupId>
29 <artifactId>maven-war-plugin</artifactId>
30 <version>2.1.1</version>
31 </plugin>
32 </plugins>
33 </pluginManagement>
34 </build> 34 </build>
35 <profiles> 35 <profiles>
36 <profile> 36 <profile>
37 <id>servlet2</id> 37 <id>servlet2</id>
38 <activation> 38 <activation>
39 <activeByDefault>true</activeByDefault> 39 <activeByDefault>true</activeByDefault>
40 </activation> 40 </activation>
41 <dependencyManagement>
42 <dependencies>
43 </dependencies>
44 </dependencyManagement>
45 </profile>
46 <profile>
47 <id>servlet3</id>
48 <dependencyManagement>
49 <dependencies>
50 <dependency>
51 <groupId>org.mortbay.jetty</groupId>
52 <artifactId>servlet-api</artifactId>
53 <version>3.0.20100224</version>
54 <type>jar</type>
55 <scope>provided</scope>
56 </dependency>
57 </dependencies>
58 </dependencyManagement>
59 </profile> 41 </profile>
60 </profiles> 42 </profiles>
61 <repositories> 43 <repositories>
62 <repository>
63 <id>itextpdf.com</id>
64 <name>Maven Repository for iText</name>
65 <url>http://maven.itextpdf.com/</url>
66 </repository>
67 <!-- This provides the required versions of JAI-ImageIO -->
68 <repository>
69 <id>geotools.osgeo.org</id>
70 <name>Geotools repository</name>
71 <url>http://download.osgeo.org/webdav/geotools/</url>
72 </repository>
73 </repositories> 44 </repositories>
74 45
75 <dependencyManagement> 46 <dependencyManagement>
76 <dependencies> 47 <dependencies>
77 <dependency>
78 <groupId>javax.media</groupId>
79 <artifactId>jai_imageio</artifactId>
80 <version>1.1</version>
81 </dependency>
82 <dependency>
83 <groupId>javax.media</groupId>
84 <artifactId>jai_codec</artifactId>
85 <version>1.1.3</version>
86 </dependency>
87 <dependency>
88 <groupId>javax.media</groupId>
89 <artifactId>jai_core</artifactId>
90 <version>1.1.3</version>
91 </dependency>
92 <dependency>
93 <groupId>org.devlib.schmidt</groupId>
94 <artifactId>imageinfo</artifactId>
95 <version>1.9</version>
96 <type>jar</type>
97 <scope>compile</scope>
98 </dependency>
99 <dependency> 48 <dependency>
100 <groupId>org.jdom</groupId> 49 <groupId>org.jdom</groupId>
101 <artifactId>jdom</artifactId> 50 <artifactId>jdom</artifactId>
102 <version>1.1</version> 51 <version>1.1</version>
103 <type>jar</type> 52 <type>jar</type>
109 <version>1.2.14</version> 58 <version>1.2.14</version>
110 <type>jar</type> 59 <type>jar</type>
111 <scope>compile</scope> 60 <scope>compile</scope>
112 </dependency> 61 </dependency>
113 <dependency> 62 <dependency>
114 <groupId>com.itextpdf</groupId> 63 <groupId>digilib</groupId>
115 <artifactId>itextpdf</artifactId> 64 <artifactId>digilib-common</artifactId>
116 <version>5.0.4</version> 65 <version>2.1-SNAPSHOT</version>
117 <scope>compile</scope> 66 <type>jar</type>
67 <scope>compile</scope>
118 </dependency> 68 </dependency>
119 <dependency> 69 <dependency>
120 <groupId>digilib</groupId> 70 <groupId>digilib</groupId>
121 <artifactId>digilib-common</artifactId> 71 <artifactId>digilib-common-jai</artifactId>
122 <version>2.0-SNAPSHOT</version> 72 <version>2.1-SNAPSHOT</version>
73 <type>jar</type>
74 <scope>compile</scope>
75 </dependency>
76 <dependency>
77 <groupId>digilib</groupId>
78 <artifactId>digilib-common-imagej</artifactId>
79 <version>2.1-SNAPSHOT</version>
123 <type>jar</type> 80 <type>jar</type>
124 <scope>compile</scope> 81 <scope>compile</scope>
125 </dependency> 82 </dependency>
126 <dependency> 83 <dependency>
127 <groupId>digilib</groupId> 84 <groupId>digilib</groupId>
128 <artifactId>digilib-pdf</artifactId> 85 <artifactId>digilib-pdf</artifactId>
129 <version>2.0-SNAPSHOT</version> 86 <version>2.1-SNAPSHOT</version>
130 <type>jar</type> 87 <type>jar</type>
131 <scope>compile</scope> 88 <scope>compile</scope>
132 </dependency> 89 </dependency>
133 <dependency> 90 <dependency>
134 <groupId>digilib</groupId> 91 <groupId>digilib</groupId>
135 <artifactId>digilib-text</artifactId> 92 <artifactId>digilib-text</artifactId>
136 <version>2.0-SNAPSHOT</version> 93 <version>2.1-SNAPSHOT</version>
137 <type>jar</type> 94 <type>jar</type>
138 <scope>compile</scope> 95 <scope>compile</scope>
139 </dependency> 96 </dependency>
140 <dependency> 97 <dependency>
141 <groupId>digilib</groupId> 98 <groupId>digilib</groupId>
142 <artifactId>digilib-servlet2</artifactId> 99 <artifactId>digilib-servlet2</artifactId>
143 <version>2.0-SNAPSHOT</version> 100 <version>2.1-SNAPSHOT</version>
144 <type>jar</type> 101 <type>jar</type>
145 <scope>compile</scope> 102 <scope>compile</scope>
146 </dependency> 103 </dependency>
147 <dependency> 104 <dependency>
148 <groupId>digilib</groupId> 105 <groupId>digilib</groupId>
149 <artifactId>digilib-servlet3</artifactId> 106 <artifactId>digilib-servlet3</artifactId>
150 <version>2.0-SNAPSHOT</version> 107 <version>2.1-SNAPSHOT</version>
151 <type>jar</type> 108 <type>jar</type>
152 <scope>compile</scope> 109 <scope>compile</scope>
153 </dependency> 110 </dependency>
154 <dependency> 111 <dependency>
155 <groupId>digilib</groupId> 112 <groupId>digilib</groupId>
156 <artifactId>digilib-webapp</artifactId> 113 <artifactId>digilib-webapp</artifactId>
157 <version>2.0-SNAPSHOT</version> 114 <version>2.1-SNAPSHOT</version>
158 <type>war</type> 115 <type>war</type>
159 <scope>compile</scope> 116 <scope>compile</scope>
160 </dependency> 117 </dependency>
161 </dependencies> 118 </dependencies>
162 </dependencyManagement> 119 </dependencyManagement>
195 <module>common</module> 152 <module>common</module>
196 <module>servlet2</module> 153 <module>servlet2</module>
197 <module>servlet3</module> 154 <module>servlet3</module>
198 <module>pdf</module> 155 <module>pdf</module>
199 <module>text</module> 156 <module>text</module>
157 <module>common-jai</module>
158 <module>common-imagej</module>
200 </modules> 159 </modules>
201 </project> 160 </project>