<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>io.kokuwa</groupId>
		<artifactId>maven-parent</artifactId>
		<version>0.3.2</version>
		<relativePath />
	</parent>

	<groupId>io.kokuwa.micronaut</groupId>
	<artifactId>micronaut-openapi-codegen</artifactId>
	<version>2.1.9</version>

	<name>OpenApi codegen for Micronaut</name>
	<description>This is an openapi generator for Micronaut.</description>
	<url>https://github.com/kokuwaio/micronaut-openapi-codegen</url>
	<inceptionYear>2019</inceptionYear>
	<licenses>
		<license>
			<name>Apache License 2.0</name>
			<url>https://www.apache.org/licenses/LICENSE-2.0</url>
		</license>
	</licenses>

	<developers>
		<developer>
			<name>Stephan Schnabel</name>
			<url>https://github.com/stephanschnabel</url>
		</developer>
	</developers>

	<scm>
		<url>https://github.com/kokuwaio/micronaut-openapi-codegen</url>
		<connection>scm:git:https://github.com/kokuwaio/micronaut-openapi-codegen.git</connection>
		<developerConnection>scm:git:https://github.com/kokuwaio/micronaut-openapi-codegen.git</developerConnection>
		<tag>2.1.9</tag>
	</scm>
	<issueManagement>
		<system>github</system>
		<url>https://github.com/kokuwaio/micronaut-openapi-codegen/issues</url>
	</issueManagement>

	<properties>

		<!-- ===================================================================== -->
		<!-- ============================= Libaries ============================== -->
		<!-- ===================================================================== -->

		<version.io.micronaut>2.5.8</version.io.micronaut>
		<version.org.openapitools>5.1.1</version.org.openapitools>
		<version.org.openapitools.jackson.nullable>0.2.1</version.org.openapitools.jackson.nullable>

	</properties>

	<dependencies>

		<!-- micronaut -->
		<dependency>
			<groupId>io.micronaut</groupId>
			<artifactId>micronaut-http</artifactId>
			<version>${version.io.micronaut}</version>
		</dependency>

		<!-- openapi -->
		<dependency>
			<groupId>org.openapitools</groupId>
			<artifactId>openapi-generator</artifactId>
			<version>${version.org.openapitools}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.openapitools</groupId>
			<artifactId>jackson-databind-nullable</artifactId>
			<version>${version.org.openapitools.jackson.nullable}</version>
			<scope>provided</scope>
		</dependency>

	</dependencies>

	<build>
		<plugins>

			<!-- run tests -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-invoker-plugin</artifactId>
				<executions>
					<execution>
						<goals>
							<goal>install</goal>
							<goal>integration-test</goal>
							<goal>verify</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
					<goals>
						<goal>clean</goal>
						<goal>verify</goal>
					</goals>
					<writeJunitReport>true</writeJunitReport>
				</configuration>
			</plugin>

		</plugins>
	</build>
</project>
