<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">

	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>org.ops4j</groupId>
		<artifactId>master</artifactId>
        <version>3.1.0</version>
	</parent>

	<groupId>org.ops4j.pax</groupId>
	<artifactId>web</artifactId>
	<version>2.1.4</version>
	<packaging>pom</packaging>

	<name>OPS4J Pax Web</name>

	<description>
    Pax Web - OPS4J implementation of osgi http service using jetty 7.
    Detailed information to be found at http://wiki.ops4j.org/confluence/x/AYAz.
  </description>

	<url>http://www.ops4j.org/projects/pax/web/</url>

	<issueManagement>
		<system>jira</system>
		<url>http://issues.ops4j.org/jira/browse/PAXWEB</url>
	</issueManagement>

	<scm>
		<connection>scm:git:git@github.com:ops4j/org.ops4j.pax.web.git</connection>
        <developerConnection>scm:git:git@github.com:ops4j/org.ops4j.pax.web.git</developerConnection>
        <url>http://github.com/ops4j/org.ops4j.pax.web/tree/master</url>
	  <tag>web-2.1.4</tag>
  </scm>

	<developers>
		<developer>
			<id>niclas</id>
			<name>Niclas Hedhman</name>
			<email>niclas@hedhman.org</email>
			<organization>Jayway Malaysia Sdn Bhd</organization>
			<roles>
				<role>Developer</role>
			</roles>
			<timezone>UTC+8</timezone>
		</developer>
		<developer>
			<id>adreghiciu</id>
			<name>Alin Dreghiciu</name>
			<email>adreghiciu@gmail.com</email>
			<roles>
				<role>Developer</role>
			</roles>
			<timezone>UTC+2</timezone>
		</developer>
		<developer>
			<id>anierbeck</id>
			<name>Achim Nierbeck</name>
			<email>bcanhome@googlemail.com</email>
			<roles>
				<role>Developer</role>
			</roles>
			<timezone>UTC+1</timezone>
		</developer>
	</developers>

	<properties>
		<dependency.base.version>1.3.0</dependency.base.version>
		<dependency.swissbox.version>1.5.0</dependency.swissbox.version>
		<dependency.jetty.version>8.1.10.v20130312</dependency.jetty.version>
		<dependency.jasper.version>6.0.29</dependency.jasper.version>
		<dependency.jstl.version>1.2</dependency.jstl.version>
		<dependency.fileinstall.version>3.1.4</dependency.fileinstall.version>
		<dependency.commons-logging.version>1.1.1</dependency.commons-logging.version>
		<dependency.slf4j>1.6.1</dependency.slf4j>
		<dependency.osgi.version>4.2.0</dependency.osgi.version>
		<dependency.pax-logging.version>1.6.3</dependency.pax-logging.version>
		<dependency.paxurl.version>1.4.2</dependency.paxurl.version>
		<dependency.bndlib.version>1.43.0</dependency.bndlib.version>
		<servlet.spec.groupId>org.apache.geronimo.specs</servlet.spec.groupId>
		<servlet.spec.artifactId>geronimo-servlet_3.0_spec</servlet.spec.artifactId>
		<servlet.spec.version>1.0</servlet.spec.version>
	</properties>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
			</plugin>
		</plugins>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.felix</groupId>
					<artifactId>maven-bundle-plugin</artifactId>
					<version>2.3.6</version>
					<extensions>true</extensions>
				</plugin>
				<plugin>
					<artifactId>maven-eclipse-plugin</artifactId>
					<version>2.8</version>
					<extensions>true</extensions>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-release-plugin</artifactId>
                    <configuration>
                        <preparationGoals>clean install</preparationGoals>
                        <goals>deploy</goals>
                        <autoVersionSubmodules>true</autoVersionSubmodules>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>build-helper-maven-plugin</artifactId>
					<version>1.7</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-war-plugin</artifactId>
					<version>2.2</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-surefire-plugin</artifactId>
					<version>2.9</version>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.ops4j.base</groupId>
				<artifactId>ops4j-base-lang</artifactId>
				<version>${dependency.base.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.ops4j.base</groupId>
				<artifactId>ops4j-base-util-property</artifactId>
				<version>${dependency.base.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.ops4j.base</groupId>
				<artifactId>ops4j-base-util-xml</artifactId>
				<version>${dependency.base.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.swissbox</groupId>
				<artifactId>pax-swissbox-core</artifactId>
				<version>${dependency.swissbox.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.swissbox</groupId>
				<artifactId>pax-swissbox-extender</artifactId>
				<version>${dependency.swissbox.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.swissbox</groupId>
				<artifactId>pax-swissbox-optional-jcl</artifactId>
				<version>${dependency.swissbox.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.swissbox</groupId>
				<artifactId>pax-swissbox-property</artifactId>
				<version>${dependency.swissbox.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.swissbox</groupId>
				<artifactId>pax-swissbox-tracker</artifactId>
				<version>${dependency.swissbox.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.swissbox</groupId>
				<artifactId>pax-swissbox-bnd</artifactId>
				<version>${dependency.swissbox.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.url</groupId>
				<artifactId>pax-url-war</artifactId>
				<version>${dependency.paxurl.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.url</groupId>
				<artifactId>pax-url-commons</artifactId>
				<version>${dependency.paxurl.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.url</groupId>
				<artifactId>pax-url-aether</artifactId>
				<version>${dependency.paxurl.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.eclipse.jetty.aggregate</groupId>
				<artifactId>jetty-all-server</artifactId>
				<version>${dependency.jetty.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.apache.tomcat</groupId>
				<artifactId>jasper</artifactId>
				<version>${dependency.jasper.version}</version>
				<optional>true</optional>
				<exclusions>
					<exclusion>
						<groupId>org.apache.tomcat</groupId>
						<artifactId>catalina</artifactId>
					</exclusion>
					<exclusion>
						<groupId>org.apache.tomcat</groupId>
						<artifactId>servlet-api</artifactId>
					</exclusion>
				</exclusions>
			</dependency>
			<dependency>
				<groupId>javax.servlet</groupId>
				<artifactId>jstl</artifactId>
				<version>${dependency.jstl.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.apache.tomcat</groupId>
				<artifactId>jasper-el</artifactId>
				<version>${dependency.jasper.version}</version>
			</dependency>
			<!-- Dependencies to slf4j -->
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>${dependency.slf4j}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-log4j12</artifactId>
                <version>${dependency.slf4j}</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-simple</artifactId>
                <version>${dependency.slf4j}</version>
            </dependency>
			<!-- Dependencies to submodules -->
			<dependency>
				<groupId>org.ops4j.pax.web</groupId>
				<artifactId>pax-web-api</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.web</groupId>
				<artifactId>pax-web-spi</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.web</groupId>
				<artifactId>pax-web-jsp</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.web</groupId>
				<artifactId>pax-web-runtime</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.web</groupId>
				<artifactId>pax-web-jetty</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.web</groupId>
				<artifactId>pax-web-extender-whiteboard</artifactId>
				<version>${project.version}</version>
			</dependency>
			<!-- Provided dependencies -->
			<dependency>
				<groupId>org.osgi</groupId>
				<artifactId>org.osgi.core</artifactId>
				<version>${dependency.osgi.version}</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.osgi</groupId>
                <artifactId>org.osgi.compendium</artifactId>
				<version>${dependency.osgi.version}</version>
				<scope>provided</scope>
			</dependency>
			<!-- <dependency> -->
			<!-- <groupId>javax.servlet</groupId> -->
			<!-- <artifactId>servlet-api</artifactId> -->
			<!-- <version>${dependency.servlet-api.version}</version> -->
			<!-- </dependency> -->
			<dependency>
				<groupId>${servlet.spec.groupId}</groupId>
				<artifactId>${servlet.spec.artifactId}</artifactId>
				<version>${servlet.spec.version}</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.apache.felix</groupId>
				<artifactId>org.apache.felix.fileinstall</artifactId>
				<version>${dependency.fileinstall.version}</version>
			</dependency>
			<dependency>
				<groupId>biz.aQute</groupId>
				<artifactId>bndlib</artifactId>
				<version>${dependency.bndlib.version}</version>
			</dependency>
			<!-- testing dependencies -->
			<dependency>
				<groupId>commons-httpclient</groupId>
				<artifactId>commons-httpclient</artifactId>
				<version>3.1</version>
				<scope>test</scope>
			</dependency>
			<!-- Test dependencies -->
			<dependency>
				<groupId>junit</groupId>
				<artifactId>junit</artifactId>
				<version>4.9</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>org.easymock</groupId>
				<artifactId>easymock</artifactId>
				<version>2.3</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.logging</groupId>
				<artifactId>pax-logging-api</artifactId>
				<version>${dependency.pax-logging.version}</version>
                <scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.ops4j.pax.logging</groupId>
				<artifactId>pax-logging-service</artifactId>
				<version>${dependency.pax-logging.version}</version>
                <scope>provided</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<repositories>
		<repository>
			<id>ops4j.releases</id>
			<name>The OPS4J Release Repository</name>
			<url>https://oss.sonatype.org/content/groups/ops4j/</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>ops4j.snapshot</id>
			<name>The OPS4J SNAPSHOT Repository</name>
			<url>https://oss.sonatype.org/content/repositories/ops4j-snapshots/</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
			<releases>
				<enabled>false</enabled>
			</releases>
		</repository>
		<repository>
			<id>com.springsource.repository.bundles.external</id>
			<name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
			<url>http://repository.springsource.com/maven/bundles/external</url>
		</repository>
		<repository>
			<id>jetty-releases</id>
			<name>Jetty Releases</name>
			<url>https://oss.sonatype.org/content/repositories/jetty-releases</url>
		</repository>
	</repositories>

	<modules>
		<module>pax-web-api</module>
		<module>pax-web-spi</module>
		<module>pax-web-runtime</module>
		<module>pax-web-jsp</module>
		<module>pax-web-jetty</module>
		<module>pax-web-jetty-bundle</module>
		<module>pax-web-extender-war</module>
		<module>pax-web-extender-whiteboard</module>
		<module>pax-web-deployer</module>
		<module>pax-web-features</module>
		<module>pax-web-archetypes</module>
		<module>samples</module>
		<module>itest</module>
		<module>pax-web-itest-karaf</module>
	</modules>

</project>
