<?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.github.berkleytechnologyservices</groupId>
    <artifactId>restdocs-spec</artifactId>
    <version>0.23</version>
  </parent>

  <artifactId>restdocs-spec-generator</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <description>Generate API specifications using snippets generated by Spring Rest Docs.</description>

  <dependencies>
    <dependency>
      <groupId>com.epages</groupId>
      <artifactId>restdocs-api-spec-openapi-generator</artifactId>
    </dependency>
    <dependency>
      <groupId>com.epages</groupId>
      <artifactId>restdocs-api-spec-openapi3-generator</artifactId>
    </dependency>
    <dependency>
      <groupId>com.epages</groupId>
      <artifactId>restdocs-api-spec-postman-generator</artifactId>
    </dependency>
    <dependency>
      <groupId>com.epages</groupId>
      <artifactId>restdocs-api-spec-model</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.inject</groupId>
      <artifactId>javax.inject</artifactId>
    </dependency>
    <dependency>
      <groupId>com.fasterxml.jackson.module</groupId>
      <artifactId>jackson-module-kotlin</artifactId>
      <scope>provided</scope>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.eclipse.sisu</groupId>
        <artifactId>sisu-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>generate-index</id>
            <goals>
              <goal>main-index</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

</project>
