<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>be.personify.iam</groupId>
	<artifactId>personify-provisioning</artifactId>
	<version>1.4.4.RELEASE</version>
	<packaging>jar</packaging>
	<licenses>
		<license>
			<name>MIT</name>
		</license>
	</licenses>

	<url>https://personify.be</url>
	<scm>
		<url>https://bitbucket.org/wouter29/?visibility=public</url>
		<connection>scm:git:ssh://git@bitbucket.org:wouter29/personify-provisioning.git</connection>
	</scm>

	<name>personify provisioning library</name>
	<description>provisoning</description>

	<organization>
		<name>mogo</name>
		<url>https://www.mogo.be</url>
	</organization>

	<developers>
		<developer>
			<name>Wouter Van der Beken</name>
			<email>wouter@mogo.be</email>
		</developer>
	</developers>

	<inceptionYear>2019</inceptionYear>

	<properties>
		<maven.compiler.source>1.8</maven.compiler.source>
		<maven.compiler.target>1.8</maven.compiler.target>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
		<project.date>${maven.build.timestamp}</project.date>

		<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>

		<config.dir>/var/tmp/</config.dir>


		<log4j.version>2.17.2</log4j.version>
		<junit.version>4.12</junit.version>
		<apache-directory-api-all.version>2.1.0</apache-directory-api-all.version>
		<postgress.version>9.1-901-1.jdbc4</postgress.version>


	</properties>

	<dependencies>

		
		<dependency>
			<groupId>be.personify.iam</groupId>
			<artifactId>personify-api</artifactId>
			<version>${project.version}</version>
		</dependency>


		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>${junit.version}</version>
			<scope>test</scope>
		</dependency>

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


		<dependency>
			<groupId>org.apache.directory.api</groupId>
			<artifactId>api-all</artifactId>
			<version>${apache-directory-api-all.version}</version>
			<exclusions>
        		<exclusion>
            		<groupId>org.apache.mina</groupId>
            		<artifactId>mina-core</artifactId>
        		</exclusion>
    		</exclusions>
		</dependency>
		
		<!-- because of vulnerability in above -->
		<dependency>
    		<groupId>org.apache.mina</groupId>
    		<artifactId>mina-core</artifactId>
    		<version>2.1.5</version>
		</dependency>
		

		<dependency>
			<groupId>postgresql</groupId>
			<artifactId>postgresql</artifactId>
			<version>${postgress.version}</version>
			<scope>test</scope>
		</dependency>
		
		<dependency>
  			<groupId>com.oracle.database.jdbc</groupId>
  			<artifactId>ojdbc8</artifactId>
  			<version>19.3.0.0</version>
  			<scope>test</scope>
		</dependency>
		
		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
			<version>8.0.26</version>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>com.jcraft</groupId>
			<artifactId>jsch</artifactId>
			<version>0.1.55</version>
		</dependency>



	</dependencies>



	<distributionManagement>
		<snapshotRepository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
	</distributionManagement>

	<build>
		<plugins>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.3.1</version>
				<configuration>
					<archive>
						<addMavenDescriptor>false</addMavenDescriptor>
					</archive>
				</configuration>
			</plugin>


			<plugin>
				<groupId>org.sonatype.plugins</groupId>
				<artifactId>nexus-staging-maven-plugin</artifactId>
				<version>1.6.7</version>
				<extensions>true</extensions>
				<configuration>
					<serverId>ossrh</serverId>
					<nexusUrl>https://oss.sonatype.org/</nexusUrl>
					<autoReleaseAfterClose>true</autoReleaseAfterClose>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.2.1</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.9.1</version>
				<configuration>
					<source>8</source>
				</configuration>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-gpg-plugin</artifactId>
				<version>1.5</version>
				<executions>
					<execution>
						<id>sign-artifacts</id>
						<phase>verify</phase>
						<goals>
							<goal>sign</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			
			<plugin>
              <groupId>org.owasp</groupId>
              <artifactId>dependency-check-maven</artifactId>
              <version>6.5.1</version>
              <executions>
                  <execution>
                      <goals>
                          <goal>check</goal>
                      </goals>
                  </execution>
              </executions>
            </plugin>

		</plugins>
	</build>

</project>
