view pdf/pom.xml @ 1169:888cdaf022fe

shuffling classes around: moved last servlet dependencies from common to new servlet module. moved common code from servlet2 and servlet3 to servlet. moved DigilibConfiguration and DigilibRequest to digilib.conf package (needs changes in JSPs).
author robcast
date Wed, 27 Mar 2013 17:23:44 +0100
parents d5d113dbcd24
children cf8ecc67200e
line wrap: on
line source

<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>
		<groupId>digilib</groupId>
		<version>2.1-SNAPSHOT</version>
	</parent>
	<artifactId>digilib-pdf</artifactId>
	<name>digilib-pdf</name>
	<description>The Digital Image Library - PDF generation servlet</description>
	<url>http://digilib.berlios.de</url>
	<repositories>
    <repository>
      <id>itextpdf.com</id>
      <name>Maven Repository for iText</name>
      <url>http://maven.itextpdf.com/</url>
    </repository>
    </repositories>
	<dependencies>
		<dependency>
			<groupId>digilib</groupId>
			<artifactId>digilib-common</artifactId>
			<type>jar</type>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>com.itextpdf</groupId>
			<artifactId>itextpdf</artifactId>
	        <version>5.0.4</version>
			<type>jar</type>
			<scope>compile</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>
				<dependency>
					<groupId>javax.servlet</groupId>
					<artifactId>servlet-api</artifactId>
					<version>2.3</version>
					<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>
				<dependency>
					<groupId>org.mortbay.jetty</groupId>
					<artifactId>servlet-api</artifactId>
					<version>3.0.20100224</version>
					<type>jar</type>
					<scope>provided</scope>
				</dependency>
			</dependencies>
		</profile>
	</profiles>
</project>