<?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>
    <groupId>com.fulcrologic</groupId>
    <artifactId>escapement</artifactId>
    <packaging>jar</packaging>
    <version>1.0.0-RC3</version>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
    </properties>
    <name>escapement</name>
    <description>A statechart-driven autonomous coding agent.</description>
    <url>https://github.com/fulcrologic/escapement</url>
    <licenses>
        <license>
            <name>MIT</name>
            <url>https://opensource.org/licenses/MIT</url>
        </license>
    </licenses>
    <scm>
        <url>https://github.com/fulcrologic/escapement</url>
        <connection>scm:git:git://github.com/fulcrologic/escapement.git</connection>
        <developerConnection>scm:git:ssh://git@github.com/fulcrologic/escapement.git</developerConnection>
        <tag>escapement-1.0.0-RC3</tag>
    </scm>
    <distributionManagement>
        <repository>
            <id>clojars</id>
            <name>Clojars repository</name>
            <url>https://clojars.org/repo</url>
        </repository>
    </distributionManagement>
    <build>
        <sourceDirectory>src</sourceDirectory>
        <resources>
            <resource>
                <directory>src</directory>
                <excludes>
                    <exclude>**/.escapement/**</exclude>
                </excludes>
            </resource>
            <!-- index.html + the fetch manifest (escapement-ui.edn) ship in the jar. The compiled
                       SPA bundle is NOT in git (avoids bloat); run `bb build-ui` before packaging so
                       resources/public/js/main/main.js exists in the working tree and gets bundled into
                       the jar too. bbin installs (git tree, no bundle) instead fetch it from the GitHub
                       release on demand. Served by escapement.ui.server from the classpath. -->
            <resource>
                <directory>resources</directory>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-gpg-plugin</artifactId>
                <version>1.6</version>
                <executions>
                    <execution>
                        <id>sign-artifacts</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>sign</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
    <repositories>
        <repository>
            <id>clojars</id>
            <url>https://repo.clojars.org/</url>
        </repository>
    </repositories>
    <dependencies>
        <dependency>
            <groupId>org.clojure</groupId>
            <artifactId>clojure</artifactId>
            <version>1.12.0</version>
        </dependency>
        <dependency>
            <groupId>com.fulcrologic</groupId>
            <artifactId>guardrails</artifactId>
            <version>1.2.16</version>
        </dependency>
        <dependency>
            <groupId>metosin</groupId>
            <artifactId>malli</artifactId>
            <version>0.16.4</version>
        </dependency>
        <dependency>
            <groupId>cheshire</groupId>
            <artifactId>cheshire</artifactId>
            <version>5.13.0</version>
        </dependency>
        <dependency>
            <groupId>babashka</groupId>
            <artifactId>process</artifactId>
            <version>0.5.22</version>
        </dependency>
        <dependency>
            <groupId>org.jline</groupId>
            <artifactId>jline-terminal</artifactId>
            <version>3.27.1</version>
        </dependency>
        <dependency>
            <groupId>org.babashka</groupId>
            <artifactId>http-client</artifactId>
            <version>0.4.22</version>
        </dependency>
        <dependency>
            <groupId>com.fulcrologic</groupId>
            <artifactId>statecharts</artifactId>
            <version>1.4.0-RC18</version>
        </dependency>
    </dependencies>
</project>
