changeset 904:4f8f2b9ab539

fixed pdf module
author robcast
date Tue, 26 Apr 2011 21:02:31 +0200
parents 7779b37d1d05
children afd82fe0c48a
files pdf/pom.xml webapp/pom.xml
diffstat 2 files changed, 124 insertions(+), 51 deletions(-) [+]
line wrap: on
line diff
--- a/pdf/pom.xml	Tue Apr 26 20:24:31 2011 +0200
+++ b/pdf/pom.xml	Tue Apr 26 21:02:31 2011 +0200
@@ -1,4 +1,5 @@
-<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">
+<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">
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <artifactId>digilib</artifactId>
@@ -9,4 +10,64 @@
   <artifactId>digilib-pdf</artifactId>
   <version>2.0-SNAPSHOT</version>
   <name>digilib-pdf</name>
+  <description>The Digital Image Library - PDF generation servlet</description>
+  <url>http://digilib.berlios.de</url>
+  <dependencies>
+    <dependency>
+      <groupId>digilib</groupId>
+      <artifactId>digilib-common</artifactId>
+      <type>jar</type>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>com.itextpdf</groupId>
+      <artifactId>itextpdf</artifactId>
+      <type>jar</type>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <version>2.3</version>
+      <type>jar</type>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+  <profiles>
+    <profile>
+      <id>servlet2</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+        <property>
+          <name>servletapi</name>
+          <value>2</value>
+        </property>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>digilib</groupId>
+          <artifactId>digilib-servlet2</artifactId>
+          <type>jar</type>
+          <scope>provided</scope>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <id>servlet3</id>
+      <activation>
+        <property>
+          <name>servletapi</name>
+          <value>3</value>
+        </property>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>digilib</groupId>
+          <artifactId>digilib-servlet3</artifactId>
+          <type>jar</type>
+          <scope>provided</scope>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
 </project>
\ No newline at end of file
--- a/webapp/pom.xml	Tue Apr 26 20:24:31 2011 +0200
+++ b/webapp/pom.xml	Tue Apr 26 21:02:31 2011 +0200
@@ -1,6 +1,7 @@
 <?xml version="1.0"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+  xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <artifactId>digilib</artifactId>
@@ -20,53 +21,53 @@
   </properties>
 
   <profiles>
-  	<profile>
-		<id>servlet2</id>
-  		<activation>
-  			<activeByDefault>true</activeByDefault>
-  			<property>
-  				<name>servletapi</name>
-  				<value>2</value>
-  			</property>
-  		</activation>
-  <dependencies>
-    <dependency>
-      <groupId>digilib</groupId>
-      <artifactId>digilib-servlet2</artifactId>
-      <type>jar</type>
-      <scope>compile</scope>
-    </dependency>
-  </dependencies>
-  		<build>
-  			<plugins>
-  				<plugin>
-  					<groupId>org.apache.maven.plugins</groupId>
-  					<artifactId>maven-war-plugin</artifactId>
-                    <configuration>
-                        <webXml>${basedir}/src/main/webapp/WEB-INF/web-2.3.xml</webXml>
-                        <classifier>srv3</classifier>
-                    </configuration>
-  				</plugin>
-  			</plugins>
-  		</build>
-  	</profile>
-  	<profile>
-  		<id>servlet3</id>
-  		<activation>
-  			<property>
-  				<name>servletapi</name>
-  				<value>3</value>
-  			</property>
-  		</activation>
-  <dependencies>
-    <dependency>
-      <groupId>digilib</groupId>
-      <artifactId>digilib-servlet3</artifactId>
-      <type>jar</type>
-      <scope>compile</scope>
-    </dependency>
-  </dependencies>
-        <build>
+    <profile>
+      <id>servlet2</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+        <property>
+          <name>servletapi</name>
+          <value>2</value>
+        </property>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>digilib</groupId>
+          <artifactId>digilib-servlet2</artifactId>
+          <type>jar</type>
+          <scope>compile</scope>
+        </dependency>
+      </dependencies>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-war-plugin</artifactId>
+            <configuration>
+              <webXml>${basedir}/src/main/webapp/WEB-INF/web-2.3.xml</webXml>
+              <classifier>srv3</classifier>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
+      <id>servlet3</id>
+      <activation>
+        <property>
+          <name>servletapi</name>
+          <value>3</value>
+        </property>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>digilib</groupId>
+          <artifactId>digilib-servlet3</artifactId>
+          <type>jar</type>
+          <scope>compile</scope>
+        </dependency>
+      </dependencies>
+      <build>
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
@@ -78,6 +79,17 @@
           </plugin>
         </plugins>
       </build>
-  	</profile>
+    </profile>
+    <profile>
+      <id>pdf</id>
+      <dependencies>
+        <dependency>
+          <groupId>digilib</groupId>
+          <artifactId>digilib-pdf</artifactId>
+          <type>jar</type>
+          <scope>compile</scope>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>