view webapp/pom.xml @ 1045:6329b7f8d7f8

method for reassigning a button
author hertzhaft
date Fri, 23 Mar 2012 12:33:31 +0100
parents f34891279a6e
children
line wrap: on
line source

<?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">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>digilib</artifactId>
    <groupId>digilib</groupId>
    <version>2.1-SNAPSHOT</version>
  </parent>
  <artifactId>digilib-webapp</artifactId>
  <name>digilib-webapp</name>
  <description>The Digital Image Library - web application server and HTML and JS clients</description>
  <url>http://digilib.berlios.de</url>
  <packaging>war</packaging>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <build>
	<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>
      <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>srv2</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>
            <artifactId>maven-war-plugin</artifactId>
            <configuration>
              <webXml>${basedir}/src/main/webapp/WEB-INF/web-3.0.xml</webXml>
              <classifier>srv3</classifier>
            </configuration>
          </plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
	             <configuration>
	                 <source>1.6</source>
	                 <target>1.6</target> 
	             </configuration>
			</plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>pdf</id>
      <dependencies>
        <dependency>
          <groupId>digilib</groupId>
          <artifactId>digilib-pdf</artifactId>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>text</id>
      <dependencies>
        <dependency>
          <groupId>digilib</groupId>
          <artifactId>digilib-text</artifactId>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>codec-jai</id>
      <dependencies>
        <dependency>
          <groupId>digilib</groupId>
          <artifactId>digilib-common-jai</artifactId>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>codec-imagej</id>
      <dependencies>
        <dependency>
          <groupId>digilib</groupId>
          <artifactId>digilib-common-imagej</artifactId>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>codec-bioformats</id>
      <dependencies>
        <dependency>
          <groupId>digilib</groupId>
          <artifactId>digilib-common-bioformats</artifactId>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
      </dependencies>
    </profile>
  </profiles>
</project>