pom.xml revision 27af262c3da03fc33f6f12f0663f0441b92b479f
<?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>
<exclusions>
<exclusion>
</exclusion>
</exclusions>
</dependency>
<dependency>
</dependency>
<dependency>
</dependency>
<dependency>
<version>2.2.0</version>
</dependency>
<dependency>
<version>2.2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<version>2.2.0</version>
</dependency>
<!-- OpenIDM Dependencies -->
<dependency>
<artifactId>openidm-repo-orientdb</artifactId>
</dependency>
<dependency>
<artifactId>openidm-repo-jdbc</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>
<dependency>
<artifactId>openidm-ui</artifactId>
</dependency>
<!-- Core OSGi -->
<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>
<dependency>
<scope>provided</scope>
</dependency>
<!-- Declarative Services support -->
<dependency>
</dependency>
<!-- Pax Web 1.0.3 war and whiteboard - ->
<dependency>
<groupId>org.ops4j.pax.web</groupId>
<artifactId>pax-web-api</artifactId>
<version>1.0.3</version>
</dependency>
<dependency>
<groupId>org.ops4j.pax.web</groupId>
<artifactId>pax-web-spi</artifactId>
<version>1.0.3</version>
</dependency>
<dependency>
<groupId>org.ops4j.pax.web</groupId>
<artifactId>pax-web-extender-war</artifactId>
<version>1.0.3</version>
</dependency>
<dependency>
<groupId>org.ops4j.pax.web</groupId>
<artifactId>pax-web-extender-whiteboard</artifactId>
<version>1.0.3</version>
</dependency-->
<dependency>
<artifactId>logback-classic</artifactId>
<version>0.9.29</version>
</dependency>
<dependency>
<artifactId>jcl-over-slf4j</artifactId>
<version>1.6.1</version>
</dependency>
<!-- OpenICF Logger -->
<dependency>
<artifactId>icfl-over-slf4j</artifactId>
<version>1.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- OpenICF Connectors -->
<dependency>
<artifactId>xml</artifactId>
<version>1.1.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- Sample Dependencies -->
<dependency>
<artifactId>spring-web</artifactId>
</dependency>
</dependencies>
<build>
<resources>
<resource>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<packagingIncludes>
WEB-INF/*,
*
</packagingIncludes>
<webResources>
<resource>
<targetPath>WEB-INF</targetPath>
<filtering>true</filtering>
<includes>
<include>**/*.json</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-init-bundles</id>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<includeArtifactIds>
openidm-config,
openidm-repo-jdbc,
openidm-repo-orientdb,
openidm-system,
</includeArtifactIds>
<stripVersion>true</stripVersion>
<outputDirectory>
</outputDirectory>
</configuration>
</execution>
<execution>
<id>copy-bundles</id>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<includeArtifactIds>
commons-codec,
commons-lang,
connector-framework-internal,
connector-framework,
groovy-all,
icfl-over-slf4j,
jackson-core-asl,
jackson-mapper-asl,
json-crypto,
json-fluent,
json-schema,
openidm-audit,
openidm-crypto,
openidm-core,
openidm-provisioner-openicf,
openidm-provisioner,
openidm-repo,
openidm-restlet,
openidm-scheduler,
openidm-ui,
openidm-util,
<!--,ops4j-base-util-collections,
ops4j-base-lang,
ops4j-base-util-xml,
pax-swissbox-core,
pax-swissbox-extender,
pax-swissbox-lifecycle,
pax-swissbox-tracker,
pax-web-api,
pax-web-extender-war,
pax-web-extender-whiteboard,
pax-web-spi-->
</includeArtifactIds>
<stripVersion>true</stripVersion>
<outputDirectory>
</outputDirectory>
</configuration>
</execution>
<execution>
<id>copy-connectors</id>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<includeGroupIds>
</includeGroupIds>
<outputDirectory>
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.26</version>
<configuration>
<contextPath>/</contextPath>
<scanIntervalSeconds>0</scanIntervalSeconds>
<!--userRealms>
<userRealm implementation="org.mortbay.jetty.security.HashUserRealm">
<name>openidm</name>
</userRealm>
</userRealms-->
</configuration>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.17</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>