<?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.platform</groupId>
    <artifactId>ike-platform</artifactId>
    <version>113</version>
  </parent>
  <artifactId>ike-parent</artifactId>
  <packaging>pom</packaging>
  <name>IKE Parent</name>
  <description>Standard parent POM for IKE Network projects. Inheriting this
        POM provides build conventions (Java 25 compiler, test harness,
        GPG signing, AsciiDoc documentation pipeline) from the
        ike-platform reactor root and centralized dependency version
        management declared inline. Declares ike-doc-maven-plugin
        (from network.ike.docs) with extensions=true to provide the
        ike-doc custom packaging type to external doc projects.</description>
  <url>https://ike.network/ike-platform/ike-parent/</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>
  <scm>
    <connection>scm:git:https://github.com/IKE-Network/ike-platform.git</connection>
    <developerConnection>scm:git:git@github.com:IKE-Network/ike-platform.git</developerConnection>
    <url>https://github.com/IKE-Network/ike-platform</url>
  </scm>
  <distributionManagement>
    <repository>
      <id>ike-staging</id>
      <url>https://nexus.tinkar.org/repository/ike-staging/</url>
    </repository>
    <snapshotRepository>
      <id>ike-snapshots</id>
      <url>${deploy.snapshot.url}</url>
    </snapshotRepository>
    <site child.site.url.inherit.append.path="false">
      <id>ike-site</id>
      <url>https://ike.network/ike-platform/${project.artifactId}/</url>
    </site>
  </distributionManagement>
  <properties>
    <java.version>25</java.version>
    <maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
    <maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
    <maven-failsafe-plugin.version>3.5.2</maven-failsafe-plugin.version>
    <maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
    <maven-source-plugin.version>3.3.1</maven-source-plugin.version>
    <jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
    <asm.version>9.9.1</asm.version>
    <record-builder-core.version>34</record-builder-core.version>
    <ike.skip.jacoco>false</ike.skip.jacoco>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>network.ike.tooling</groupId>
        <artifactId>ike-build-standards</artifactId>
        <version>${network.ike.tooling__GA__ike-tooling__VERSION}</version>
        <type>zip</type>
        <classifier>claude</classifier>
      </dependency>
      <dependency>
        <groupId>network.ike.tooling</groupId>
        <artifactId>ike-build-standards</artifactId>
        <version>${network.ike.tooling__GA__ike-tooling__VERSION}</version>
        <type>zip</type>
        <classifier>docs</classifier>
      </dependency>
      <dependency>
        <groupId>network.ike.tooling</groupId>
        <artifactId>ike-build-standards</artifactId>
        <version>${network.ike.tooling__GA__ike-tooling__VERSION}</version>
        <type>zip</type>
        <classifier>asciidoctorconfig</classifier>
      </dependency>
      <dependency>
        <groupId>network.ike.tooling</groupId>
        <artifactId>ike-build-standards</artifactId>
        <version>${network.ike.tooling__GA__ike-tooling__VERSION}</version>
        <type>zip</type>
        <classifier>config</classifier>
      </dependency>
      <dependency>
        <groupId>network.ike.tooling</groupId>
        <artifactId>ike-build-standards</artifactId>
        <version>${network.ike.tooling__GA__ike-tooling__VERSION}</version>
        <type>zip</type>
        <classifier>site-theme</classifier>
      </dependency>
      <dependency>
        <groupId>network.ike.tooling</groupId>
        <artifactId>ike-build-standards</artifactId>
        <version>${network.ike.tooling__GA__ike-tooling__VERSION}</version>
        <type>zip</type>
        <classifier>built-with</classifier>
      </dependency>
      <dependency>
        <groupId>network.ike.tooling</groupId>
        <artifactId>ike-build-standards</artifactId>
        <version>${network.ike.tooling__GA__ike-tooling__VERSION}</version>
        <type>zip</type>
        <classifier>scaffold</classifier>
      </dependency>
      <dependency>
        <groupId>network.ike.docs</groupId>
        <artifactId>ike-doc-resources</artifactId>
        <version>${network.ike.docs__GA__ike-docs__VERSION}</version>
      </dependency>
      <dependency>
        <groupId>network.ike.docs</groupId>
        <artifactId>minimal-fonts</artifactId>
        <version>${network.ike.docs__GA__ike-docs__VERSION}</version>
        <type>zip</type>
      </dependency>
      <dependency>
        <groupId>network.ike.docs</groupId>
        <artifactId>docbook-xsl</artifactId>
        <version>${network.ike.docs__GA__ike-docs__VERSION}</version>
      </dependency>
      <dependency>
        <groupId>network.ike.docs</groupId>
        <artifactId>koncept-asciidoc-extension</artifactId>
        <version>${network.ike.docs__GA__ike-docs__VERSION}</version>
      </dependency>
      <dependency>
        <groupId>org.asciidoctor</groupId>
        <artifactId>asciidoctorj</artifactId>
        <version>${asciidoctorj.version}</version>
      </dependency>
      <dependency>
        <groupId>org.asciidoctor</groupId>
        <artifactId>asciidoctorj-pdf</artifactId>
        <version>${asciidoctorj-pdf.version}</version>
      </dependency>
      <dependency>
        <groupId>org.asciidoctor</groupId>
        <artifactId>asciidoctorj-diagram</artifactId>
        <version>${asciidoctorj-diagram.version}</version>
      </dependency>
      <dependency>
        <groupId>org.junit.jupiter</groupId>
        <artifactId>junit-jupiter</artifactId>
        <version>${junit-jupiter.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.assertj</groupId>
        <artifactId>assertj-core</artifactId>
        <version>${assertj.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.mockito</groupId>
        <artifactId>mockito-core</artifactId>
        <version>${mockito.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.mockito</groupId>
        <artifactId>mockito-junit-jupiter</artifactId>
        <version>${mockito.version}</version>
        <scope>test</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>network.ike.tooling</groupId>
      <artifactId>ike-build-standards</artifactId>
      <type>zip</type>
      <classifier>claude</classifier>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>network.ike.tooling</groupId>
      <artifactId>ike-build-standards</artifactId>
      <type>zip</type>
      <classifier>config</classifier>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>network.ike.tooling</groupId>
      <artifactId>ike-build-standards</artifactId>
      <type>zip</type>
      <classifier>scaffold</classifier>
      <scope>provided</scope>
    </dependency>
  </dependencies>
  <build>
    <pluginManagement>
      <plugins>
        <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>
          <dependencies>
            <dependency>
              <groupId>org.ow2.asm</groupId>
              <artifactId>asm</artifactId>
              <version>${asm.version}</version>
            </dependency>
            <dependency>
              <groupId>org.ow2.asm</groupId>
              <artifactId>asm-tree</artifactId>
              <version>${asm.version}</version>
            </dependency>
            <dependency>
              <groupId>org.ow2.asm</groupId>
              <artifactId>asm-commons</artifactId>
              <version>${asm.version}</version>
            </dependency>
            <dependency>
              <groupId>org.ow2.asm</groupId>
              <artifactId>asm-util</artifactId>
              <version>${asm.version}</version>
            </dependency>
          </dependencies>
          <configuration>
            <release>${java.version}</release>
            <compilerArgs>
              <arg>-parameters</arg>
              <arg>--enable-preview</arg>
            </compilerArgs>
            <showWarnings>true</showWarnings>
            <showDeprecation>true</showDeprecation>
            <annotationProcessorPaths>
              <annotationProcessorPath>
                <groupId>io.soabase.record-builder</groupId>
                <artifactId>record-builder-processor</artifactId>
                <version>${record-builder-core.version}</version>
              </annotationProcessorPath>
            </annotationProcessorPaths>
          </configuration>
        </plugin>
        <plugin>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>${maven-surefire-plugin.version}</version>
          <dependencies>
            <dependency>
              <groupId>org.ow2.asm</groupId>
              <artifactId>asm</artifactId>
              <version>${asm.version}</version>
            </dependency>
            <dependency>
              <groupId>org.ow2.asm</groupId>
              <artifactId>asm-tree</artifactId>
              <version>${asm.version}</version>
            </dependency>
            <dependency>
              <groupId>org.ow2.asm</groupId>
              <artifactId>asm-commons</artifactId>
              <version>${asm.version}</version>
            </dependency>
          </dependencies>
          <configuration>
            <useModulePath>false</useModulePath>
            <forkCount>1</forkCount>
            <reuseForks>false</reuseForks>
            <argLine>@{argLine}
                            --enable-preview
                            --enable-native-access=ALL-UNNAMED
                            --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>
          <artifactId>maven-failsafe-plugin</artifactId>
          <version>${maven-failsafe-plugin.version}</version>
          <dependencies>
            <dependency>
              <groupId>org.ow2.asm</groupId>
              <artifactId>asm</artifactId>
              <version>${asm.version}</version>
            </dependency>
            <dependency>
              <groupId>org.ow2.asm</groupId>
              <artifactId>asm-tree</artifactId>
              <version>${asm.version}</version>
            </dependency>
            <dependency>
              <groupId>org.ow2.asm</groupId>
              <artifactId>asm-commons</artifactId>
              <version>${asm.version}</version>
            </dependency>
          </dependencies>
          <configuration>
            <useModulePath>false</useModulePath>
            <forkCount>1</forkCount>
            <reuseForks>false</reuseForks>
            <argLine>@{failsafeArgLine}
                            --enable-preview
                            --enable-native-access=ALL-UNNAMED
                            --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>
          <artifactId>maven-jar-plugin</artifactId>
          <version>${maven-jar-plugin.version}</version>
          <configuration>
            <archive>
              <manifest>
                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
              </manifest>
            </archive>
          </configuration>
        </plugin>
        <plugin>
          <artifactId>maven-source-plugin</artifactId>
          <version>${maven-source-plugin.version}</version>
          <executions>
            <execution>
              <id>attach-sources</id>
              <goals>
                <goal>jar-no-fork</goal>
              </goals>
            </execution>
          </executions>
        </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-prepare-agent-integration</id>
              <goals>
                <goal>prepare-agent-integration</goal>
              </goals>
            </execution>
            <execution>
              <id>jacoco-report</id>
              <phase>verify</phase>
              <goals>
                <goal>report</goal>
              </goals>
            </execution>
            <execution>
              <id>jacoco-report-integration</id>
              <phase>verify</phase>
              <goals>
                <goal>report-integration</goal>
              </goals>
            </execution>
          </executions>
          <configuration>
            <skip>${ike.skip.jacoco}</skip>
            <formats>
              <format>HTML</format>
              <format>XML</format>
              <format>CSV</format>
            </formats>
          </configuration>
        </plugin>
        <plugin>
          <artifactId>maven-javadoc-plugin</artifactId>
          <configuration>
            <doclint>${ike.javadoc.doclint}</doclint>
            <failOnWarnings>${ike.javadoc.failOnWarnings}</failOnWarnings>
            <source>${java.version}</source>
            <additionalOptions>
              <additionalOption>--enable-preview</additionalOption>
            </additionalOptions>
          </configuration>
        </plugin>
        <plugin>
          <artifactId>maven-artifact-plugin</artifactId>
          <version>3.5.2</version>
          <executions>
            <execution>
              <id>buildinfo</id>
              <phase>verify</phase>
              <goals>
                <goal>buildinfo</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <artifactId>maven-dependency-plugin</artifactId>
          <version>${maven-dependency-plugin.version}</version>
          <executions>
            <execution>
              <id>unpack-site-theme</id>
              <phase>pre-site</phase>
              <goals>
                <goal>unpack-dependencies</goal>
              </goals>
              <configuration>
                <includeGroupIds>network.ike</includeGroupIds>
                <includeArtifactIds>ike-base-parent</includeArtifactIds>
                <includeClassifiers>site-theme</includeClassifiers>
                <includeTypes>zip</includeTypes>
                <outputDirectory>${project.build.directory}/generated-site/resources</outputDirectory>
                <overWriteReleases>true</overWriteReleases>
                <overWriteSnapshots>true</overWriteSnapshots>
              </configuration>
            </execution>
            <execution>
              <id>unpack-built-with-supplement</id>
              <phase>initialize</phase>
              <goals>
                <goal>unpack-dependencies</goal>
              </goals>
              <configuration>
                <includeArtifactIds>ike-build-standards</includeArtifactIds>
                <includeClassifiers>built-with</includeClassifiers>
                <includeTypes>zip</includeTypes>
                <outputDirectory>${project.build.directory}</outputDirectory>
                <overWriteReleases>true</overWriteReleases>
                <overWriteSnapshots>true</overWriteSnapshots>
              </configuration>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <artifactId>maven-resources-plugin</artifactId>
          <version>${maven-resources-plugin.version}</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-site-plugin</artifactId>
          <configuration>
            <relativizeSiteLinks>false</relativizeSiteLinks>
            <topSiteURL>https://ike.network/</topSiteURL>
          </configuration>
        </plugin>
        <plugin>
          <groupId>network.ike.tooling</groupId>
          <artifactId>ike-maven-plugin</artifactId>
          <version>${network.ike.tooling__GA__ike-tooling__VERSION}</version>
        </plugin>
        <plugin>
          <groupId>network.ike.docs</groupId>
          <artifactId>ike-doc-maven-plugin</artifactId>
          <version>${network.ike.docs__GA__ike-docs__VERSION}</version>
        </plugin>
        <plugin>
          <groupId>network.ike.platform</groupId>
          <artifactId>ike-workspace-maven-plugin</artifactId>
          <version>113</version>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <id>unpack-claude-standards</id>
          </execution>
          <execution>
            <id>unpack-build-tools</id>
          </execution>
          <execution>
            <id>unpack-scaffold-templates</id>
          </execution>
        </executions>
      </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>
        <executions>
          <execution>
            <id>copy-bom-to-site</id>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>network.ike.tooling</groupId>
        <artifactId>ike-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>render-spdx-licenses</id>
            <phase>pre-site</phase>
            <goals>
              <goal>render-spdx-licenses</goal>
            </goals>
          </execution>
          <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>
      <plugin>
        <groupId>network.ike.docs</groupId>
        <artifactId>ike-doc-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>lint-site</id>
            <phase>validate</phase>
            <goals>
              <goal>lint-site</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>network.ike.platform</groupId>
        <artifactId>ike-workspace-maven-plugin</artifactId>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>doc-pipeline-deps</id>
      <activation>
        <file>
          <exists>src/docs/asciidoc</exists>
        </file>
      </activation>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
              <execution>
                <id>unpack-asciidoctorconfig</id>
              </execution>
              <execution>
                <id>unpack-doc-resources</id>
              </execution>
              <execution>
                <id>unpack-doc-dependencies</id>
              </execution>
              <execution>
                <id>unpack-fonts</id>
              </execution>
              <execution>
                <id>unpack-docbook-xsl</id>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>network.ike.tooling</groupId>
          <artifactId>ike-build-standards</artifactId>
          <type>zip</type>
          <classifier>asciidoctorconfig</classifier>
          <scope>provided</scope>
        </dependency>
        <dependency>
          <groupId>network.ike.docs</groupId>
          <artifactId>ike-doc-resources</artifactId>
          <scope>provided</scope>
        </dependency>
        <dependency>
          <groupId>network.ike.docs</groupId>
          <artifactId>minimal-fonts</artifactId>
          <type>zip</type>
        </dependency>
        <dependency>
          <groupId>network.ike.docs</groupId>
          <artifactId>docbook-xsl</artifactId>
          <scope>provided</scope>
        </dependency>
      </dependencies>
    </profile>
    <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>
              <execution>
                <id>unpack-built-with-supplement</id>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>network.ike</groupId>
          <artifactId>ike-base-parent</artifactId>
          <version>${ike-base-parent.version}</version>
          <type>zip</type>
          <classifier>site-theme</classifier>
          <scope>provided</scope>
        </dependency>
        <dependency>
          <groupId>network.ike.tooling</groupId>
          <artifactId>ike-build-standards</artifactId>
          <type>zip</type>
          <classifier>built-with</classifier>
          <scope>provided</scope>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>skip-javadoc-for-pom</id>
      <activation>
        <file>
          <missing>src/main/java</missing>
        </file>
      </activation>
      <properties>
        <maven.javadoc.skip>true</maven.javadoc.skip>
        <maven.source.skip>true</maven.source.skip>
      </properties>
    </profile>
  </profiles>
</project>