<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>
		<groupId>org.idempiere</groupId>
		<artifactId>org.idempiere.parent</artifactId>
		<version>${revision}</version>
		<relativePath>../org.idempiere.parent/pom.xml</relativePath>
	</parent>
	<artifactId>org.idempiere.ui.sso.oidc</artifactId>
	<packaging>eclipse-plugin</packaging>
	
	<build>
		<plugins>
			<plugin>
				<artifactId>maven-clean-plugin</artifactId>
				<executions>
					<execution>
						<id>auto-clean</id>
						<phase>validate</phase>
						<goals>
							<goal>clean</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<filesets>
						<fileset>
							<directory>${project.basedir}/lib</directory>
							<includes>
								<include>*.jar</include>
							</includes>
							<followSymlinks>false</followSymlinks>
        				</fileset>
					</filesets>
				</configuration>
			</plugin>
		    <plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
				<executions>
					<execution>
						<phase>validate</phase>
						<goals>
							<goal>copy</goal>
						</goals>
						<configuration>
							<artifactItems>
								<artifactItem>
									<groupId>com.nimbusds</groupId>
    								<artifactId>oauth2-oidc-sdk</artifactId>
    								<version>10.7.1</version>
								</artifactItem>
								<artifactItem>
									<groupId>com.nimbusds</groupId>
								    <artifactId>nimbus-jose-jwt</artifactId>
								    <version>9.37.3</version>
								</artifactItem>
								<artifactItem>
									<groupId>net.minidev</groupId>
								    <artifactId>json-smart</artifactId>
								    <version>2.4.10</version>
								</artifactItem>
								<artifactItem>
									<groupId>com.nimbusds</groupId>
								    <artifactId>lang-tag</artifactId>
								    <version>1.7</version>
								</artifactItem>
								<artifactItem>
									<groupId>net.minidev</groupId>
								    <artifactId>accessors-smart</artifactId>
								    <version>2.4.9</version>
								</artifactItem>
								<artifactItem>
									<groupId>com.nimbusds</groupId>
								    <artifactId>content-type</artifactId>
								    <version>2.2</version>
								</artifactItem>
							</artifactItems>
							<outputDirectory>lib</outputDirectory>
							<stripVersion>true</stripVersion>
							<overWriteReleases>true</overWriteReleases>
							<overWriteSnapshots>true</overWriteSnapshots>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>
