pom.xml revision 8f773663771d2e963f85e4d11ff81f5d128ddd57
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
~
~ Copyright © 2011 ForgeRock AS. All rights reserved.
~
~ The contents of this file are subject to the terms
~ of the Common Development and Distribution License
~ (the License). You may not use this file except in
~ compliance with the License.
~
~ You can obtain a copy of the License at
~ See the License for the specific language governing
~ permission and limitations under the License.
~
~ When distributing Covered Code, include this CDDL
~ Header Notice in each file and include the License file
~ If applicable, add the following below the CDDL Header,
~ with the fields enclosed by brackets [] replaced by
~ your own identifying information:
~ "Portions Copyrighted [year] [name of copyright owner]"
~
~ $Id$
-->
<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>
<artifactId>openidm-project</artifactId>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>openidm-webapp</artifactId>
<packaging>war</packaging>
<version>2.0.0-SNAPSHOT</version>
<name>OpenIDM Webapp - (Embedded Felix)</name>
<description>Sample web application with embedded OpenIDM. It shows how to embedded the OpenIDM into any legacy web application.</description>
<properties>
</properties>
<dependencies>
<dependency>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<dependency>
</dependency>
<dependency>
</dependency>
<dependency>
<version>2.2.0</version>
</dependency>
<dependency>
<version>2.2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<scope>provided</scope>
</dependency>
<!-- OpenIDM Dependencies -->
<dependency>
<artifactId>openidm-repo-orientdb</artifactId>
</dependency>
<dependency>
<artifactId>openidm-provisioner-openicf</artifactId>
</dependency>
<dependency>
<artifactId>openidm-restlet</artifactId>
</dependency>
<dependency>
<artifactId>openidm-scheduler</artifactId>
</dependency>
<dependency>
<artifactId>openidm-audit</artifactId>
</dependency>
<!-- Core OSGi -->
<dependency>
</dependency>
<dependency>
<scope>provided</scope>
</dependency>
<dependency>
<scope>provided</scope>
</dependency>
<dependency>
<scope>provided</scope>
</dependency>
<dependency>
<scope>provided</scope>
</dependency>
<dependency>
<scope>provided</scope>
</dependency>
<!-- Declarative Services support -->
<dependency>
</dependency>
<!-- Jetty based web container - ->
<dependency>
<groupId>org.ops4j.pax.web</groupId>
<artifactId>pax-web-service</artifactId>
<version>RELEASE</version>
</dependency-->
<dependency>
<artifactId>slf4j-jdk14</artifactId>
<version>1.6.1</version>
</dependency>
<!-- OpenICF Connectors -->
<dependency>
<artifactId>xml</artifactId>
<version>1.1.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<packagingIncludes>
WEB-INF/*,
*
</packagingIncludes>
<webResources>
<resource>
<directory>
${project.build.directory}/bundles
</directory>
</resource>
<resource>
<directory>
${project.build.directory}/connectors
</directory>
</resource>
<resource>
<directory>.</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE</include>
<include>NOTICE</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-bundles</id>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<!--includeGroupIds>
</includeGroupIds-->
<includeArtifactIds>
commons-codec,
commons-lang,
connector-framework,
connector-framework-internal,
groovy-all,
jackson-core-asl,
jackson-mapper-asl,
json-fluent,
json-schema,
openidm-audit,
openidm-core,
openidm-provisioner,
openidm-provisioner-openicf,
openidm-repo,
openidm-repo-orientdb,
openidm-restlet,
openidm-scheduler,
openidm-util,
slf4j-api,
slf4j-jdk14
</includeArtifactIds>
<stripVersion>true</stripVersion>
<outputDirectory>
${project.build.directory}/bundles
</outputDirectory>
</configuration>
</execution>
<execution>
<id>copy-connectors</id>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<includeGroupIds>
</includeGroupIds>
<outputDirectory>
${project.build.directory}/connectors
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.10</version>
<configuration>
<contextPath>/</contextPath>
</configuration>
</plugin>
</plugins>
</build>
</project>