Permalink
Switch branches/tags
stormpath-sdk-root-2.0.4-okta stormpath-sdk-root-2.0.3-okta stormpath-sdk-root-2.0.2-okta stormpath-sdk-root-2.0.1-okta stormpath-sdk-root-2.0.0-okta stormpath-sdk-root-2.0.0-okta-rc3 stormpath-sdk-root-2.0.0-okta-rc2 stormpath-sdk-root-2.0.0-okta-rc1 stormpath-sdk-root-2.0.0-okta-beta1 stormpath-sdk-root-2.0.0-okta-alpha1 stormpath-sdk-root-1.5.5 stormpath-sdk-root-1.5.4 stormpath-sdk-root-1.5.3 stormpath-sdk-root-1.5.2 stormpath-sdk-root-1.5.1 stormpath-sdk-root-1.5.0 stormpath-sdk-root-1.4.1 stormpath-sdk-root-1.4.0 stormpath-sdk-root-1.3.1 stormpath-sdk-root-1.3.0 stormpath-sdk-root-1.2.5 stormpath-sdk-root-1.2.4 stormpath-sdk-root-1.2.3 stormpath-sdk-root-1.2.2 stormpath-sdk-root-1.2.1 stormpath-sdk-root-1.2.0 stormpath-sdk-root-1.1.7 stormpath-sdk-root-1.1.6 stormpath-sdk-root-1.1.5 stormpath-sdk-root-1.1.4 stormpath-sdk-root-1.1.3 stormpath-sdk-root-1.1.2 stormpath-sdk-root-1.1.1 stormpath-sdk-root-1.1.0 stormpath-sdk-root-1.0.4 stormpath-sdk-root-1.0.3 stormpath-sdk-root-1.0.2 stormpath-sdk-root-1.0.1 stormpath-sdk-root-1.0.0 stormpath-sdk-root-1.0.beta stormpath-sdk-root-1.0.alpha stormpath-sdk-root-1.0.RC9.2 stormpath-sdk-root-1.0.RC9.1 stormpath-sdk-root-1.0.RC9 stormpath-sdk-root-1.0.RC8.6 stormpath-sdk-root-1.0.RC8.5 stormpath-sdk-root-1.0.RC8.4 stormpath-sdk-root-1.0.RC8.3 stormpath-sdk-root-1.0.RC8.2 stormpath-sdk-root-1.0.RC8.1 stormpath-sdk-root-1.0.RC8 stormpath-sdk-root-1.0.RC7.7 stormpath-sdk-root-1.0.RC7.6 stormpath-sdk-root-1.0.RC7.5 stormpath-sdk-root-1.0.RC7.4 stormpath-sdk-root-1.0.RC7.3 stormpath-sdk-root-1.0.RC7.2 stormpath-sdk-root-1.0.RC7.1 stormpath-sdk-root-1.0.RC7 stormpath-sdk-root-1.0.RC6 stormpath-sdk-root-1.0.RC5.3 stormpath-sdk-root-1.0.RC5.2 stormpath-sdk-root-1.0.RC5.1 stormpath-sdk-root-1.0.RC5 stormpath-sdk-root-1.0.RC4.5 stormpath-sdk-root-1.0.RC4.4 stormpath-sdk-root-1.0.RC4.3 stormpath-sdk-root-1.0.RC4.2 stormpath-sdk-root-1.0.RC4.1 stormpath-sdk-root-1.0.RC4 stormpath-sdk-root-1.0.RC3.1 stormpath-sdk-root-1.0.RC3 stormpath-sdk-root-1.0.RC2.1 stormpath-sdk-root-1.0.RC2 stormpath-sdk-root-1.0.RC stormpath-sdk-root-0.9.3 stormpath-sdk-root-0.9.2 stormpath-sdk-root-0.9.1 stormpath-sdk-root-0.9.0 stormpath-sdk-root-0.8.1 stormpath-sdk-root-0.8.0 stormpath-sdk-root-0.7.0 stormpath-sdk-root-0.6.0 stormpath-sdk-root-0.4.0 1.0.RC3.preview.0 0.5.0 0.4.1 0.4.0
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
180 lines (174 sloc) 7 KB
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2014 Stormpath, Inc.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<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>com.stormpath.sdk</groupId>
<artifactId>stormpath-sdk-examples</artifactId>
<version>1.6.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>stormpath-sdk-examples-servlet</artifactId>
<version>1.6.0-SNAPSHOT</version>
<name>Stormpath Java SDK :: Examples :: Servlet Container-based Webapp</name>
<description>A simple example webapp deployed in a servlet container.</description>
<packaging>war</packaging>
<properties>
<jdk.version>1.7</jdk.version>
<jstl.version>1.2</jstl.version>
<logback.version>1.1.8</logback.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<servlet.version>3.1.0</servlet.version>
<skipITs>true</skipITs>
</properties>
<dependencies>
<dependency>
<groupId>com.stormpath.sdk</groupId>
<artifactId>stormpath-servlet-plugin</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${servlet.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>${jstl.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.jayway.restassured</groupId>
<artifactId>rest-assured</artifactId>
<scope>test</scope>
</dependency>
<!-- JCL is needed by Rest Assured, but we want to use SLF4J's instead: -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.4.18</version>
<configuration>
<skip>${skipITs}</skip>
<container>
<containerId>tomcat8x</containerId>
<zipUrlInstaller>
<url>
http://repo1.maven.org/maven2/org/apache/tomcat/tomcat/8.5.9/tomcat-8.5.9.zip
</url>
</zipUrlInstaller>
</container>
<deployables>
<deployable>
<groupId>com.stormpath.sdk</groupId>
<artifactId>stormpath-sdk-examples-servlet</artifactId>
<properties>
<context>/</context>
</properties>
</deployable>
</deployables>
<configuration>
<properties>
<cargo.tomcat.ajp.port>8010</cargo.tomcat.ajp.port>
</properties>
</configuration>
</configuration>
<executions>
<execution>
<id>start-server</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
</goals>
</execution>
<execution>
<id>stop-server</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>/</path>
<server>
<port>11079</port>
<shutdown>STOP</shutdown>
<autoDeploy>true</autoDeploy>
<backgroundProcessorDelay>10</backgroundProcessorDelay>
</server>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
</plugins>
</build>
</project>