<?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.hexaglue.plugins</groupId>
        <artifactId>hexaglue-plugins</artifactId>
        <version>6.1.1</version>
    </parent>

    <artifactId>hexaglue-plugin-rest</artifactId>
    <version>3.1.1</version>
    <packaging>jar</packaging>

    <name>HexaGlue REST Plugin</name>
    <description>Generates REST controllers from driving ports</description>

    <properties>
        <hexaglue.root>${project.basedir}/../..</hexaglue.root>
    </properties>

    <dependencies>
        <!-- HexaGlue SPI (compile scope - needed at runtime) -->
        <dependency>
            <groupId>io.hexaglue</groupId>
            <artifactId>hexaglue-spi</artifactId>
        </dependency>

        <!-- JavaPoet for code generation -->
        <dependency>
            <groupId>com.palantir.javapoet</groupId>
            <artifactId>javapoet</artifactId>
            <version>0.11.0</version>
        </dependency>

        <!-- Testing -->
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.assertj</groupId>
            <artifactId>assertj-core</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

</project>
