| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| 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</artifactId> |
| <version>1.1.1</version> |
| <relativePath>../../pom.xml</relativePath> |
| </parent> |
| <artifactId>fediz-idp</artifactId> |
| <name>Apache Fediz IDP (Spring Security & Spring Web Flow)</name> |
| <packaging>war</packaging> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-jdbc</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-tx</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-aop</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.5</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf.fediz</groupId> |
| <artifactId>fediz-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-webmvc</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.webflow</groupId> |
| <artifactId>spring-webflow</artifactId> |
| <version>2.3.4.RELEASE</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.security</groupId> |
| <artifactId>spring-security-web</artifactId> |
| <version>${spring.security.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.security</groupId> |
| <artifactId>spring-security-config</artifactId> |
| <version>${spring.security.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>ognl</groupId> |
| <artifactId>ognl</artifactId> |
| <version>${ognl.version}</version> |
| <scope>runtime</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>javassist</groupId> |
| <artifactId>javassist</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.javassist</groupId> |
| <artifactId>javassist</artifactId> |
| <version>${javassist.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <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-transports-http</artifactId> |
| <version>${cxf.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-ws-policy</artifactId> |
| <version>${cxf.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>${commons.lang.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-jaxrs</artifactId> |
| <version>${cxf.version}</version> |
| </dependency> |
| </dependencies> |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/realm.properties</include> |
| <include>**/web.xml</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>false</filtering> |
| <excludes> |
| <exclude>**/realm.properties</exclude> |
| <exclude>**/web.xml</exclude> |
| </excludes> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <!--for mvn tomcat:deploy/:undeploy/:redeploy --> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>tomcat-maven-plugin</artifactId> |
| <version>1.1</version> |
| <configuration> |
| <server>myTomcat</server> |
| <url>http://localhost:9080/manager/text</url> |
| <path>/${project.build.finalName}</path> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <configuration> |
| <webResources> |
| <resource> |
| <directory>src/main/webapp</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/applicationContext.xml</include> |
| <include>**/web.xml</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>src/main/webapp</directory> |
| <filtering>false</filtering> |
| <excludes> |
| <exclude>**/applicationContext.xml</exclude> |
| <exclude>**/web.xml</exclude> |
| </excludes> |
| </resource> |
| </webResources> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| <!-- Name of the generated WAR file --> |
| <finalName>fediz-idp</finalName> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>realm-a</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <properties> |
| </properties> |
| <build> |
| <filters> |
| <filter>src/main/filters/realm-a/env.properties</filter> |
| </filters> |
| </build> |
| </profile> |
| <profile> |
| <id>realm-b</id> |
| <properties> |
| </properties> |
| <build> |
| <filters> |
| <filter>src/main/filters/realm-b/env.properties</filter> |
| </filters> |
| <finalName>fediz-idp-remote</finalName> |
| </build> |
| </profile> |
| </profiles> |
| </project> |