<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>net.shibboleth.oidc</groupId>
		<artifactId>oidc-common-parent</artifactId>
		<version>2.2.1</version>
	</parent>

	<artifactId>oidc-common-plugin</artifactId>
	<name>Shibboleth IdP :: Plugins :: OIDC Common :: Plugin</name>
	<description>Plugin configuration module of the common OIDC plugin</description>

	<properties>
		<checkstyle.configLocation>${project.basedir}/../checkstyle.xml</checkstyle.configLocation>
		<automatic.module.name>net.shibboleth.oidc.common</automatic.module.name>
	</properties>

	<dependencies>
		<!-- Needed for module/plugin impls. -->
		<dependency>
			<groupId>${idp.groupId}</groupId>
			<artifactId>idp-admin-api</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>${idp.groupId}</groupId>
			<artifactId>idp-admin-impl</artifactId>
			<scope>provided</scope>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<configuration>
					<archive>						
						<manifestSections>
							<manifestSection>
								<name>net/shibboleth/oidc/common/</name>
								<manifestEntries>
									<Implementation-Title>${project.artifactId}</Implementation-Title>
									<Implementation-Version>${project.version}</Implementation-Version>
									<Implementation-Vendor>shibboleth.net</Implementation-Vendor>
								</manifestEntries>
							</manifestSection>
						</manifestSections>
					</archive>
				</configuration>
			</plugin>
		</plugins>
	</build>

</project>
