diff 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
line wrap: on
line diff
--- a/pom.xml	Tue Jan 24 21:12:13 2012 +0100
+++ b/pom.xml	Wed Jan 25 15:13:06 2012 +0100
@@ -4,7 +4,7 @@
 
   <groupId>digilib</groupId>
   <artifactId>digilib</artifactId>
-  <version>2.0-SNAPSHOT</version>
+  <version>2.1-SNAPSHOT</version>
   <packaging>pom</packaging>
 
   <name>digilib</name>
@@ -12,6 +12,15 @@
   <url>http://digilib.berlios.de</url>
 
   <build>
+  	<pluginManagement>
+  		<plugins>
+  			<plugin>
+  			  <groupId>org.apache.maven.plugins</groupId>
+  			  <artifactId>maven-compiler-plugin</artifactId>
+  			  <version>2.3.2</version>
+  			</plugin>
+  		</plugins>
+  	</pluginManagement>
   	<plugins>
   		<plugin>
   			<groupId>org.apache.maven.plugins</groupId>
@@ -22,15 +31,6 @@
             </configuration>
   		</plugin>
   	</plugins>
-  	<pluginManagement>
-  		<plugins>
-  			<plugin>
-  				<groupId>org.apache.maven.plugins</groupId>
-  				<artifactId>maven-war-plugin</artifactId>
-  				<version>2.1.1</version>
-  			</plugin>
-  		</plugins>
-  	</pluginManagement>
   </build>
   <profiles>
   	<profile>
@@ -38,65 +38,14 @@
   		<activation>
   			<activeByDefault>true</activeByDefault>
   		</activation>
-  		<dependencyManagement>
-  			<dependencies>
-  			</dependencies>
-  		</dependencyManagement>
-  	</profile>
-  	<profile>
-  		<id>servlet3</id>
-  		<dependencyManagement>
-  			<dependencies>
-  				<dependency>
-  					<groupId>org.mortbay.jetty</groupId>
-  					<artifactId>servlet-api</artifactId>
-  					<version>3.0.20100224</version>
-  					<type>jar</type>
-  					<scope>provided</scope>
-  				</dependency>
-  			</dependencies>
-  		</dependencyManagement>
   	</profile>
   </profiles>
   <repositories>
-    <repository>
-      <id>itextpdf.com</id>
-      <name>Maven Repository for iText</name>
-      <url>http://maven.itextpdf.com/</url>
-    </repository>
-  <!-- This provides the required versions of JAI-ImageIO -->
-    <repository>
-        <id>geotools.osgeo.org</id>
-        <name>Geotools repository</name>
-        <url>http://download.osgeo.org/webdav/geotools/</url>
-    </repository>
   </repositories>
 
   <dependencyManagement>
   	<dependencies>
     <dependency>
-      <groupId>javax.media</groupId>
-      <artifactId>jai_imageio</artifactId>
-      <version>1.1</version>
-    </dependency>
-    <dependency>
-      <groupId>javax.media</groupId>
-      <artifactId>jai_codec</artifactId>
-      <version>1.1.3</version>
-    </dependency>
-    <dependency>
-      <groupId>javax.media</groupId>
-      <artifactId>jai_core</artifactId>
-      <version>1.1.3</version>
-    </dependency>
-    <dependency>
-        <groupId>org.devlib.schmidt</groupId>
-        <artifactId>imageinfo</artifactId>
-        <version>1.9</version>
-        <type>jar</type>
-        <scope>compile</scope>
-    </dependency>
-    <dependency>
         <groupId>org.jdom</groupId>
         <artifactId>jdom</artifactId>
         <version>1.1</version>
@@ -111,50 +60,58 @@
         <scope>compile</scope>
     </dependency>
     <dependency>
-      <groupId>com.itextpdf</groupId>
-      <artifactId>itextpdf</artifactId>
-      <version>5.0.4</version>
-      <scope>compile</scope>
+    	<groupId>digilib</groupId>
+    	<artifactId>digilib-common</artifactId>
+    	<version>2.1-SNAPSHOT</version>
+    	<type>jar</type>
+    	<scope>compile</scope>
     </dependency>
     <dependency>
     	<groupId>digilib</groupId>
-    	<artifactId>digilib-common</artifactId>
-    	<version>2.0-SNAPSHOT</version>
+    	<artifactId>digilib-common-jai</artifactId>
+    	<version>2.1-SNAPSHOT</version>
+    	<type>jar</type>
+    	<scope>compile</scope>
+    </dependency>
+    <dependency>
+    	<groupId>digilib</groupId>
+    	<artifactId>digilib-common-imagej</artifactId>
+    	<version>2.1-SNAPSHOT</version>
     	<type>jar</type>
     	<scope>compile</scope>
     </dependency>
     <dependency>
     	<groupId>digilib</groupId>
     	<artifactId>digilib-pdf</artifactId>
-    	<version>2.0-SNAPSHOT</version>
+    	<version>2.1-SNAPSHOT</version>
     	<type>jar</type>
     	<scope>compile</scope>
     </dependency>
     <dependency>
     	<groupId>digilib</groupId>
     	<artifactId>digilib-text</artifactId>
-    	<version>2.0-SNAPSHOT</version>
+    	<version>2.1-SNAPSHOT</version>
     	<type>jar</type>
     	<scope>compile</scope>
     </dependency>
     <dependency>
     	<groupId>digilib</groupId>
     	<artifactId>digilib-servlet2</artifactId>
-    	<version>2.0-SNAPSHOT</version>
+    	<version>2.1-SNAPSHOT</version>
     	<type>jar</type>
     	<scope>compile</scope>
     </dependency>
     <dependency>
     	<groupId>digilib</groupId>
     	<artifactId>digilib-servlet3</artifactId>
-    	<version>2.0-SNAPSHOT</version>
+    	<version>2.1-SNAPSHOT</version>
     	<type>jar</type>
     	<scope>compile</scope>
     </dependency>
     <dependency>
     	<groupId>digilib</groupId>
     	<artifactId>digilib-webapp</artifactId>
-    	<version>2.0-SNAPSHOT</version>
+    	<version>2.1-SNAPSHOT</version>
     	<type>war</type>
     	<scope>compile</scope>
     </dependency>
@@ -197,5 +154,7 @@
     <module>servlet3</module>
     <module>pdf</module>
     <module>text</module>
+    <module>common-jai</module>
+    <module>common-imagej</module>
   </modules>
 </project>
\ No newline at end of file