<?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>dk.sds.dgws-idws-proxy</groupId>
	<artifactId>wsproxy-parent</artifactId>
	<version>1.7.15-SNAPSHOT</version>
	<packaging>pom</packaging>

	<description>Proxy for WebService applications that need DGWS / IDWS validation</description>

	<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>1.5.7.RELEASE</version>
		<relativePath />
	</parent>

	<scm>
		<connection>scm:svn:https://svn.nspop.dk/svn/libraries/dgws-idws-proxy/trunk</connection>
	</scm>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
		<java.version>1.8</java.version>
		<spring.version>4.3.12.RELEASE</spring.version>
		<spring-boot.version>1.5.7.RELEASE</spring-boot.version>
        <log4j2.version>2.7</log4j2.version>
		<logback.version>1.1.9</logback.version>
		<seal.version>2.3.1</seal.version>
        <functionaltest.serverport>8085</functionaltest.serverport>
        <functionaltest.urlprefix>http://localhost:${functionaltest.serverport}</functionaltest.urlprefix>
	</properties>

	<repositories>
		<repository>
			<id>nsp-nexus-public</id>
			<name>NSP public</name>
			<url>https://nexus.nspop.dk/nexus/content/groups/public/</url>
		</repository>
		<repository>
			<id>nsp-nexus-releases</id>
			<name>NSP releases</name>
			<url>https://nexus.nspop.dk/nexus/content/repositories/releases/</url>
		</repository>
	</repositories>

	<dependencies>
		<dependency>
			<groupId>org.apache.logging.log4j</groupId>
			<artifactId>log4j-api</artifactId>
			<version>${log4j2.version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.logging.log4j</groupId>
			<artifactId>log4j-core</artifactId>
			<version>${log4j2.version}</version>
		</dependency>
	</dependencies>

	<modules>
		<module>testservice-schemas</module>
		<module>testservice</module>
		<module>wsproxy-schemas</module>
		<module>wsproxy-api</module>
		<module>wsproxy-dgws-security</module>
		<module>wsproxy-idws-security</module>
		<module>wsproxy</module>
		<module>testutils</module>
		<module>integrationtest</module>
	</modules>

	<build>
		<plugins>
			<plugin>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.4</version>
				<configuration>
					<autoVersionSubmodules>true</autoVersionSubmodules>
					<!-- releaseProfiles>releases</releaseProfiles -->
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>3.0.0-M1</version>
				<configuration>
					<excludePackageNames>dk.sds.wsproxy.testservice*:dk.medcom*:org*:oasis*:idws*</excludePackageNames>
				</configuration>
			</plugin>

			<plugin>
				<inherited>false</inherited>
				<groupId>com.mycila</groupId>
				<artifactId>license-maven-plugin</artifactId>
				<version>3.0</version>
				<configuration>
					<strictCheck>true</strictCheck>
					<header>${basedir}/LICENSE</header>
					<failIfMissing>true</failIfMissing>
					<aggregate>true</aggregate>
					<includes>
						<include>**/src/**/*.java</include>
					</includes>
				</configuration>
				<executions>
					<execution>
						<phase>verify</phase>
						<goals>
							<goal>format</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

		</plugins>
	</build>
</project>
