175 lines
7.1 KiB
XML
175 lines
7.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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>
|
|
<groupId>com.baeldung</groupId>
|
|
<artifactId>cas-server</artifactId>
|
|
<packaging>war</packaging>
|
|
<version>1.0</version>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>${org.springframework.boot.spring-boot-starter-parent.version}</version>
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
</parent>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apereo.cas</groupId>
|
|
<artifactId>cas-server-webapp${app.server}</artifactId>
|
|
<version>${cas.version}</version>
|
|
<type>war</type>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apereo.cas</groupId>
|
|
<artifactId>cas-server-support-json-service-registry</artifactId>
|
|
<version>${cas.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apereo.cas</groupId>
|
|
<artifactId>cas-server-support-jdbc</artifactId>
|
|
<version>${cas.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apereo.cas</groupId>
|
|
<artifactId>cas-server-support-jdbc-drivers</artifactId>
|
|
<version>${cas.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.rimerosolutions.maven.plugins</groupId>
|
|
<artifactId>wrapper-maven-plugin</artifactId>
|
|
<version>${wrapper-maven-plugin.version}</version>
|
|
<configuration>
|
|
<verifyDownload>true</verifyDownload>
|
|
<checksumAlgorithm>MD5</checksumAlgorithm>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${springboot.version}</version>
|
|
<configuration>
|
|
<mainClass>org.springframework.boot.loader.WarLauncher</mainClass>
|
|
<addResources>true</addResources>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>${maven-war-plugin.version}</version>
|
|
<configuration>
|
|
<warName>cas</warName>
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
<recompressZippedFiles>false</recompressZippedFiles>
|
|
<archive>
|
|
<compress>false</compress>
|
|
<manifestFile>${project.build.directory}/war/work/org.apereo.cas/cas-server-webapp${app.server}/META-INF/MANIFEST.MF
|
|
</manifestFile>
|
|
</archive>
|
|
<overlays>
|
|
<overlay>
|
|
<groupId>org.apereo.cas</groupId>
|
|
<artifactId>cas-server-webapp${app.server}</artifactId>
|
|
</overlay>
|
|
</overlays>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
<configuration>
|
|
<source>${maven.compiler.source}</source>
|
|
<target>${maven.compiler.target}</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
<finalName>cas</finalName>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<id>pgp</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.s4u.plugins</groupId>
|
|
<artifactId>pgpverify-maven-plugin</artifactId>
|
|
<version>${pgpverify-maven-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<pgpKeyServer>hkp://pool.sks-keyservers.net</pgpKeyServer>
|
|
<pgpKeysCachePath>${settings.localRepository}/pgpkeys-cache</pgpKeysCachePath>
|
|
<scope>test</scope>
|
|
<verifyPomFiles>true</verifyPomFiles>
|
|
<failNoSignature>false</failNoSignature>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>sonatype-releases</id>
|
|
<url>http://oss.sonatype.org/content/repositories/releases/</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
</repository>
|
|
<repository>
|
|
<id>sonatype-snapshots</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
</repository>
|
|
<repository>
|
|
<id>shibboleth-releases</id>
|
|
<url>https://build.shibboleth.net/nexus/content/repositories/releases</url>
|
|
</repository>
|
|
<repository>
|
|
<id>spring-milestones</id>
|
|
<url>https://repo.spring.io/milestone</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<properties>
|
|
<cas.version>5.1.4</cas.version>
|
|
<springboot.version>1.5.3.RELEASE</springboot.version>
|
|
<!-- app.server could be -jetty, -undertow, -tomcat, or blank if you plan to provide appserver -->
|
|
<app.server>-tomcat</app.server>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<org.springframework.boot.spring-boot-starter-parent.version>2.0.0.M7</org.springframework.boot.spring-boot-starter-parent.version>
|
|
<wrapper-maven-plugin.version>0.0.4</wrapper-maven-plugin.version>
|
|
<maven-war-plugin.version>2.6</maven-war-plugin.version>
|
|
<maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
|
|
<pgpverify-maven-plugin.version>1.1.0</pgpverify-maven-plugin.version>
|
|
</properties>
|
|
|
|
</project> |