| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you 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>org.apache.cxf.fediz</groupId> |
| <artifactId>fediz-systests</artifactId> |
| <version>1.6.2-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| <groupId>org.apache.cxf.fediz.systests</groupId> |
| <artifactId>fediz-systests-kerberos</artifactId> |
| <name>Apache Fediz Kerberos Systests</name> |
| <packaging>jar</packaging> |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-core</artifactId> |
| <version>${tomcat.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-jasper</artifactId> |
| <version>${tomcat.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf.fediz</groupId> |
| <artifactId>fediz-tomcat</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf.fediz.systests</groupId> |
| <artifactId>fediz-systests-tests</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <version>${slf4j.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hsqldb</groupId> |
| <artifactId>hsqldb</artifactId> |
| <version>${hsqldb.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kerby</groupId> |
| <artifactId>kerb-simplekdc</artifactId> |
| <version>${kerby.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| <build> |
| <testResources> |
| <testResource> |
| <directory>src/test/resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/fediz_config*.xml</include> |
| </includes> |
| </testResource> |
| <testResource> |
| <directory>src/test/resources</directory> |
| <filtering>false</filtering> |
| <excludes> |
| <exclude>**/fediz_config*.xml</exclude> |
| </excludes> |
| </testResource> |
| </testResources> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>reserve-network-port</id> |
| <goals> |
| <goal>reserve-network-port</goal> |
| </goals> |
| <phase>initialize</phase> |
| <configuration> |
| <portNames> |
| <portName>idp.https.port</portName> |
| <portName>rp.https.port</portName> |
| </portNames> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-idp-sts</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>unpack</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.apache.cxf.fediz</groupId> |
| <artifactId>fediz-idp</artifactId> |
| <version>${project.version}</version> |
| <type>war</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>target/tomcat/idp/webapps/fediz-idp</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.cxf.fediz</groupId> |
| <artifactId>fediz-idp-sts</artifactId> |
| <version>${project.version}</version> |
| <type>war</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>target/tomcat/idp/webapps/fediz-idp-sts</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.cxf.fediz.systests.webapps</groupId> |
| <artifactId>fediz-systests-webapps-simple</artifactId> |
| <version>${project.version}</version> |
| <type>war</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>target/tomcat/rp/webapps/simpleWebapp</outputDirectory> |
| <excludes>**/jakarta.xml.bind-api-*.jar</excludes> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.cxf.fediz.systests</groupId> |
| <artifactId>fediz-systests-tests</artifactId> |
| <version>${project.version}</version> |
| <classifier>tests</classifier> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>target/test-classes</outputDirectory> |
| <includes>**/*.jks</includes> |
| </artifactItem> |
| </artifactItems> |
| <outputAbsoluteArtifactFilename>true</outputAbsoluteArtifactFilename> |
| <overWriteSnapshots>true</overWriteSnapshots> |
| <overWriteIfNewer>true</overWriteIfNewer> |
| <stripVersion>true</stripVersion> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-entities-to-sts</id> |
| <phase>generate-test-sources</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${basedir}/target/tomcat/idp/webapps/fediz-idp-sts/WEB-INF</outputDirectory> |
| <resources> |
| <resource> |
| <directory>${basedir}/src/test/resources/sts</directory> |
| <includes> |
| <include>cxf-transport.xml</include> |
| <include>kerberos.xml</include> |
| <include>userClaimsKerberos.xml</include> |
| </includes> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <inherited>true</inherited> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>integration-test</goal> |
| </goals> |
| <configuration> |
| <skip>${skipTests}</skip> |
| <systemPropertyVariables> |
| <wt.headless>true</wt.headless> |
| <idp.https.port>${idp.https.port}</idp.https.port> |
| <rp.https.port>${rp.https.port}</rp.https.port> |
| <java.security.krb5.conf>src/test/resources/krb5.conf</java.security.krb5.conf> |
| <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file> |
| </systemPropertyVariables> |
| <includes> |
| <include>**/systests/**</include> |
| </includes> |
| <argLine>-Xms512m -Xmx1024m</argLine> |
| </configuration> |
| </execution> |
| <execution> |
| <id>verify</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |