example
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.openidentityplatform.commons.selfservice</groupId>
<artifactId>example</artifactId>
<version>3.1.2</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
~ 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 legal/CDDLv1.0.txt. See the License for the
~ specific language governing permission and limitations under the License.
~
~ When distributing Covered Software, include this CDDL Header Notice in each file and include
~ the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
~ Header, with the fields enclosed by brackets [] replaced by your own identifying
~ information: "Portions copyright [year] [name of copyright owner]".
~
~ Copyright 2015 ForgeRock AS.
-->
<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>selfservice</artifactId>
<groupId>org.openidentityplatform.commons</groupId>
<version>3.1.2</version>
</parent>
<groupId>org.openidentityplatform.commons.selfservice</groupId>
<artifactId>example</artifactId>
<packaging>bundle</packaging>
<name>${project.groupId}.${project.artifactId}</name>
<description>
Some basic self service examples.
</description>
<dependencies>
<dependency>
<groupId>org.openidentityplatform.commons.selfservice</groupId>
<artifactId>core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openidentityplatform.commons.selfservice</groupId>
<artifactId>custom-stage</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openidentityplatform.commons.selfservice</groupId>
<artifactId>stages</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openidentityplatform.commons.selfservice</groupId>
<artifactId>json</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openidentityplatform.commons.selfservice</groupId>
<artifactId>example-ui</artifactId>
<version>${project.version}</version>
<classifier>www</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.openidentityplatform.commons</groupId>
<artifactId>json-resource</artifactId>
</dependency>
<dependency>
<groupId>org.openidentityplatform.commons.http-framework</groupId>
<artifactId>servlet</artifactId>
</dependency>
<dependency>
<groupId>org.openidentityplatform.commons</groupId>
<artifactId>json-resource-http</artifactId>
</dependency>
<dependency>
<groupId>org.openidentityplatform.commons</groupId>
<artifactId>util</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</dependency>
</dependencies>
<build><finalName>${project.groupId}.${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<executions>
<execution>
<id>war</id>
<phase>package</phase>
<goals>
<goal>war</goal>
</goals>
<configuration>
<classifier>servlet</classifier>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<phase>package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.openidentityplatform.commons.selfservice</groupId>
<artifactId>example-ui</artifactId>
<version>${project.version}</version>
<type>zip</type>
<classifier>www</classifier>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.directory}/webapp</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.2.1.v20140609</version>
<configuration>
<scanIntervalSeconds>2</scanIntervalSeconds>
<webApp>
<baseResource implementation="org.eclipse.jetty.util.resource.ResourceCollection">
<resourcesAsCSV>${project.build.directory}/webapp</resourcesAsCSV>
</baseResource>
<contextPath>/example</contextPath>
</webApp>
<httpConnector>
<port>9999</port>
</httpConnector>
</configuration>
</plugin>
</plugins>
</build>
</project>