<?xml version="1.0"?>
<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>io.apicurio</groupId>
		<artifactId>apicurio-registry</artifactId>
		<version>2.4.4.SP1-redhat-00001</version>
		<relativePath>../pom.xml</relativePath>
	</parent>

	<artifactId>apicurio-registry-docs</artifactId>
	<packaging>pom</packaging>
	<name>apicurio-registry-docs</name>

	<url>https://www.apicur.io/</url>
	<description>Open Source API &amp; Schema Registry</description>

	<organization>
		<name>Red Hat</name>
		<url>https://www.redhat.com</url>
	</organization>

	<licenses>
		<license>
			<name>Apache License Version 2.0</name>
			<url>https://repository.jboss.org/licenses/apache-2.0.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

	<issueManagement>
		<system>GitHub</system>
		<url>https://github.com/apicurio/apicurio-registry/issues</url>
	</issueManagement>

	<scm>
		<connection>scm:git:git@github.com:apicurio/apicurio-registry.git</connection>
		<developerConnection>scm:git:git@github.com:apicurio/apicurio-registry.git</developerConnection>
		<url>scm:git:git@github.com:apicurio/apicurio-registry.git</url>
	</scm>

	<developers>
		<developer>
			<name>Eric Wittmann</name>
			<id>EricWittmann</id>
			<email>eric.wittmann@redhat.com</email>
			<organization>Red Hat</organization>
			<roles>
				<role>Project Lead</role>
				<role>Developer</role>
			</roles>
			<timezone>-5</timezone>
		</developer>
		<developer>
			<name>Jakub Senko</name>
			<id>jsenko</id>
			<email>m@jsenko.net</email>
			<organization>Red Hat</organization>
			<roles>
				<role>Developer</role>
			</roles>
			<timezone>+1</timezone>
		</developer>
		<developer>
			<name>Aleš Justin</name>
			<id>alesj</id>
			<email>ajustin@redhat.com</email>
			<organization>Red Hat</organization>
			<roles>
				<role>Developer</role>
			</roles>
			<timezone>+1</timezone>
		</developer>
	</developers>

	<properties>
    <apicurio-common-rest-client.version>0.1.18.Final-redhat-00001</apicurio-common-rest-client.version>
    <snakeyaml.version>2.0.0.redhat-00003</snakeyaml.version>
    <quarkus.version>2.13.8.SP3-redhat-00001</quarkus.version>
    <apicurio-common-app-components.version>0.1.21.Final-redhat-00001</apicurio-common-app-components.version>
  </properties>

	<modules>
		<module>rest-api</module>
	</modules>

	<dependencies>
		<!-- Fake dependency to ensure that the JAR is already available locally -->
		<dependency>
			<groupId>io.apicurio</groupId>
			<artifactId>apicurio-registry-app</artifactId>
			<version>2.4.4.SP1-redhat-00001</version>
		</dependency>
	</dependencies>

	<profiles>
		<profile>
			<id>docs-generation</id>
			<activation>
				<property>
						<name>!skipDocsGen</name>
				</property>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>dev.jbang</groupId>
						<artifactId>jbang-maven-plugin</artifactId>
						<version>0.0.7</version>
						<inherited>false</inherited>
						<executions>
							<execution>
								<id>run</id>
								<phase>process-resources</phase>
								<goals>
									<goal>run</goal>
								</goals>
								<configuration>
										<script>${project.basedir}/generateAllConfigPartial.java</script>
										<args>
											<arg>${project.version}</arg>
											<arg>${project.basedir}</arg>
											<arg>${apicurio-common-app-components.version}</arg>
										</args>
								</configuration>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>

</project>
