<?xml version="1.0" encoding="UTF-8"?>
<!-- See LICENSE.txt file in the root directory of this repository for the 
    copyright/license information. -->
<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>
        <artifactId>idp-plugin-oidc-op-parent</artifactId>
        <groupId>net.shibboleth.idp.plugin.oidc</groupId>
        <version>3.0.0-alpha1</version>
    </parent>
    
    <artifactId>idp-plugin-oidc-op-distribution</artifactId>
    <name>Shibboleth IdP :: Plugins :: OpenID Connect Provider Distribution</name>
    <description>OpenID Connect Provider plugin distribution.</description>

    <properties>
        <checkstyle.configLocation>${project.basedir}/../resources/checkstyle.xml</checkstyle.configLocation>
        <automatic.module.name>net.shibboleth.idp.plugin.oidc.op.distribution</automatic.module.name>
        <dist.finalName>shibboleth-idp-plugin-oidc-op-${project.version}</dist.finalName>
    </properties>

    <build>
	    <plugins>
	      <plugin>
	        <artifactId>maven-assembly-plugin</artifactId>
	        <configuration>
	          <tarLongFileMode>posix</tarLongFileMode>
	          <descriptors>
	              <descriptor>src/assembly/dep.xml</descriptor>
	          </descriptors>
	          <finalName>${dist.finalName}</finalName>    
	          <appendAssemblyId>false</appendAssemblyId>                        
	        </configuration>
	        <executions>
	          <execution>
	            <id>create-archive</id>
	            <phase>package</phase>
	            <goals>
	              <goal>single</goal>
	            </goals>
	          </execution>
	        </executions>
	      </plugin>
	    </plugins>
   </build>


</project>

