| <?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/xsd/maven-4.0.0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>${groupId}</groupId> |
| <artifactId>${rootArtifactId}</artifactId> |
| <version>${version}</version> |
| </parent> |
| |
| <name>Apache Syncope sample project - WA</name> |
| <groupId>${groupId}</groupId> |
| <artifactId>${artifactId}</artifactId> |
| <packaging>war</packaging> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apereo.cas</groupId> |
| <artifactId>cas-server-support-bom</artifactId> |
| <version>${cas.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${groupId}</groupId> |
| <artifactId>syncope-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.syncope.wa</groupId> |
| <artifactId>syncope-wa-starter</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.syncope.common.keymaster.self</groupId> |
| <artifactId>syncope-common-keymaster-client-self</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.syncope.common.keymaster</groupId> |
| <artifactId>syncope-common-keymaster-client-zookeeper</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <finalName>syncope-wa</finalName> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <inherited>true</inherited> |
| <configuration> |
| <webResources> |
| <resource> |
| <directory>${basedir}/src/main/webapp/WEB-INF</directory> |
| <filtering>true</filtering> |
| <targetPath>WEB-INF</targetPath> |
| <includes> |
| <include>web.xml</include> |
| </includes> |
| </resource> |
| </webResources> |
| </configuration> |
| </plugin> |
| </plugins> |
| |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| |
| <testResources> |
| <testResource> |
| <directory>src/test/resources</directory> |
| <filtering>true</filtering> |
| </testResource> |
| </testResources> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>executable</id> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-undertow</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| <configuration> |
| <mainClass>org.apache.syncope.wa.starter.SyncopeWAApplication</mainClass> |
| <layout>ZIP</layout> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>repackage</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |