<!--

    =======================================================================

    Copyright (c) 2010-2026 Eclipse Dirigible contributors.
    All rights reserved. This program and the accompanying materials
    are made available under the terms of the Eclipse Public License v2.0
    which accompanies this distribution, and is available at
    http://www.eclipse.org/legal/epl-v20.html

	=======================================================================

	Standard build:
		mvn clean install

	Build without tests:
		mvn clean install -DskipTests

	Build without compiling tests:
		mvn clean install -Dmaven.test.skip=true

	Build with threads:
		mvn -T 1C clean install

	Build without javadoc:
		mvn clean install -Dmaven.javadoc.skip=true

	Do a fast build:
		mvn -T 1C clean install -Dmaven.test.skip=true -DskipTests -Dmaven.javadoc.skip=true

	Update the years in the license header:
		mvn license:format -P license -DskipExistingHeaders=false

	Update the version:
		mvn versions:set -DnewVersion=3.3.1-SNAPSHOT

	Generate Javadoc:
		mvn javadoc:javadoc

	Reuse tool check
		python3 -m reuse lint

	Upload to Maven Central:
		mvn javadoc:jar
		mvn deploy -P release -DskipTests

	Tests coverage report generation:
		mvn clean -B package -P coverage

	Static checks analysis:
		mvn clean install -P spotbugs
		
	Integration tests:
		mvn -f tests/pom.xml verify -P integration-tests -D selenide.headless=true

 -->
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://maven.apache.org/POM/4.0.0"
         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>org.sonatype.oss</groupId>
        <artifactId>oss-parent</artifactId>
        <version>9</version>
    </parent>

    <name>Dirigible - Parent</name>
    <description>Dirigible Parent</description>
    <groupId>org.eclipse.dirigible</groupId>
    <artifactId>dirigible-parent</artifactId>
    <version>14.95.0</version>
    <packaging>pom</packaging>

    <inceptionYear>2010</inceptionYear>

    <licenses>
        <license>
            <name>Eclipse Public License - v 2.0</name>
            <url>https://www.eclipse.org/legal/epl-v20.html</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <url>http://www.dirigible.io</url>

    <organization>
        <name>Eclipse Foundation</name>
        <url>http://www.eclipse.org</url>
    </organization>

    <developers>
        <developer>
            <id>office</id>
            <name>Office</name>
            <email>office@codbex.com</email>
            <url>https://github.com/codbex</url>
            <organization>codbex</organization>
            <organizationUrl>https://www.codbex.com</organizationUrl>
        </developer>
    </developers>

    <properties>
        <project.title>Eclipse Dirigible</project.title>

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

        <!-- Java -->
        <java.version>21</java.version>
        <maven.compiler.source>${java.version}</maven.compiler.source>
        <maven.compiler.target>${java.version}</maven.compiler.target>

        <!-- Maven -->
        <maven-compiler-plugin.version>3.16.0</maven-compiler-plugin.version>
        <maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
        <maven-surefire-plugin.version>3.6.0</maven-surefire-plugin.version>
        <maven-failsafe-plugin.version>3.6.0</maven-failsafe-plugin.version>
        <maven-source-plugin.version>3.4.0</maven-source-plugin.version>
        <maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
        <maven-jacoco-plugin.version>0.8.15</maven-jacoco-plugin.version>
        <maven-spotbugs-plugin.version>4.10.5.0</maven-spotbugs-plugin.version>
        <maven-formatter-plugin.version>2.29.0</maven-formatter-plugin.version>
        <maven-exec-plugin.version>3.6.4</maven-exec-plugin.version>
        <maven-git-commit-id-plugin.version>4.9.10</maven-git-commit-id-plugin.version>
        <maven-download-plugin.version>1.13.0</maven-download-plugin.version>
        <maven-dependency-plugin.version>3.11.0</maven-dependency-plugin.version>
        <maven-jar-plugin.version>3.5.1</maven-jar-plugin.version>
        <maven-build-helper-plugin.version>3.6.2</maven-build-helper-plugin.version>

        <!-- JDT Language Server bundled at build time.
             Served from our own mirror (dirigiblelabs/jdtls-mirror releases) because
             download.eclipse.org intermittently fails to respond and flakes the build, and its
             '-latest' snapshot is a moving target that breaks reproducibility. Each mirror release
             pins one known-good JDT.LS snapshot. To bump: publish a new release on the mirror named
             after the JDT.LS version (from plugins/org.eclipse.jdt.ls.core_<version>.jar in the
             tarball) and point this URL at the new asset. See the mirror repo README. -->
        <jdtls.download.url>https://github.com/dirigiblelabs/jdtls-mirror/releases/download/1.47.0.202505151856/jdt-language-server-1.47.0.202505151856.tar.gz</jdtls.download.url>
        <jdtls.download.skip>false</jdtls.download.skip>
        <!-- com.microsoft.java.debug plugin bundled alongside JDT.LS (EPL-1.0, on Maven Central) -->
        <java.debug.plugin.version>0.53.1</java.debug.plugin.version>
        <java.debug.plugin.download.skip>false</java.debug.plugin.download.skip>
        <maven-license-plugin.version>5.1.2</maven-license-plugin.version>

        <!-- Spring -->
        <spring.boot.version>4.1.0</spring.boot.version>
        <springdoc.version>3.1.1</springdoc.version>

        <!-- Webjars -->
        <webjars.locator.version>0.52</webjars.locator.version>
        <webjars.locator.core.version>0.59</webjars.locator.core.version>

        <!-- GraalVM -->
        <graalvm.version>25.4.4.1.1</graalvm.version>

        <!-- Commons -->
        <commons.io>2.22.0</commons.io>
        <commons.lang3>3.21.0</commons.lang3>
        <commons.exec>1.6.0</commons.exec>
        <commons-csv.version>1.14.1</commons-csv.version>

        <apache-httpcomponents-httpmime.version>4.5.14</apache-httpcomponents-httpmime.version>
        <apache-httpcomponents-httpclient.version>4.5.14</apache-httpcomponents-httpclient.version>
        <apache-httpcomponents-httpasyncclient.version>4.1.5</apache-httpcomponents-httpasyncclient.version>
        <okhttp.version>5.5.0</okhttp.version>

        <jaxb.version>2.3.1</jaxb.version>

        <!-- Lucene -->
        <lucene.version>10.5.1</lucene.version>

        <!-- Chemistry -->
        <chemistry.version>1.1.0</chemistry.version>

        <!-- FTP -->
        <mina-core.version>2.2.10</mina-core.version>
        <sshd-core.version>2.20.0</sshd-core.version>
        <ftpserver.version>1.2.1</ftpserver.version>

        <!-- ActiveMQ -->
        <activemq.version>6.1.0</activemq.version>

        <!-- Maven Artifact Resolver (embedded for dynamic dependency resolution);
             maven-resolver-maven.version is the Maven line the resolver release pairs with -->
        <maven-resolver.version>1.9.27</maven-resolver.version>
        <maven-resolver-maven.version>3.10.0</maven-resolver-maven.version>

        <!-- Camel -->
        <camel.version>4.23.0</camel.version>


        <!-- Velocity -->
        <velocity.version>2.4</velocity.version>

        <!-- JGit -->
        <jgit.version>7.8.0.202609011348-r</jgit.version>

        <!-- Flowable -->
        <flowable.version>8.0.0</flowable.version>

        <!-- Wiki -->
        <wikitext.version>3.0.48.202308291007</wikitext.version>
        <flexmark.version>0.64.8</flexmark.version>

        <!-- JDBC -->
        <ngdbc.version>2.30.11</ngdbc.version>
        <snowflake.version>4.4.0</snowflake.version>
        <mssql.version>13.6.1.jre11</mssql.version>
        <mysql.version>8.4.0</mysql.version>

        <!-- AWS SDK v2 - the single line every software.amazon.awssdk artifact in the fat jar
             carries, imported as a BOM below so no consumer pins its own. -->
        <awssdk.version>2.55.15</awssdk.version>

        <!-- QLDB -->
        <qldb.driver.version>2.3.1</qldb.driver.version>
        <qldb.sdk.version>1.12.797</qldb.sdk.version>
        <!-- The one artifact that cannot join ${awssdk.version}: AWS discontinued QLDB, so
             software.amazon.awssdk:qldbsession stopped being published after this version and the
             AWS SDK BOM no longer manages it. See components/api/api-qldb/pom.xml. -->
        <qldbsession.version>2.37.1</qldbsession.version>

        <!-- jETCD -->
        <jetcd.core.version>0.8.7</jetcd.core.version>

        <!-- Various -->
        <c3p0.version>0.14.2</c3p0.version>
        <guava.version>33.7.2-jre</guava.version>
        <classgraph.version>4.8.198</classgraph.version>
        <logcaptor.version>2.12.7</logcaptor.version>

        <!-- UI -->
        <blimpkit.version>2.3.1</blimpkit.version>
        <sap-theming__theming-base-content.version>11.18.2</sap-theming__theming-base-content.version>
        <sortablejs.version>1.15.7</sortablejs.version>
        <fundamental-styles.version>0.38.0</fundamental-styles.version>
        <angular-aria.version>1.8.2</angular-aria.version>
        <split.js.version>1.6.5</split.js.version>
        <diff.version>5.1.0</diff.version>
        <monaco-editor.version>0.55.1</monaco-editor.version>
        <requirejs.version>2.3.6</requirejs.version>
        <stompjs.version>7.2.1</stompjs.version>
        <jstree.version>3.3.12</jstree.version>
        <jquery.version>3.7.1</jquery.version>
        <jqplot.version>1.0.8r1250</jqplot.version>
        <es5-shim.version>4.6.7</es5-shim.version>
        <angular-file-upload.version>2.6.1</angular-file-upload.version>
        <angularjs.version>1.8.2</angularjs.version>
        <ag-grid.version>27.1.0</ag-grid.version>
        <papaparse.version>5.5.3</papaparse.version>
        <bpmn-visualization.version>0.47.0</bpmn-visualization.version>
        <i18next.version>26.3.6</i18next.version>
        <alpinejs.version>3.17.4</alpinejs.version>
        <harmonia.version>3.6.1</harmonia.version>
        <opensans.version>5.3.0</opensans.version>
        <lucide.version>1.48.0</lucide.version>
        <pinecone-router.version>7.6.0</pinecone-router.version>
        <!-- Tests -->
        <testcontainers.version>2.0.5</testcontainers.version>
        <selenide.version>7.19.0</selenide.version>
        <axe-core-selenium.version>4.14.0</axe-core-selenium.version>
        <rest-assured.version>6.2.0</rest-assured.version>

        <antlr4-maven-plugin.version>4.13.2</antlr4-maven-plugin.version>
        <antlr4-runtime.version>4.13.2</antlr4-runtime.version>

        <profile.content.phase>none</profile.content.phase>

        <license.header.location>licensing-header.txt</license.header.location>

        <parent.pom.folder>./</parent.pom.folder>
        <formatter.location>${parent.pom.folder}/dirigible-formatter.xml</formatter.location>
        <formatter.java.version>${java.version}</formatter.java.version>

        <!-- Default configurations -->
        <skipTests>false</skipTests>
        <skipITs>true</skipITs>
        <skip.code.formatting>false</skip.code.formatting>
        <maven.javadoc.skip>false</maven.javadoc.skip>
        <license.skip>false</license.skip>
        <!-- Testcontainers-based tests are tagged "testcontainers" and excluded by default;
             the "testcontainers" profile runs only them (see surefire config below). -->
        <surefire.groups></surefire.groups>
        <surefire.excludedGroups>testcontainers</surefire.excludedGroups>
        <!-- Integration-test (failsafe) tag selection. Empty by default so `-P integration-tests`
             runs every *IT (the nightly/master full suite). The PR "smoke" job overrides it with a
             JUnit tag expression, e.g. -Dit.groups="!ui | smoke", to run only the fast HTTP-level ITs
             plus the few explicitly-smoke UI journeys. -->
        <it.groups></it.groups>
        <it.excludedGroups></it.excludedGroups>
        <!-- Integration-test partition, "k/n" (e.g. 1/2): keeps one of n hash partitions of the
             classes the tag expression selected (ClassPartitionFilter in tests-integrations). Empty by
             default - every selected class runs. CI splits the "api" shard with it. -->
        <it.partition></it.partition>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>pl.project13.maven</groupId>
                <artifactId>git-commit-id-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>net.revelc.code.formatter</groupId>
                <artifactId>formatter-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-failsafe-plugin</artifactId>
            </plugin>

            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>com.mycila</groupId>
                <artifactId>license-maven-plugin</artifactId>
            </plugin>
            <!-- Browser source maps are never served to a runtime, only to a developer's devtools, and
                 they are the single largest thing the platform's own module jars carry: 38.7 MB
                 uncompressed across five of them (view-swagger 14.5, editor-integrations 11.5,
                 karavan-libs 11.5, flowable-libs 1.0, dev-tools 0.2), with single files up to 8.3 MB.
                 Excluded from packaging for EVERY module here rather than module by module, so a
                 module that vendors a new bundle does not have to remember (#7787). A developer who
                 needs a map takes it from the npm package the bundle came from. -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <excludes>
                        <exclude>**/*.js.map</exclude>
                        <exclude>**/*.css.map</exclude>
                        <exclude>**/*.mjs.map</exclude>
                        <exclude>**/*.d.ts.map</exclude>
                    </excludes>
                </configuration>
            </plugin>
        </plugins>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-maven-plugin</artifactId>
                    <version>${spring.boot.version}</version>
                </plugin>
                <plugin>
                    <groupId>pl.project13.maven</groupId>
                    <artifactId>git-commit-id-plugin</artifactId>
                    <version>${maven-git-commit-id-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>exec-maven-plugin</artifactId>
                    <version>${maven-exec-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>com.googlecode.maven-download-plugin</groupId>
                    <artifactId>download-maven-plugin</artifactId>
                    <version>${maven-download-plugin.version}</version>
                </plugin>
                <!-- Declared in <build><plugins> (or a module's) without a version, these three were
                     resolved from Maven Central's metadata on every build: a job without a warm local
                     repository failed whenever that one download did (the PR code-style job, run
                     38895231529), and the build silently picked up whatever release came next. The
                     versions are the ones that resolution was picking. -->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <version>${maven-dependency-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>${maven-jar-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>build-helper-maven-plugin</artifactId>
                    <version>${maven-build-helper-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>com.mycila</groupId>
                    <artifactId>license-maven-plugin</artifactId>
                    <version>${maven-license-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>${maven-compiler-plugin.version}</version>
                    <configuration>
                        <parameters>true</parameters>
                        <source>${maven.compiler.source}</source>
                        <target>${maven.compiler.target}</target>
                        <debug>true</debug>
                        <debuglevel>lines,vars,source</debuglevel>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-javadoc-plugin</artifactId>
                    <version>${maven-javadoc-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>${maven-surefire-plugin.version}</version>
                    <configuration>
                        <skipTests>${skipTests}</skipTests>
                        <failIfNoTests>false</failIfNoTests>
                        <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
                        <groups>${surefire.groups}</groups>
                        <excludedGroups>${surefire.excludedGroups}</excludedGroups>
                        <argLine>
                            --add-opens=java.base/java.lang=ALL-UNNAMED
                            --add-opens=java.base/java.lang.reflect=ALL-UNNAMED
                            --add-opens=java.base/java.nio=ALL-UNNAMED
                        </argLine>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-failsafe-plugin</artifactId>
                    <version>${maven-failsafe-plugin.version}</version>
                    <configuration>
                        <skipITs>${skipITs}</skipITs>
                        <testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory>
                        <failIfNoTests>false</failIfNoTests>
                        <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
                        <argLine>
                            -Xmx6g
                            --add-opens=java.base/java.lang=ALL-UNNAMED
                            --add-opens=java.base/java.lang.reflect=ALL-UNNAMED
                            --add-opens=java.base/java.nio=ALL-UNNAMED
                        </argLine>
                        <includes>
                            <include>**/*IT.java</include>
                        </includes>
                    </configuration>
                    <executions>
                        <execution>
                            <goals>
                                <goal>integration-test</goal>
                                <goal>verify</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>net.revelc.code.formatter</groupId>
                    <artifactId>formatter-maven-plugin</artifactId>
                    <version>${maven-formatter-plugin.version}</version>
                    <configuration>
                        <skip>${skip.code.formatting}</skip>
                        <configFile>${formatter.location}</configFile>
                        <compilerSource>${formatter.java.version}</compilerSource>
                        <compilerCompliance>${formatter.java.version}</compilerCompliance>
                        <compilerTargetPlatform>${formatter.java.version}</compilerTargetPlatform>
                    </configuration>
                    <executions>
                        <execution>
                            <id>format-java-code</id>
                            <phase>process-sources</phase>
                            <goals>
                                <goal>format</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>com.github.spotbugs</groupId>
                    <artifactId>spotbugs-maven-plugin</artifactId>
                    <version>${maven-spotbugs-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.jacoco</groupId>
                    <artifactId>jacoco-maven-plugin</artifactId>
                    <version>${maven-jacoco-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-source-plugin</artifactId>
                    <version>${maven-source-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-gpg-plugin</artifactId>
                    <version>${maven-gpg-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.cyclonedx</groupId>
                    <artifactId>cyclonedx-maven-plugin</artifactId>
                    <version>2.9.3</version>
                    <executions>
                        <execution>
                            <phase>prepare-package</phase>
                            <goals>
                                <goal>makeAggregateBom</goal>
                            </goals>
                        </execution>
                    </executions>
                    <configuration>
                        <!--                        https://cyclonedx.org/docs/1.6/json/-->
                        <schemaVersion>1.6</schemaVersion>
                        <projectType>application</projectType>
                        <verbose>false</verbose>

                        <includeBomSerialNumber>true</includeBomSerialNumber>
                        <includeCompileScope>true</includeCompileScope>
                        <includeProvidedScope>true</includeProvidedScope>
                        <includeRuntimeScope>true</includeRuntimeScope>
                        <includeSystemScope>true</includeSystemScope>
                        <includeTestScope>false</includeTestScope>
                        <includeLicenseText>false</includeLicenseText>

                        <outputReactorProjects>true</outputReactorProjects>
                        <!-- JSON only (#7788). `all` wrote the same bill of materials twice into
                             ${project.build.outputDirectory}/META-INF/sbom - bom.json (3.6 MB) AND
                             bom.xml (3.5 MB) - so 7 MB of the executable was a description of the
                             artefact, in two formats, shipped inside the artefact it describes.
                             The JSON copy STAYS INSIDE the jar and the path stays META-INF/sbom:
                             Spring Boot's SbomEndpoint auto-detects classpath:META-INF/sbom/bom.json
                             and serves it as /actuator/sbom/application, which SecurityIT asserts
                             (an earlier revision of this change moved the file out of the jar and
                             turned both /actuator/sbom and /actuator/sbom/application into 404s).
                             Only the unread XML duplicate goes. -->
                        <outputFormat>json</outputFormat>
                        <outputName>bom</outputName>
                        <outputDirectory>${project.build.outputDirectory}/META-INF/sbom</outputDirectory>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>

    <profiles>
        <profile>
            <id>default</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
                <maven.javadoc.skip>true</maven.javadoc.skip>
            </properties>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <configuration>
                            <source>${java.version}</source>
                        </configuration>
                        <executions>
                            <execution>
                                <id>attach-javadocs</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                        <!-- <configuration>
                            <failOnError>false</failOnError>
                        </configuration> -->
                        <dependencies>
                            <dependency>
                                <groupId>org.apache.commons</groupId>
                                <artifactId>commons-lang3</artifactId>
                                <version>${commons.lang3}</version>
                            </dependency>
                        </dependencies>
                    </plugin>
                    <plugin>
                        <groupId>com.mycila</groupId>
                        <artifactId>license-maven-plugin</artifactId>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>license</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.mycila</groupId>
                        <artifactId>license-maven-plugin</artifactId>
                        <inherited>true</inherited>
                        <configuration>
                            <header>${license.header.location}</header>
                            <aggregate>true</aggregate>
                            <properties>
                                <inceptionYear>${project.inceptionYear}</inceptionYear>
                                <currentYear>${currentYear}</currentYear>
                            </properties>
                            <includes>
                                <include>src/**/*.java</include>
                                <include>src/**/*.xml</include>
                                <include>src/**/*.html</include>
                                <include>src/**/*.css</include>
                                <include>src/**/*.js</include>
                                <include>src/**/*.mjs</include>
                                <include>src/**/*.cjs</include>
                                <include>src/**/*.properties</include>
                                <include>src/**/project.json</include>
                            </includes>
                            <excludes>
                                <exclude>**/logback.xml</exclude>
                                <exclude>**/logback-test.xml</exclude>
                                <exclude>**/src/test/resources/**</exclude>
                                <!-- Generated code committed as a fixture: kept byte-identical to what the
                                     intent generates, so the CLI generate check can tell (#7642). -->
                                <exclude>**/src/main/resources/sample-intent-*/gen/**</exclude>
                                <exclude>
                                    **/src/main/resources/META-INF/dirigible/font-awesome-4.7.0/**
                                </exclude>
                                <exclude>
                                    **/src/main/resources/META-INF/dirigible/font-dirigible/**
                                </exclude>
                                <exclude>
                                    **/src/main/resources/META-INF/dirigible/editor-bpm/**
                                </exclude>
                                <exclude>
                                    **/src/main/resources/META-INF/dirigible/editor-monaco/**
                                </exclude>
                                <exclude>
                                    **/src/main/resources/META-INF/dirigible/view-swagger/**
                                </exclude>
                                <exclude>
                                    **/src/main/resources/META-INF/dirigible/editor-swagger/**
                                </exclude>
                                <exclude>
                                    **/src/main/resources/META-INF/dirigible/resources-locale/**
                                </exclude>
                                <exclude>
                                    **/src/main/resources/META-INF/dirigible/platform-core/ui/**
                                </exclude>
                                <exclude>
                                    **/src/main/resources/META-INF/dirigible/view-terminal/js/**
                                </exclude>
                                <exclude>
                                    **/src/main/resources/META-INF/dirigible/dev-tools/**
                                </exclude>
                                <exclude>
                                    **/src/main/resources/META-INF/dirigible/template-mobile-hello-world/node_modules/**
                                </exclude>
                                <exclude>
                                    **/src/main/resources/META-INF/dirigible/utils/jsonpath.js
                                </exclude>
                                <exclude>
                                    **/src/main/resources/META-INF/dirigible/editor-designer/designer/**
                                </exclude>
                            </excludes>
                            <skipExistingHeaders>true</skipExistingHeaders>
                        </configuration>
                        <dependencies>
                            <dependency>
                                <groupId>com.mycila</groupId>
                                <artifactId>license-maven-plugin-git</artifactId>
                                <version>${maven-license-plugin.version}</version>
                            </dependency>
                        </dependencies>
                        <executions>
                            <execution>
                                <id>format-license</id>
                                <phase>initialize</phase>
                                <goals>
                                    <goal>format</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>spotbugs</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.github.spotbugs</groupId>
                        <artifactId>spotbugs-maven-plugin</artifactId>
                        <dependencies>
                            <!-- overwrite dependency on spotbugs if you want to
                            specify the version of spotbugs -->
                            <dependency>
                                <groupId><![CDATA[com.github.spotbugs]]></groupId>
                                <artifactId>spotbugs</artifactId>
                                <version>4.10.5</version>
                            </dependency>
                        </dependencies>
                    </plugin>

                </plugins>

            </build>
        </profile>

        <profile>
            <id>coverage</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.jacoco</groupId>
                        <artifactId>jacoco-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <goals>
                                    <goal>prepare-agent</goal>
                                </goals>
                            </execution>
                            <execution>
                                <id>generate-code-coverage-report</id>
                                <phase>test</phase>
                                <goals>
                                    <goal>report</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>release</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.sonatype.central</groupId>
                        <artifactId>central-publishing-maven-plugin</artifactId>
                        <version>0.12.0</version>
                        <extensions>true</extensions>
                        <configuration>
                            <publishingServerId>ossrh</publishingServerId>
                            <autoPublish>true</autoPublish>
                        </configuration>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-source-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>attach-sources</id>
                                <goals>
                                    <goal>jar-no-fork</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>attach-javadocs</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                        <!-- <configuration>
                            <failOnError>false</failOnError>
                        </configuration> -->
                        <dependencies>
                            <dependency>
                                <groupId>org.apache.commons</groupId>
                                <artifactId>commons-lang3</artifactId>
                                <version>${commons.lang3}</version>
                            </dependency>
                        </dependencies>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>${maven-gpg-plugin.version}</version>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                                <configuration>
                                    <!-- Prevent gpg from using pinentry
                                    programs -->
                                    <gpgArguments>
                                        <arg>--pinentry-mode</arg>
                                        <arg>loopback</arg>
                                    </gpgArguments>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>testcontainers</id>
            <properties>
                <surefire.groups>testcontainers</surefire.groups>
                <surefire.excludedGroups></surefire.excludedGroups>
            </properties>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-compiler-plugin</artifactId>
                        <version>${maven-compiler-plugin.version}</version>
                        <configuration>
                            <source>${maven.compiler.source}</source>
                            <target>${maven.compiler.target}</target>
                            <debug>true</debug>
                            <debuglevel>lines,vars,source</debuglevel>
                        </configuration>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>tests</id>
            <properties>
                <skipTests>false</skipTests>
                <skipITs>false</skipITs>
                <maven.javadoc.skip>true</maven.javadoc.skip>
                <license.skip>true</license.skip>
                <skip.code.formatting>true</skip.code.formatting>
            </properties>
        </profile>
        <profile>
            <id>unit-tests</id>
            <properties>
                <skipTests>false</skipTests>
                <skipITs>true</skipITs>
                <maven.javadoc.skip>true</maven.javadoc.skip>
                <license.skip>true</license.skip>
                <skip.code.formatting>true</skip.code.formatting>
            </properties>
        </profile>
        <profile>
            <id>integration-tests</id>
            <properties>
                <skipITs>false</skipITs>
                <maven.javadoc.skip>true</maven.javadoc.skip>
                <license.skip>true</license.skip>
                <skip.code.formatting>true</skip.code.formatting>
            </properties>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <configuration>
                            <skipTests>true</skipTests>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>quick-build</id>
            <properties>
                <skipTests>true</skipTests>
                <skipITs>true</skipITs>
                <maven.javadoc.skip>true</maven.javadoc.skip>
                <license.skip>true</license.skip>
                <skip.code.formatting>true</skip.code.formatting>
            </properties>
        </profile>
        <profile>
            <id>format</id>
            <properties>
                <skipTests>true</skipTests>
                <skipITs>true</skipITs>
                <maven.javadoc.skip>true</maven.javadoc.skip>
                <license.skip>true</license.skip>
                <skip.code.formatting>false</skip.code.formatting>
            </properties>
        </profile>
    </profiles>

    <repositories>
        <repository>
            <id>ossrh</id>
            <url>https://repo1.maven.org/maven2</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <releases>
                <enabled>true</enabled>
            </releases>
        </repository>
    </repositories>

    <distributionManagement>
        <snapshotRepository>
            <id>ossrh</id>
            <url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url>
        </snapshotRepository>
        <repository>
            <id>ossrh</id>
            <url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2</url>
        </repository>
    </distributionManagement>

    <issueManagement>
        <url>http://bugs.dirigible.io</url>
    </issueManagement>

    <modules>
        <module>modules</module>
        <module>components</module>
        <module>build</module>
        <module>dependencies</module>
        <module>tests</module>
        <module>cli</module>
    </modules>

    <dependencies>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-core</artifactId>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
        </dependency>

        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
        </dependency>
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>${commons.io}</version>
        </dependency>

        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
        </dependency>
        <!-- Jackson 3 (#7790). Spring Boot 4 moved to tools.jackson, so jackson-core/jackson-databind
             3.x are on the classpath through the Spring Boot BOM - but this block declared the 2.x
             jackson-databind for EVERY module, so both lines shipped. The platform's own code is on
             3.x now; this declaration is what the modules/ tree (which gets no Spring starter) needs
             to see it. The 2.x line still arrives transitively from third parties - see the comment
             on jackson-annotations below. -->
        <dependency>
            <groupId>tools.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
        </dependency>
        <!-- Annotations stayed on the 2.x coordinates by design in Jackson 3, so @JsonIgnore and
             friends keep this import. Managed by the Spring Boot BOM. -->
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-annotations</artifactId>
        </dependency>

        <dependency>
            <groupId>jakarta.xml.bind</groupId>
            <artifactId>jakarta.xml.bind-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jaxb</groupId>
            <artifactId>jaxb-runtime</artifactId>
        </dependency>
        <!-- Kept here on purpose: 8 modules import com.google.common (api-etcd, api-utils,
             core-repository, data-core, data-management, data-sources, engine-security,
             database-persistence), so declaring it per module would be 8 declarations of the same
             3 MB jar rather than a saving. jaxws-rt / jakarta.xml.ws-api, byte-buddy and the two
             okhttp artifacts were here with ZERO imports anywhere and are gone (#7785) - the only
             SOAP consumer, sdk/net/Soap.java, declares the two artifacts it needs in
             api-modules-java, and Hibernate brings its own byte-buddy transitively. -->
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>${guava.version}</version>
        </dependency>

        <!-- Test Dependencies -->

        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <scope>test</scope>
        </dependency>
        <!-- End Test Dependencies -->
    </dependencies>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>io.opentelemetry.instrumentation</groupId>
                <artifactId>opentelemetry-instrumentation-bom</artifactId>
                <version>2.31.1</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>org.apache.groovy</groupId>
                <artifactId>groovy-bom</artifactId>
                <version>6.0.0</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-dependencies</artifactId>
                <version>${spring.boot.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <!-- The AWS SDK v2 line, for every module that reaches it: api-s3 through
                 s3-transfer-manager and api-qldb through the QLDB driver. Without it the two chains
                 are mediated independently (nearest wins per artifact), which is how the fat jar came
                 to ship aws-json-protocol and apache-client from the 2.15.x line under a 2.54.x
                 sdk-core - a mix no client survives and that no version number in a stack trace names
                 (#7397). The BOM manages only software.amazon.awssdk artifacts, so it cannot shadow
                 anything the Spring Boot BOM above pins. -->
            <dependency>
                <groupId>software.amazon.awssdk</groupId>
                <artifactId>bom</artifactId>
                <version>${awssdk.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>org.eclipse.dirigible</groupId>
                <artifactId>dirigible-application</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.seleniumhq.selenium</groupId>
                <artifactId>selenium-java</artifactId>
                <version>4.46.0</version>
                <scope>test</scope>
            </dependency>
            <!-- axe-core accessibility scans on the browser the Selenide ITs drive (#7645); Selenide brings
                 the Selenium it runs on, so the binding's own (older) selenium-java stays out -->
            <dependency>
                <groupId>com.deque.html.axe-core</groupId>
                <artifactId>selenium</artifactId>
                <version>${axe-core-selenium.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.seleniumhq.selenium</groupId>
                        <artifactId>selenium-java</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <!-- SOAP for sdk/net/Soap.java, declared in api-modules-java (#7785). Both used to
                 arrive transitively through the root pom's jaxws-rt; these are the versions that
                 reactor resolved (jakarta.xml.soap-api 3.0.2, saaj-impl 3.0.6). -->
            <dependency>
                <groupId>jakarta.xml.soap</groupId>
                <artifactId>jakarta.xml.soap-api</artifactId>
                <version>3.0.2</version>
            </dependency>
            <dependency>
                <groupId>com.sun.xml.messaging.saaj</groupId>
                <artifactId>saaj-impl</artifactId>
                <version>3.0.6</version>
            </dependency>
            <!-- joda-time is still needed - flowable-json-converter uses it - but only
                 transitively, at the 2.10.13 it declares. Until this change the version was
                 decided by the removed jackson-datatype-joda, a DIRECT dependency of
                 build/application and therefore the nearest declaration, which carried
                 2.12.7. Dropping the unused Jackson binding would otherwise have silently
                 taken joda-time back to a 2021 build - three years of tzdata - so the
                 version the platform ships today is pinned here instead. -->
            <dependency>
                <groupId>joda-time</groupId>
                <artifactId>joda-time</artifactId>
                <version>2.15.0</version>
            </dependency>
            <dependency>
                <groupId>org.dom4j</groupId>
                <artifactId>dom4j</artifactId>
                <version>2.2.0</version>
            </dependency>
            <!-- Several webjars declare their transitive dependencies with npm-style open version
                 ranges. A range is resolved by fetching maven-metadata.xml from every remote on every
                 build, so a transient metadata failure on any of them breaks dependency collection and
                 fails the reactor before a single test runs; and because the range picks whatever is
                 published at the time, the content of the shipped webjar is not a function of this
                 repository. The entries below pin every such artifact reachable from the reactor to the
                 version the ranges resolve to today, so the coordinates are fixed and come from the
                 local repository. When bumping the webjar that drags them in, re-check the pins. -->
            <!-- via ag-grid-community__all-modules (${ag-grid.version}) -->
            <dependency>
                <groupId>org.webjars.npm</groupId>
                <artifactId>ag-grid-community__core</artifactId>
                <version>27.1.0</version>
            </dependency>
            <dependency>
                <groupId>org.webjars.npm</groupId>
                <artifactId>ag-grid-community__client-side-row-model</artifactId>
                <version>27.1.0</version>
            </dependency>
            <dependency>
                <groupId>org.webjars.npm</groupId>
                <artifactId>ag-grid-community__csv-export</artifactId>
                <version>27.1.0</version>
            </dependency>
            <dependency>
                <groupId>org.webjars.npm</groupId>
                <artifactId>ag-grid-community__infinite-row-model</artifactId>
                <version>27.1.0</version>
            </dependency>
            <!-- bpmn-visualization's five transitive webjars (typed-mxgraph, es-toolkit,
                 fast-xml-parser, strnum, mxgraph) used to be pinned here, because those webjars
                 declare npm-style open ranges. perspective-processes now EXCLUDES all five (#7786) -
                 the UI loads only dist/bpmn-visualization.min.js, which bundles them - so there is
                 no path left to pin. -->
            <!-- The Harmonia stack (harmonia.version, alpinejs.version, lucide.version,
                 pinecone-router.version, i18next.version) is bumped as one. When Harmonia is updated,
                 update the pins below as well: read the ranges the new webjars declare (their poms) and
                 pin the stable version each range means. Maven reads npm's "<X.Y.0-0" upper bound as
                 "below X.Y.0", so an unpinned range can land on a pre-release. -->
            <!-- via alpinejs (${alpinejs.version}): [3.5.40,3.6.0-0) -->
            <dependency>
                <groupId>org.webjars.npm</groupId>
                <artifactId>vue__reactivity</artifactId>
                <version>3.5.43</version>
            </dependency>
            <dependency>
                <groupId>org.webjars.npm</groupId>
                <artifactId>vue__shared</artifactId>
                <version>3.5.43</version>
            </dependency>
            <!-- via codbex__harmonia (${harmonia.version}): [1.8.0,2.0.0-0) -->
            <dependency>
                <groupId>org.webjars.npm</groupId>
                <artifactId>floating-ui__dom</artifactId>
                <version>1.8.0</version>
            </dependency>
            <dependency>
                <groupId>org.webjars.npm</groupId>
                <artifactId>floating-ui__core</artifactId>
                <version>1.8.0</version>
            </dependency>
            <dependency>
                <groupId>org.webjars.npm</groupId>
                <artifactId>floating-ui__utils</artifactId>
                <version>0.2.12</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

</project>
