127 lines
4.8 KiB
XML
127 lines
4.8 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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>openid-connect-server</artifactId>
|
|
<name>OpenIdConnect Server</name>
|
|
<packaging>war</packaging>
|
|
<parent>
|
|
<groupId>org.mitre</groupId>
|
|
<artifactId>openid-connect-parent</artifactId>
|
|
<version>0.1</version>
|
|
<relativePath>..</relativePath>
|
|
</parent>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.mitre</groupId>
|
|
<artifactId>openid-connect-common</artifactId>
|
|
<version>0.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<description>Reference implementation of OpenID Connect spec (http://openid.net/connect/).
|
|
</description>
|
|
<url></url>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>${java-version}</source>
|
|
<target>${java-version}</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>prepare-war</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>exploded</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<warName>openid-connect-server</warName>
|
|
<useCache>true</useCache>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>install</id>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>sources</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<junitArtifactName>junit:junit</junitArtifactName>
|
|
<excludes>
|
|
<exclude>**/*_Roo_*</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>tomcat-maven-plugin</artifactId>
|
|
<version>1.0-beta-1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<configuration>
|
|
<formats>
|
|
<format>xml</format>
|
|
</formats>
|
|
<instrumentation>
|
|
<ignores>
|
|
<ignore>org.apache.log4j.*</ignore>
|
|
</ignores>
|
|
<excludes>
|
|
<!-- <exclude>org/mitre/openid/**/model/**/*.class</exclude> -->
|
|
</excludes>
|
|
</instrumentation>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>cobertura</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>cobertura</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
<artifactId>maven-replacer-plugin</artifactId>
|
|
<version>1.3.8</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>replace</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<!-- Replace database key/value pairs if there -->
|
|
<configuration>
|
|
<filesToInclude>target/${project.artifactId}-${project.version}/WEB-INF/spring/data-context.xml,target/${project.artifactId}-${project.version}/WEB-INF/spring/security-context.xml</filesToInclude>
|
|
<tokenValueMap>local-values.conf</tokenValueMap>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|