| <?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.3.1-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| <groupId>org.apache.cxf.fediz.systests</groupId> |
| <artifactId>fediz-systests-jetty9</artifactId> |
| <name>Apache Fediz Systests for Jetty 9</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.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <version>${jetty9.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-security</artifactId> |
| <version>${jetty9.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-xml</artifactId> |
| <version>${jetty9.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-webapp</artifactId> |
| <version>${jetty9.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-annotations</artifactId> |
| <version>${jetty9.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.systests</groupId> |
| <artifactId>fediz-systests-tests</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| <classifier>tests</classifier> |
| </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.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-core</artifactId> |
| <version>${tomcat7.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-logging-juli</artifactId> |
| <version>${tomcat7.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jdt.core.compiler</groupId> |
| <artifactId>ecj</artifactId> |
| <version>${ecj.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-jasper</artifactId> |
| <version>${tomcat7.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf.fediz</groupId> |
| <artifactId>fediz-jetty9</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <testResources> |
| <testResource> |
| <directory>src/test/resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/rp-*server.xml</include> |
| <include>**/fediz_config*.xml</include> |
| </includes> |
| </testResource> |
| <testResource> |
| <directory>src/test/resources</directory> |
| <filtering>false</filtering> |
| <excludes> |
| <exclude>**/rp-*server.xml</exclude> |
| <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> |
| </artifactItems> |
| <outputAbsoluteArtifactFilename>true</outputAbsoluteArtifactFilename> |
| <outputDirectory>target</outputDirectory> |
| <overWriteSnapshots>true</overWriteSnapshots> |
| <overWriteIfNewer>true</overWriteIfNewer> |
| <stripVersion>true</stripVersion> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-rp</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <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/rp/</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.cxf.fediz.systests.webapps</groupId> |
| <artifactId>fediz-systests-webapps-springPreauth</artifactId> |
| <version>${project.version}</version> |
| <type>war</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>target/rp/</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| <outputAbsoluteArtifactFilename>true</outputAbsoluteArtifactFilename> |
| <outputDirectory>target</outputDirectory> |
| <overWriteSnapshots>true</overWriteSnapshots> |
| <overWriteIfNewer>true</overWriteIfNewer> |
| <stripVersion>true</stripVersion> |
| </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> |
| <reuseForks>false</reuseForks> |
| <systemPropertyVariables> |
| <wt.headless>true</wt.headless> |
| <idp.https.port>${idp.https.port}</idp.https.port> |
| <rp.https.port>${rp.https.port}</rp.https.port> |
| </systemPropertyVariables> |
| <includes> |
| <include>**/integrationtests/**</include> |
| </includes> |
| <argLine>-XX:MaxPermSize=512M</argLine> |
| </configuration> |
| </execution> |
| <execution> |
| <id>verify</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <inherited>true</inherited> |
| <configuration> |
| <excludes> |
| <exclude>**/integrationtests/**</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>jdk17</id> |
| <activation> |
| <jdk>1.7</jdk> |
| </activation> |
| <properties> |
| <maven.test.skip>true</maven.test.skip> |
| </properties> |
| </profile> |
| </profiles> |
| </project> |