<?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">

    <name>Posten signering - API Specification</name>
    <description>Service description of Digipost's signature service.</description>

    <groupId>no.digipost.signature</groupId>
	<artifactId>signature-api-specification-parent</artifactId>
	<version>2.2</version>
    <packaging>pom</packaging>

    <modules>
        <module>schema</module>
        <module>jaxb</module>
    </modules>


	<build>
		<pluginManagement>
            <plugins>
                <plugin>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <version>2.10</version>
                </plugin>
                <plugin>
                    <artifactId>maven-help-plugin</artifactId>
                    <version>2.2</version>
                </plugin>
                <plugin>
                    <artifactId>maven-clean-plugin</artifactId>
                    <version>3.0.0</version>
                </plugin>
                <plugin>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>3.0.1</version>
                </plugin>
                <plugin>
                    <artifactId>maven-enforcer-plugin</artifactId>
                    <version>1.4.1</version>
                </plugin>
                <plugin>
                    <groupId>org.jasig.maven</groupId>
                    <artifactId>maven-notice-plugin</artifactId>
                    <version>1.0.6.1</version>
                    <inherited>false</inherited>
                    <configuration>
                        <noticeTemplate>${project.basedir}/src/notice/NOTICE.template</noticeTemplate>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>com.mycila</groupId>
					<artifactId>license-maven-plugin</artifactId>
					<version>3.0</version>
                    <configuration>
                        <header>src/license-header.txt</header>
                        <strictCheck>true</strictCheck>
                        <failIfMissing>true</failIfMissing>
                        <failIfUnknown>true</failIfUnknown>
                        <mapping>
                            <xjb>XML_STYLE</xjb>
                        </mapping>
                        <excludes>
                            <exclude>**/pom.xml</exclude>
                            <exclude>src/validation/*.*</exclude>
                            <exclude>xsd/thirdparty/*.*</exclude>
                            <exclude>xsd/catalog.xml</exclude>
                            <exclude>examples/**/*</exclude>
                            <exclude>NOTICE</exclude>
                            <exclude>LICENSE</exclude>
                            <exclude>src/notice/NOTICE.template</exclude>
                            <exclude>src/notice/license-mappings.xml</exclude>
                            <exclude>jaxb/*.xjb</exclude>
                            <exclude>integrasjon/**</exclude>
                            <exclude>docs/**</exclude>
                        </excludes>
                    </configuration>
                </plugin>
                <plugin>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>3.0.2</version>
                </plugin>
                <plugin>
                    <artifactId>maven-install-plugin</artifactId>
                    <version>2.5.2</version>
                </plugin>
                <plugin>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>2.8.2</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>versions-maven-plugin</artifactId>
                    <version>2.3</version>
                    <configuration>
                        <generateBackupPoms>false</generateBackupPoms>
                    </configuration>
                </plugin>
			</plugins>
		</pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.jasig.maven</groupId>
                <artifactId>maven-notice-plugin</artifactId>
                <executions>
                    <execution>
                        <id>check-NOTICE-file</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>check</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>com.mycila</groupId>
                <artifactId>license-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>check-license-header</id>
                        <phase>test</phase>
                        <goals>
                            <goal>check</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-enforcer-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>enforce</goal>
                        </goals>
                        <configuration>
                            <rules>
                                <requireMavenVersion>
                                    <version>3.0</version>
                                </requireMavenVersion>
                            </rules>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
	</build>

	<scm>
		<connection>scm:git:git@github.com:digipost/signature-api-specification.git</connection>
		<developerConnection>scm:git:git@github.com:digipost/signature-api-specification.git</developerConnection>
		<url>https://github.com/digipost/signature-api-specification/</url>
		<tag>2.2</tag>
	</scm>




    <parent>
        <groupId>no.digipost</groupId>
        <artifactId>digipost-open-super-pom</artifactId>
        <version>1</version>
        <relativePath />
    </parent>

    <modelVersion>4.0.0</modelVersion>

</project>
