| <?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.5.2-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| <groupId>org.apache.cxf.fediz.systests</groupId> |
| <artifactId>fediz-systests-oidc</artifactId> |
| <name>Apache Fediz Systests Open Id Connect</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>net.sourceforge.htmlunit</groupId> |
| <artifactId>htmlunit</artifactId> |
| <version>${htmlunit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <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</groupId> |
| <artifactId>fediz-spring</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</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.cxf</groupId> |
| <artifactId>cxf-rt-rs-security-jose-jaxrs</artifactId> |
| <version>${cxf.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <!-- org.apache.cxf.ws.security.trust.STSLoginModule --> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-ws-security</artifactId> |
| <version>${cxf.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-ws-policy</artifactId> |
| <version>${cxf.version}</version> |
| </dependency> |
| </dependencies> |
| <build> |
| <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>${project.build.directory}/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>${project.build.directory}/tomcat/idp/webapps/fediz-idp-sts</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.cxf.fediz</groupId> |
| <artifactId>fediz-oidc</artifactId> |
| <version>${project.version}</version> |
| <type>war</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.build.directory}/tomcat/rp/webapps/fediz-oidc-tomcat</outputDirectory> |
| <excludes>META-INF/context.xml,**/jakarta.xml.bind-api-*.jar</excludes> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.cxf.fediz</groupId> |
| <artifactId>fediz-oidc</artifactId> |
| <version>${project.version}</version> |
| <type>war</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.build.directory}/tomcat/rp/webapps/fediz-oidc-spring</outputDirectory> |
| <excludes>META-INF/context.xml</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>${project.build.testOutputDirectory}</outputDirectory> |
| <includes>**/*.jks</includes> |
| </artifactItem> |
| </artifactItems> |
| <outputAbsoluteArtifactFilename>true</outputAbsoluteArtifactFilename> |
| <overWriteSnapshots>true</overWriteSnapshots> |
| <overWriteIfNewer>true</overWriteIfNewer> |
| <stripVersion>true</stripVersion> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-extra-jars-to-oidc-tomcat</id> |
| <phase>package</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/tomcat/rp/webapps/fediz-oidc-tomcat/WEB-INF/lib</outputDirectory> |
| <includeScope>compile</includeScope> |
| <excludeGroupIds>org.springframework.security,org.apache.cxf.fediz,jakarta.xml.bind</excludeGroupIds> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-extra-jars-to-oidc-spring</id> |
| <phase>package</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/tomcat/rp/webapps/fediz-oidc-spring/WEB-INF/lib</outputDirectory> |
| <includeScope>compile</includeScope> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-entities-to-idp</id> |
| <phase>generate-test-sources</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/tomcat/idp/webapps/fediz-idp/WEB-INF/classes</outputDirectory> |
| <resources> |
| <resource> |
| <directory>${basedir}/src/test/resources/realma</directory> |
| <includes> |
| <include>entities-realma.xml</include> |
| </includes> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-entities-to-oidc-tomcat</id> |
| <phase>generate-test-sources</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/tomcat/rp/webapps/fediz-oidc-tomcat/WEB-INF</outputDirectory> |
| <resources> |
| <resource> |
| <directory>${basedir}/src/test/resources/oidc</directory> |
| <includes> |
| <include>applicationContext.xml</include> |
| <include>data-manager.xml</include> |
| </includes> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-entities-to-oidc-spring</id> |
| <phase>generate-test-sources</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/tomcat/rp/webapps/fediz-oidc-spring/WEB-INF</outputDirectory> |
| <resources> |
| <resource> |
| <directory>${basedir}/src/test/resources/oidc</directory> |
| <includes> |
| <include>data-manager.xml</include> |
| </includes> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>${basedir}/src/test/resources/oidc/spring</directory> |
| <includes> |
| <include>applicationContext.xml</include> |
| <include>web.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.io.tmpdir>${project.build.directory}</java.io.tmpdir> |
| <java.security.auth.login.config>src/test/resources/sts.jaas</java.security.auth.login.config> |
| <java.util.logging.config.file>${project.build.testOutputDirectory}/logging.properties</java.util.logging.config.file> |
| </systemPropertyVariables> |
| <includes> |
| <include>**/systests/**</include> |
| </includes> |
| <argLine>-Xms512m -Xmx1024m</argLine> |
| <!--argLine>-Xms512m -Xmx1024m -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y</argLine--> |
| </configuration> |
| </execution> |
| <execution> |
| <id>verify</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |