<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>de.naturzukunft</groupId>
		<artifactId>naturzukunft-pom</artifactId>
		<version>0.0.7</version>
	</parent>
	<groupId>org.linkedopenactors.ap</groupId>
	<artifactId>rdf-pub</artifactId>
	<version>0.0.2</version>
	<packaging>pom</packaging>
	<modules>
		<module>rdf-pub-repository</module>
		<module>rdf-pub-core</module>
		<module>rdf-pub-integrationtests</module>
		<module>rdf-pub-client</module>
	</modules>
	<properties>
		<rdf4j-tools.version>0.1.1</rdf4j-tools.version>
		<rdf4j.version>3.7.4</rdf4j.version>
	</properties>
	<licenses>
		<license>
			<name>European Union Public Licence</name>
			<url>https://joinup.ec.europa.eu/sites/default/files/custom-page/attachment/eupl_v1.2_en.pdf</url>
			<distribution>repo</distribution>
		</license>
	</licenses>
	<developers>
		<developer>
			<id>fhauschel</id>
			<name>Fred Hauschel</name>
			<organization>SoftwareEngineering Hauschel</organization>
			<organizationUrl>http://hauschel.de</organizationUrl>
			<roles>
				<role>architect</role>
				<role>developer</role>
			</roles>
			<timezone>Europe/Berlin</timezone>
		</developer>
	</developers>
	<ciManagement>
        <system>gitlab-ci</system>
        <url>https://gitlab.com/linkedopenactors/rdf-pub/-/pipelines</url>
    </ciManagement>
	<issueManagement>
		<system>gitlab</system>
		<url>https://gitlab.com/linkedopenactors/rdf-pub/-/issues</url>
	</issueManagement>
	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.eclipse.rdf4j</groupId>
				<artifactId>rdf4j-bom</artifactId>
				<version>${rdf4j.version}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
			<dependency>
			    <groupId>org.eclipse.rdf4j</groupId>
			    <artifactId>rdf4j-tools-federation</artifactId>
				<version>${rdf4j.version}</version>
			</dependency>
			<dependency>
				<groupId>de.naturzukunft.rdf4j</groupId>
				<artifactId>vocabulary</artifactId>
				<version>${rdf4j-tools.version}</version>
			</dependency>
			<dependency>
				<groupId>de.naturzukunft.rdf4j</groupId>
				<artifactId>rdf4j-utils</artifactId>
				<version>${rdf4j-tools.version}</version>
			</dependency>
			<dependency>
				<groupId>org.testcontainers</groupId>
				<artifactId>testcontainers</artifactId>
				<version>1.16.2</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>org.testcontainers</groupId>
				<artifactId>junit-jupiter</artifactId>
				<version>1.16.2</version>
				<scope>test</scope>
			</dependency>			
			<dependency>
				<groupId>com.github.dasniko</groupId>
				<artifactId>testcontainers-keycloak</artifactId>
	 			<version>1.8.1</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>org.keycloak</groupId>
				<artifactId>keycloak-admin-client</artifactId>
	    		<version>15.0.0</version>			
			</dependency>
		</dependencies>
	</dependencyManagement>
	<repositories>
		<repository>
			<id>sonatype-snapshots</id>
	      	<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
		</repository>		
		<repository>
			<id>sonatype-releases</id>
	      	<url>https://oss.sonatype.org/content/repositories/releases/</url>
		</repository>
	</repositories>
	<build>
		<pluginManagement>
			<plugins>
				<plugin>
		            <groupId>com.amashchenko.maven.plugin</groupId>
		            <artifactId>gitflow-maven-plugin</artifactId>
		            <version>1.17.0</version>
		            <configuration>
		            	<gitFlowConfig>
							<productionBranch>main</productionBranch>
							<developmentBranch>develop</developmentBranch>
						</gitFlowConfig>		
		            </configuration>
		        </plugin>
			</plugins>
		</pluginManagement>
	    <plugins>
	        <plugin>
	            <groupId>com.amashchenko.maven.plugin</groupId>
	            <artifactId>gitflow-maven-plugin</artifactId>
	        </plugin>
		</plugins>
	</build>

	<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jxr-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>3.3.1</version>
				<configuration>
					<quiet>true</quiet>
					<show>package</show>
				</configuration>
				<reportSets>
					<reportSet>
						<id>default</id>
						<reports>
							<report>javadoc</report>
							<report>test-javadoc</report>
						</reports>
					</reportSet>
					<reportSet>
						<id>aggregate</id>
						<reports>
							<report>aggregate</report>
						</reports>
					</reportSet>
				</reportSets>
   			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-report-plugin</artifactId>
				<version>3.0.0-M5</version>
			</plugin>
		</plugins>
	</reporting>
</project>
