<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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>de.androbit</groupId>
    <artifactId>raml-converter-root</artifactId>
    <version>0.9</version>
  </parent>

  <artifactId>raml-converter-maven-plugin-example</artifactId>
  <packaging>jar</packaging>

  <name>raml converter maven plugin usage example</name>

  <build>
    <plugins>
        <plugin>
            <groupId>de.androbit</groupId>
            <artifactId>raml-converter-maven-plugin</artifactId>
            <version>${project.version}</version>
            <configuration>
                <raml>music.raml</raml>
            </configuration>
            <executions>
                <execution>
                    <goals>
                        <goal>html</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
        <plugin>
            <groupId>org.asciidoctor</groupId>
            <artifactId>asciidoctor-maven-plugin</artifactId>
            <version>1.5.2</version>
            <configuration>
                <doctype>book</doctype>
                <backend>html</backend>
                <sourceHighlighter>coderay</sourceHighlighter>
            </configuration>
            <executions>
                <execution>
                    <id>output-html</id>
                    <phase>generate-resources</phase>
                    <goals>
                        <goal>process-asciidoc</goal>
                    </goals>
                </execution>
            </executions>
            <dependencies>
                <dependency>
                    <groupId>de.androbit</groupId>
                    <artifactId>raml-converter-all</artifactId>
                    <version>${project.version}</version>
                </dependency>
            </dependencies>
        </plugin>
    </plugins>
  </build>

</project>
