<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>network.ike</groupId>
    <artifactId>ike-base-parent</artifactId>
    <version>15</version>
  </parent>
  <groupId>network.ike.tooling</groupId>
  <artifactId>ike-tooling</artifactId>
  <version>221</version>
  <packaging>pom</packaging>
  <name>IKE Tooling</name>
  <description>Workspace management, release orchestration, gitflow workflows,
        and build-time utilities for IKE Network projects.</description>
  <url>https://ike.network/ike-tooling/</url>
  <inceptionYear>2026</inceptionYear>
  <organization>
    <name>IKE Network</name>
    <url>https://ike.network</url>
  </organization>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>IKE Network Team</name>
      <email>dev@ike.network</email>
      <organization>IKE Network</organization>
      <organizationUrl>https://ike.network</organizationUrl>
    </developer>
  </developers>
  <scm>
    <connection>scm:git:https://github.com/IKE-Network/ike-tooling.git</connection>
    <developerConnection>scm:git:git@github.com:IKE-Network/ike-tooling.git</developerConnection>
    <url>https://github.com/IKE-Network/ike-tooling</url>
  </scm>
  <distributionManagement>
    <site>
      <id>ike-site</id>
      <url>https://ike.network/ike-tooling/</url>
    </site>
  </distributionManagement>
  <properties>
    <deploy.staging.url>https://nexus.tinkar.org/repository/ike-staging/</deploy.staging.url>
    <maven.deploy.skip>true</maven.deploy.skip>
    <maven.install.skip>true</maven.install.skip>
    <network.ike__GA__ike-java-support__VERSION>9</network.ike__GA__ike-java-support__VERSION>
    <ike.javadoc.doclint>all</ike.javadoc.doclint>
    <ike.javadoc.failOnWarnings>true</ike.javadoc.failOnWarnings>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <project.build.outputTimestamp>2026-06-16T17:05:48Z</project.build.outputTimestamp>
    <java.version>25</java.version>
    <maven.compiler.source>${java.version}</maven.compiler.source>
    <maven.compiler.target>${java.version}</maven.compiler.target>
    <maven.compiler.release>${java.version}</maven.compiler.release>
    <maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
    <maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
    <maven-plugin-api.version>3.9.9</maven-plugin-api.version>
    <maven-api.version>4.0.0-rc-5</maven-api.version>
    <maven-plugin-annotations.version>3.15.1</maven-plugin-annotations.version>
    <maven-plugin-plugin.version>3.15.1</maven-plugin-plugin.version>
    <asm.version>9.9.1</asm.version>
    <snakeyaml.version>2.2</snakeyaml.version>
    <junit-jupiter.version>6.0.0</junit-jupiter.version>
    <assertj.version>3.27.3</assertj.version>
    <jruby.version>10.0.3.0</jruby.version>
    <testcontainers.version>2.0.4</testcontainers.version>
    <surefire.excludedGroups>container</surefire.excludedGroups>
    <surefire.groups></surefire.groups>
    <jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.testcontainers</groupId>
        <artifactId>testcontainers-bom</artifactId>
        <version>${testcontainers.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-dependency-plugin</artifactId>
          <version>3.9.0</version>
          <executions>
            <execution>
              <id>unpack-claude-standards</id>
              <phase>validate</phase>
              <goals>
                <goal>unpack-dependencies</goal>
              </goals>
              <configuration>
                <includeArtifactIds>ike-build-standards</includeArtifactIds>
                <includeClassifiers>claude</includeClassifiers>
                <includeTypes>zip</includeTypes>
                <outputDirectory>${project.basedir}/.claude/standards</outputDirectory>
                <overWriteReleases>true</overWriteReleases>
                <overWriteSnapshots>true</overWriteSnapshots>
              </configuration>
            </execution>
            <execution>
              <id>unpack-site-theme</id>
              <phase>pre-site</phase>
              <goals>
                <goal>unpack</goal>
              </goals>
              <configuration>
                <artifactItems>
                  <artifactItem>
                    <groupId>network.ike.tooling</groupId>
                    <artifactId>ike-build-standards</artifactId>
                    <version>221</version>
                    <classifier>site-theme</classifier>
                    <type>zip</type>
                    <outputDirectory>${project.build.directory}/generated-site/resources</outputDirectory>
                  </artifactItem>
                </artifactItems>
                <overWriteReleases>true</overWriteReleases>
                <overWriteSnapshots>true</overWriteSnapshots>
              </configuration>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>network.ike.tooling</groupId>
          <artifactId>ike-maven-plugin</artifactId>
          <version>221</version>
        </plugin>
        <plugin>
          <artifactId>maven-site-plugin</artifactId>
          <version>3.21.0</version>
          <dependencies>
            <dependency>
              <groupId>org.sentrysoftware.maven</groupId>
              <artifactId>maven-skin-tools</artifactId>
              <version>1.7.00</version>
              <exclusions>
                <exclusion>
                  <groupId>org.graalvm.js</groupId>
                  <artifactId>js</artifactId>
                </exclusion>
              </exclusions>
            </dependency>
            <dependency>
              <groupId>org.graalvm.polyglot</groupId>
              <artifactId>polyglot</artifactId>
              <version>25.0.2</version>
            </dependency>
            <dependency>
              <groupId>org.graalvm.polyglot</groupId>
              <artifactId>js</artifactId>
              <version>25.0.2</version>
              <type>pom</type>
            </dependency>
            <dependency>
              <groupId>org.asciidoctor</groupId>
              <artifactId>asciidoctor-parser-doxia-module</artifactId>
              <version>3.2.0</version>
            </dependency>
          </dependencies>
          <configuration>
            <generatedSiteDirectory>${project.build.directory}/generated-site</generatedSiteDirectory>
          </configuration>
        </plugin>
        <plugin>
          <artifactId>maven-project-info-reports-plugin</artifactId>
          <version>3.9.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-clean-plugin</artifactId>
          <version>3.4.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-install-plugin</artifactId>
          <version>3.1.3</version>
        </plugin>
        <plugin>
          <artifactId>maven-deploy-plugin</artifactId>
          <version>3.1.3</version>
        </plugin>
        <plugin>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>${maven-compiler-plugin.version}</version>
        </plugin>
        <plugin>
          <artifactId>maven-jar-plugin</artifactId>
          <version>3.4.2</version>
        </plugin>
        <plugin>
          <artifactId>maven-resources-plugin</artifactId>
          <version>3.3.1</version>
          <executions>
            <execution>
              <id>copy-bom-to-site</id>
              <phase>pre-site</phase>
              <goals>
                <goal>copy-resources</goal>
              </goals>
              <configuration>
                <outputDirectory>${project.build.directory}/site</outputDirectory>
                <resources>
                  <resource>
                    <directory>${project.build.directory}</directory>
                    <includes>
                      <include>bom.json</include>
                      <include>bom.xml</include>
                    </includes>
                  </resource>
                </resources>
              </configuration>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.cyclonedx</groupId>
          <artifactId>cyclonedx-maven-plugin</artifactId>
          <version>2.9.0</version>
          <executions>
            <execution>
              <id>make-bom</id>
              <phase>package</phase>
              <goals>
                <goal>makeBom</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>${maven-surefire-plugin.version}</version>
          <configuration>
            <redirectTestOutputToFile>true</redirectTestOutputToFile>
            <excludedGroups>${surefire.excludedGroups}</excludedGroups>
            <groups>${surefire.groups}</groups>
            <argLine>@{argLine}
                            --enable-preview
                            --add-opens java.base/java.lang=ALL-UNNAMED
                            --add-opens java.base/java.util=ALL-UNNAMED
                            --add-opens java.base/java.lang.reflect=ALL-UNNAMED
                            --add-opens java.base/java.io=ALL-UNNAMED</argLine>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.jacoco</groupId>
          <artifactId>jacoco-maven-plugin</artifactId>
          <version>${jacoco-maven-plugin.version}</version>
          <executions>
            <execution>
              <id>jacoco-prepare-agent</id>
              <goals>
                <goal>prepare-agent</goal>
              </goals>
            </execution>
            <execution>
              <id>jacoco-report</id>
              <phase>verify</phase>
              <goals>
                <goal>report</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.cyclonedx</groupId>
        <artifactId>cyclonedx-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-resources-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-install-plugin</artifactId>
        <configuration>
          <skip>false</skip>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-deploy-plugin</artifactId>
        <configuration>
          <skip>false</skip>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <reporting>
    <plugins>
      <plugin>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>3.9.0</version>
        <reportSets>
          <reportSet>
            <reports>
              <report>index</report>
              <report>summary</report>
              <report>modules</report>
              <report>licenses</report>
              <report>dependencies</report>
              <report>dependency-info</report>
              <report>dependency-management</report>
              <report>plugins</report>
              <report>plugin-management</report>
              <report>distribution-management</report>
            </reports>
          </reportSet>
        </reportSets>
        <configuration>
          <dependencyDetailsEnabled>true</dependencyDetailsEnabled>
          <dependencyLocationsEnabled>true</dependencyLocationsEnabled>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
        <reportSets>
          <reportSet>
            <reports>
              <report>report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${maven-javadoc-plugin.version}</version>
        <reportSets>
          <reportSet>
            <reports>
              <report>javadoc</report>
            </reports>
          </reportSet>
        </reportSets>
        <configuration>
          <detectJavaApiLink>true</detectJavaApiLink>
          <links>
            <link>https://ike.network/ike-tooling/ike-workspace-model/apidocs/</link>
            <link>https://ike.network/ike-tooling/ike-maven-plugin-support/apidocs/</link>
            <link>https://ike.network/ike-tooling/ike-maven-plugin/apidocs/</link>
          </links>
        </configuration>
      </plugin>
    </plugins>
  </reporting>
  <profiles>
    <profile>
      <id>site-resources</id>
      <activation>
        <file>
          <exists>src/site</exists>
        </file>
      </activation>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
              <execution>
                <id>unpack-site-theme</id>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>releaseSelfSite</id>
      <activation>
        <property>
          <name>release.bootstrap.version</name>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>network.ike.tooling</groupId>
            <artifactId>ike-maven-plugin</artifactId>
            <version>${release.bootstrap.version}</version>
            <executions>
              <execution>
                <id>built-with</id>
                <phase>pre-site</phase>
                <goals>
                  <goal>built-with</goal>
                </goals>
              </execution>
              <execution>
                <id>render-sbom-viewer</id>
                <phase>pre-site</phase>
                <goals>
                  <goal>render-sbom-viewer</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>