<?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>dev.metaschema</groupId>
		<artifactId>oss-parent</artifactId>
		<version>10</version>
	</parent>

	<groupId>dev.metaschema.java</groupId>
	<artifactId>metaschema-framework</artifactId>
	<version>3.0.0.M2</version>

	<packaging>pom</packaging>
	<name>Metaschema Framework Parent</name>
	<description>A common build root for all Java projects related to the Metaschema framework.</description>
	<url>${site.url}</url>

	<properties>
		<!-- site configuration -->
		<site.url>https://metaschema-java.metaschema.dev</site.url>
		<scm.url>https://github.com/metaschema-framework/metaschema-java</scm.url>
		<issueManagement.url>https://github.com/metaschema-framework/metaschema-java/issues</issueManagement.url>

		<timestamp>${maven.build.timestamp}</timestamp>
		<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ssZ</maven.build.timestamp.format>

		<maven.compiler.source>11</maven.compiler.source>
		<maven.compiler.target>11</maven.compiler.target>
		<maven.compiler.release>11</maven.compiler.release>
		<mojo.java.target>${maven.compiler.target}</mojo.java.target>

		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

		<mojo.maven.version>3.8.1</mojo.maven.version>

		<dependency.antlr4.version>4.13.2</dependency.antlr4.version>
		<dependency.assertj.version>3.27.6</dependency.assertj.version>
		<dependency.caffeine.version>3.2.3</dependency.caffeine.version>
		<dependency.commons-cli.version>1.11.0</dependency.commons-cli.version>
		<dependency.commons-codec.version>1.20.0</dependency.commons-codec.version>
		<dependency.commons-collections4.version>4.5.0</dependency.commons-collections4.version>
		<dependency.commons-io.version>2.21.0</dependency.commons-io.version>
		<dependency.commons-lang3.version>3.20.0</dependency.commons-lang3.version>
		<dependency.commons-text.version>1.15.0</dependency.commons-text.version>
		<dependency.eclipse-jdt.version>2.4.100</dependency.eclipse-jdt.version>
		<dependency.everit-json.version>1.14.6</dependency.everit-json.version>
		<dependency.flexmark.version>0.64.8</dependency.flexmark.version>
		<dependency.freemarker.version>2.3.34</dependency.freemarker.version>
		<dependency.inject-resources-junit-jupiter.version>1.0.0</dependency.inject-resources-junit-jupiter.version>
		<dependency.jackson.version>2.20.1</dependency.jackson.version>
		<dependency.jline.version>3.30.6</dependency.jline.version>
		<dependency.jaxb.version>4.0.0</dependency.jaxb.version>
		<dependency.jmock-junit5.version>2.13.1</dependency.jmock-junit5.version>
		<dependency.json.version>20251224</dependency.json.version>
		<dependency.lazy4j.version>2.0.3</dependency.lazy4j.version>
		<dependency.log4j2.version>2.25.3</dependency.log4j2.version>
		<dependency.logcaptor.version>2.12.1</dependency.logcaptor.version>
		<dependency.mokito.version>5.21.0</dependency.mokito.version>
		<dependency.moxy.version>4.0.9</dependency.moxy.version>
		<dependency.oss-maven.version>${project.parent.version}</dependency.oss-maven.version>
		<dependency.plexus-utils.version>4.0.2</dependency.plexus-utils.version>
		<dependency.plexus-build-api.version>1.2.0</dependency.plexus-build-api.version>
		<dependency.stax2-api.version>4.2.2</dependency.stax2-api.version>
		<dependency.thymeleaf.version>3.1.3.RELEASE</dependency.thymeleaf.version>
		<dependency.woodstox.version>7.1.1</dependency.woodstox.version>
		<dependency.xmlcalabash.version>3.0.35</dependency.xmlcalabash.version>

		<dependency.xml-apis.version>2.0.2</dependency.xml-apis.version>

		<plugin.antlr4test.version>1.22</plugin.antlr4test.version>
		<plugin.appassembler.version>2.1.0</plugin.appassembler.version>
		<plugin.git-commit-id.version>9.0.2</plugin.git-commit-id.version>
		
		<plugin.templating.version>3.0.0</plugin.templating.version>

		<argLine>-Xmx1024m</argLine>
	</properties>

	<issueManagement>
		<url>https://github.com/metaschema-framework/metaschema-java/issues</url>
		<system>GitHub Issues</system>
	</issueManagement>
	<scm>
		<url>${scm.url}/tree/develop</url>
		<connection>scm:git:git@github.com/metaschema-framework/metaschema-java.git</connection>
		<developerConnection>scm:git:git@github.com:metaschema-framework/metaschema-java.git</developerConnection>
	  <tag>v3.0.0.M2</tag>
  </scm>
	<distributionManagement>
		<repository>
            <id>central</id>
            <name>Maven Central Repository</name>
			<url>https://central.sonatype.com</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
		</repository>
		<snapshotRepository>
			<id>repo-snapshot</id>
			<url>https://raw.githubusercontent.com/metaschema-framework/maven2/refs/heads/main</url>
			<snapshots>
				<enabled>true</enabled>
				<updatePolicy>always</updatePolicy>
			</snapshots>
			<releases>
				<enabled>false</enabled>
			</releases>
		</snapshotRepository>
		<site>
			<id>pages</id>
			<url>${site.url}</url>
		</site>
	</distributionManagement>
	<licenses>
		<license>
			<name>CC0-1.0</name>
			<url>https://creativecommons.org/publicdomain/zero/1.0/</url>
			<distribution>repo</distribution>
		</license>
	</licenses>
	<developers>
		<developer>
			<id>david.waltermire@gsa.gov</id>
			<name>David Waltermire</name>
			<email>david.waltermire@gsa.gov</email>
			<organization>General Services Administration</organization>
			<roles>
				<role>architect</role>
				<role>developer</role>
				<role>maintainer</role>
			</roles>
		</developer>
	</developers>

	<repositories>
       <repository>
            <id>central</id>
            <name>Maven Central Repository</name>
            <url>https://repo.maven.apache.org/maven2</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
		<repository>
			<id>repo-snapshot</id>
			<name>Local Snapshots</name>
			<url>https://raw.githubusercontent.com/metaschema-framework/maven2/refs/heads/main</url>
			<releases>
				<enabled>false</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
				<updatePolicy>always</updatePolicy>
			</snapshots>
		</repository>
	</repositories>
	<pluginRepositories>
       <pluginRepository>
            <id>central</id>
            <name>Maven Central Repository</name>
            <url>https://repo.maven.apache.org/maven2</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </pluginRepository>
		<pluginRepository>
			<id>repo-snapshot</id>
			<name>Local Snapshots</name>
			<url>https://raw.githubusercontent.com/metaschema-framework/maven2/refs/heads/main</url>
			<releases>
				<enabled>false</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
				<updatePolicy>always</updatePolicy>
			</snapshots>
		</pluginRepository>
	</pluginRepositories>

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>${project.groupId}</groupId>
				<artifactId>metaschema-core</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>${project.groupId}</groupId>
				<artifactId>metaschema-databind</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>${project.groupId}</groupId>
				<artifactId>metaschema-databind-modules</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>${project.groupId}</groupId>
				<artifactId>metaschema-freemarker-support</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>${project.groupId}</groupId>
				<artifactId>metaschema-schema-generator</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>${project.groupId}</groupId>
				<artifactId>metaschema-testing</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>${project.groupId}</groupId>
				<artifactId>cli-processor</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.eclipse.persistence</groupId>
				<artifactId>org.eclipse.persistence.moxy</artifactId>
				<version>${dependency.moxy.version}</version>
			</dependency>
			<dependency>
				<groupId>org.codehaus.woodstox</groupId>
				<artifactId>stax2-api</artifactId>
				<version>${dependency.stax2-api.version}</version>
			</dependency>
			<dependency>
				<groupId>xml-apis</groupId>
				<artifactId>xml-apis</artifactId>
				<version>${dependency.xml-apis.version}</version>
			</dependency>
			<dependency>
				<groupId>com.xmlcalabash</groupId>
				<artifactId>xmlcalabash</artifactId>
				<version>${dependency.xmlcalabash.version}</version>
			</dependency>
			<dependency>
				<groupId>com.vladsch.flexmark</groupId>
				<artifactId>flexmark</artifactId>
				<version>${dependency.flexmark.version}</version>
			</dependency>
			<dependency>
				<groupId>com.vladsch.flexmark</groupId>
				<artifactId>flexmark-ext-tables</artifactId>
				<version>${dependency.flexmark.version}</version>
			</dependency>
			<dependency>
				<groupId>com.vladsch.flexmark</groupId>
				<artifactId>flexmark-ext-escaped-character</artifactId>
				<version>${dependency.flexmark.version}</version>
			</dependency>
			<dependency>
				<groupId>com.vladsch.flexmark</groupId>
				<artifactId>flexmark-ext-superscript</artifactId>
				<version>${dependency.flexmark.version}</version>
			</dependency>
			<dependency>
				<groupId>com.vladsch.flexmark</groupId>
				<artifactId>flexmark-ext-gfm-strikethrough</artifactId>
				<version>${dependency.flexmark.version}</version>
			</dependency>
			<dependency>
				<groupId>com.vladsch.flexmark</groupId>
				<artifactId>flexmark-ext-typographic</artifactId>
				<version>${dependency.flexmark.version}</version>
			</dependency>
			<!-- <dependency> -->
			<!-- <groupId>com.vladsch.flexmark</groupId> -->
			<!-- <artifactId>flexmark-formatter</artifactId> -->
			<!-- <version>${dependency.flexmark.version}</version> -->
			<!-- </dependency> -->
			<dependency>
				<groupId>com.vladsch.flexmark</groupId>
				<artifactId>flexmark-html2md-converter</artifactId>
				<version>${dependency.flexmark.version}</version>
			</dependency>
			<dependency>
				<groupId>com.fasterxml.woodstox</groupId>
				<artifactId>woodstox-core</artifactId>
				<version>${dependency.woodstox.version}</version>
			</dependency>
			<dependency>
				<groupId>com.fasterxml.jackson</groupId>
				<artifactId>jackson-bom</artifactId>
				<version>${dependency.jackson.version}</version>
				<scope>import</scope>
				<type>pom</type>
			</dependency>
			<dependency>
				<groupId>org.json</groupId>
				<artifactId>json</artifactId>
				<version>${dependency.json.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.erosb</groupId>
				<artifactId>everit-json-schema</artifactId>
				<version>${dependency.everit-json.version}</version>
			</dependency>
			<dependency>
				<groupId>org.freemarker</groupId>
				<artifactId>freemarker</artifactId>
				<version>${dependency.freemarker.version}</version>
			</dependency>
			<dependency>
				<groupId>org.thymeleaf</groupId>
				<artifactId>thymeleaf</artifactId>
				<version>${dependency.thymeleaf.version}</version>
			</dependency>
			<dependency>
				<groupId>org.antlr</groupId>
				<artifactId>antlr4-runtime</artifactId>
				<version>${dependency.antlr4.version}</version>
			</dependency>
			<dependency>
				<groupId>nl.talsmasoftware</groupId>
				<artifactId>lazy4j</artifactId>
				<version>${dependency.lazy4j.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.seancfoley</groupId>
				<artifactId>ipaddress</artifactId>
				<version>5.5.1</version>
			</dependency>
			<dependency>
				<groupId>org.jline</groupId>
				<artifactId>jansi-core</artifactId>
				<version>${dependency.jline.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.logging.log4j</groupId>
				<artifactId>log4j-bom</artifactId>
				<version>${dependency.log4j2.version}</version>
				<scope>import</scope>
				<type>pom</type>
			</dependency>
			<dependency>
				<groupId>org.apache.commons</groupId>
				<artifactId>commons-lang3</artifactId>
				<version>${dependency.commons-lang3.version}</version>
			</dependency>
			<dependency>
			    <groupId>commons-codec</groupId>
			    <artifactId>commons-codec</artifactId>
			    <version>${dependency.commons-codec.version}</version>
			</dependency>
   			<dependency>
				<groupId>org.apache.commons</groupId>
				<artifactId>commons-collections4</artifactId>
				<version>${dependency.commons-collections4.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.commons</groupId>
				<artifactId>commons-text</artifactId>
				<version>${dependency.commons-text.version}</version>
			</dependency>
			<dependency>
				<groupId>commons-cli</groupId>
				<artifactId>commons-cli</artifactId>
				<version>${dependency.commons-cli.version}</version>
			</dependency>
			<dependency>
				<groupId>commons-io</groupId>
				<artifactId>commons-io</artifactId>
				<version>${dependency.commons-io.version}</version>
			</dependency>
			<dependency>
				<groupId>com.squareup</groupId>
				<artifactId>javapoet</artifactId>
				<version>1.13.0</version>
			</dependency>
			<dependency>
				<groupId>net.openhft</groupId>
				<artifactId>compiler</artifactId>
				<version>2.27ea3</version>
			</dependency>
			<dependency>
			    <groupId>org.eclipse.jdt</groupId>
			    <artifactId>org.eclipse.jdt.annotation</artifactId>
			    <version>${dependency.eclipse-jdt.version}</version>
			</dependency>
			<dependency>
			    <groupId>com.github.ben-manes.caffeine</groupId>
			    <artifactId>caffeine</artifactId>
			    <version>${dependency.caffeine.version}</version>
			</dependency>
			<dependency>
				<groupId>org.jmock</groupId>
				<artifactId>jmock-junit5</artifactId>
				<version>${dependency.jmock-junit5.version}</version>
				<scope>test</scope>
				<exclusions>
					<exclusion>
						<groupId>com.google.code.findbugs</groupId>
						<artifactId>annotations</artifactId>
					</exclusion>
				</exclusions>
			</dependency>
			<dependency>
			    <groupId>org.mockito</groupId>
			    <artifactId>mockito-core</artifactId>
			    <version>${dependency.mokito.version}</version>
			</dependency>
	        <dependency>
			    <groupId>com.github.seregamorph</groupId>
			    <artifactId>hamcrest-more-matchers</artifactId>
			    <version>1.0</version>
			    <scope>test</scope>
			</dependency>
			<dependency>
				<groupId>io.hosuaby</groupId>
				<artifactId>inject-resources-junit-jupiter</artifactId>
				<version>${dependency.inject-resources-junit-jupiter.version}</version>
				<scope>test</scope>
			</dependency>
			<dependency>
			    <groupId>io.github.hakky54</groupId>
			    <artifactId>logcaptor</artifactId>
			    <version>${dependency.logcaptor.version}</version>
			    <scope>test</scope>
			</dependency>
			<dependency>
				<groupId>org.assertj</groupId>
				<artifactId>assertj-core</artifactId>
				<version>${dependency.assertj.version}</version>
				<scope>test</scope>
			</dependency>	
			<dependency>
		        <groupId>org.apache.velocity.tools</groupId>
		        <artifactId>velocity-tools-generic</artifactId>
		        <version>3.1</version>
			</dependency>
		</dependencies>
	</dependencyManagement>
	<dependencies>
		<dependency>
			<groupId>com.github.spotbugs</groupId>
			<artifactId>spotbugs-annotations</artifactId>
			<!--            <optional>true</optional>-->
		</dependency>
		<dependency>
		    <groupId>org.eclipse.jdt</groupId>
		    <artifactId>org.eclipse.jdt.annotation</artifactId>
		</dependency>
		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter</artifactId>
			<scope>test</scope>
		</dependency>
	</dependencies>
	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>${project.groupId}</groupId>
					<artifactId>metaschema-maven-plugin</artifactId>
					<version>${project.version}</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-toolchains-plugin</artifactId>
					<executions>
						<execution>
							<goals>
								<goal>toolchain</goal>
							</goals>
						</execution>
					</executions>
					<configuration>
						<toolchains>
							<jdk>
								<version>17</version>
								<vendor>temurin</vendor>
							</jdk>
						</toolchains>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-enforcer-plugin</artifactId>
					<executions>
					  <execution>
						<id>enforce-maven</id>
						<goals>
						  <goal>enforce</goal>
						</goals>
						<configuration>
						  <rules>
							<requireMavenVersion>
							  <version>[${mojo.maven.version},)</version>
							</requireMavenVersion>
						  </rules>    
						</configuration>
					  </execution>
					</executions>
				  </plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-dependency-plugin</artifactId>
					<configuration>
						<usedDependencies>
							<usedDependency>org.apache.logging.log4j:log4j-core</usedDependency>
						</usedDependencies>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.antlr</groupId>
					<artifactId>antlr4-maven-plugin</artifactId>
					<version>${dependency.antlr4.version}</version>
				</plugin>
				<plugin>
					<groupId>com.khubla.antlr</groupId>
					<artifactId>antlr4test-maven-plugin</artifactId>
					<version>${plugin.antlr4test.version}</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-site-plugin</artifactId>
					<configuration>
						<!-- deploy is handled by the scm plugin -->
						<skipDeploy>true</skipDeploy>
						<relativizeSiteLinks>true</relativizeSiteLinks>
						<generateReports>true</generateReports>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-jxr-plugin</artifactId>
					<configuration>
						<excludes>
							<exclude>**/module-info.java</exclude>
							<!-- JXR excludes package-info.java by design (see DirectoryScanner.addDefaultExcludes) -->
						</excludes>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-javadoc-plugin</artifactId>
					<configuration>
						<excludePackageNames>*.antlr</excludePackageNames>
						<encoding>UTF-8</encoding>
						<docencoding>UTF-8</docencoding>
						<charset>UTF-8</charset>
						<additionalJOptions>
							<additionalJOption>-J-Dfile.encoding=UTF-8</additionalJOption>
						</additionalJOptions>
						<failOnWarnings>true</failOnWarnings>
						<failOnError>true</failOnError>
						<!-- Disable cross-module link auto-detection to avoid JPMS named/unnamed
						     module mismatch warnings. Aggregate javadoc provides full cross-linking. -->
						<detectOfflineLinks>false</detectOfflineLinks>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-release-plugin</artifactId>
					<configuration>
						<projectVersionPolicyId>SemVerVersionPolicy</projectVersionPolicyId>
						<tagNameFormat>v@{project.version}</tagNameFormat>
						<preparationGoals>clean verify</preparationGoals>
						<autoVersionSubmodules>true</autoVersionSubmodules>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-deploy-plugin</artifactId>
					<configuration>
						<deployAtEnd>true</deployAtEnd>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-checkstyle-plugin</artifactId>
					<configuration>
						<sourceDirectories>
							<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
							<sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory>
						</sourceDirectories>
					</configuration>
				</plugin>
				<plugin>
					<groupId>com.github.spotbugs</groupId>
					<artifactId>spotbugs-maven-plugin</artifactId>
					<configuration>
						<excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
						<sarifOutput>true</sarifOutput>
						<sarifOutputFilename>spotbugs.sarif</sarifOutputFilename>
					</configuration>
				</plugin>
				<plugin>
					<groupId>io.github.git-commit-id</groupId>
					<artifactId>git-commit-id-maven-plugin</artifactId>
					<version>${plugin.git-commit-id.version}</version>
					<configuration>
						<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
						<verbose>false</verbose>
						<useNativeGit>false</useNativeGit>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>templating-maven-plugin</artifactId>
					<version>${plugin.templating.version}</version>
				</plugin>
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>appassembler-maven-plugin</artifactId>
					<version>${plugin.appassembler.version}</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-surefire-plugin</artifactId>
					 <dependencies>
						<dependency>
							<groupId>me.fabriciorby</groupId>
							<artifactId>maven-surefire-junit5-tree-reporter</artifactId>
							<!--
								Version compatibility note:
								- v1.5.1 is compatible with maven-surefire-plugin up to 3.5.3
								- v1.5.1 is NOT compatible with maven-surefire-plugin 3.5.4+
								- When upgrading surefire to 3.5.4+, upgrade tree-reporter to 2.x
								See: https://github.com/fabriciorby/maven-surefire-junit5-tree-reporter/issues/68
							-->
							<version>1.5.1</version>
						</dependency>
					</dependencies>
					<configuration>
						<excludedEnvironmentVariables>
							<excludedEnvironmentVariable>JAVA_TOOL_OPTIONS</excludedEnvironmentVariable>
						</excludedEnvironmentVariables>
						<useModulePath>false</useModulePath>
						<redirectTestOutputToFile>true</redirectTestOutputToFile>
						<!-- Use of TCP to transmit events to the plugin -->
						<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory" />
						<!-- Deadlock detection: kill forked JVM after 5 minutes of no output -->
						<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
						<forkedProcessExitTimeoutInSeconds>60</forkedProcessExitTimeoutInSeconds>
						<!-- Junit5 parallel configuration -->
						<parallel>all</parallel>
						<useUnlimitedThreads>true</useUnlimitedThreads>
						<properties>
							<configurationParameters>
								junit.jupiter.execution.parallel.enabled = true
								junit.jupiter.execution.parallel.mode.default = concurrent
								junit.jupiter.execution.timeout.default = 60 s
								junit.jupiter.execution.timeout.mode = disabled_on_debug
								junit.jupiter.execution.timeout.thread.mode.default = SEPARATE_THREAD
								junit.jupiter.extensions.autodetection.enabled = true
							</configurationParameters>
						</properties>
						<!-- tree reporter configuration -->
						<reportFormat>plain</reportFormat>
						<consoleOutputReporter>
							<disable>true</disable>
						</consoleOutputReporter>
						<statelessTestsetInfoReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoTreeReporter">
						</statelessTestsetInfoReporter>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-pmd-plugin</artifactId>
					<configuration>
						<!-- Use custom ruleset that excludes TypeParameterNamingConventions -->
						<rulesets>
							<ruleset>src/main/config/pmd/ruleset.xml</ruleset>
						</rulesets>
						<!-- Exclude package-info.java to match JXR behavior (JXR excludes these by design,
						     so PMD links to xref would be broken). These generated files only have
						     low-priority UnnecessaryFullyQualifiedName warnings anyway. -->
						<excludes>
							<exclude>**/package-info.java</exclude>
						</excludes>
					</configuration>
					<executions>
						<execution>
							<id>pmd-verify</id>
							<goals>
								<goal>check</goal>
							</goals>
							<configuration>
								<failurePriority>2</failurePriority>
								<!-- fail on error for all builds -->
								<failOnViolation>true</failOnViolation>
								<printFailingErrors>true</printFailingErrors>
							</configuration>
						</execution>
						<execution>
							<id>pmd-analyze</id>
							<goals>
								<goal>pmd</goal>
							</goals>
						</execution>
					</executions>
				</plugin>
			</plugins>
		</pluginManagement>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-toolchains-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-site-plugin</artifactId>
			</plugin>
		</plugins>
	</build>
	<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<reportSets>
					<reportSet>
						<id>aggregate-javadoc</id>
						<inherited>false</inherited>
						<reports>
							<report>aggregate-no-fork</report>
						</reports>
						<configuration>
							<doctitle>${project.name} ${project.version} API</doctitle>
							<windowtitle>${project.name} ${project.version} API</windowtitle>
							<!-- Exclude maven-plugin from aggregate due to Maven API split packages -->
							<skippedModules>metaschema-maven-plugin</skippedModules>
						</configuration>
					</reportSet>
				</reportSets>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jxr-plugin</artifactId>
				<reportSets>
					<reportSet>
						<id>default</id>
						<configuration>
							<linkJavadoc>false</linkJavadoc>
						</configuration>
					</reportSet>
				</reportSets>
			</plugin>
		</plugins>
	</reporting>

	<profiles>
		<profile>
			<id>gpg</id>
			<build>
				<pluginManagement>
					<plugins>
						<plugin>
							<groupId>org.apache.maven.plugins</groupId>
							<artifactId>maven-gpg-plugin</artifactId>
							<executions>
								<execution>
									<id>sign-artifacts</id>
									<phase>verify</phase>
									<goals>
										<goal>sign</goal>
									</goals>
									<configuration>
										<!-- enable, since the default is skip -->
										<skip>false</skip>
										<gpgArguments>
											<arg>--pinentry-mode</arg>
											<arg>loopback</arg>
										</gpgArguments>
									</configuration>
								</execution>
							</executions>
						</plugin>
					</plugins>
				</pluginManagement>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
					</plugin>
				</plugins>
			</build>
		</profile>
		<profile>
			<id>deployment</id>
			<build>
				<plugins>
					<plugin>
			          <groupId>org.sonatype.central</groupId>
			          <artifactId>central-publishing-maven-plugin</artifactId>
			          <version>0.10.0</version>
			          <extensions>true</extensions>
			          <configuration>
			             <publishingServerId>central</publishingServerId>
			             <autoPublish>false</autoPublish>
			          </configuration>
			        </plugin>
				</plugins>
			</build>
		</profile>
		<profile>
			<id>snapshots</id>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-deploy-plugin</artifactId>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>

	<modules>
		<module>core</module>
		<module>databind</module>
		<module>schemagen</module>
		<module>metaschema-maven-plugin</module>
		<module>metaschema-testing</module>
		<module>databind-modules</module>
		<module>cli-processor</module>
		<module>metaschema-cli</module>
		<!-- <module>metaschema-freemarker-support</module> -->
		<!-- <module>metaschema-documentation-generator</module> -->
	</modules>
</project>
