<!--

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

    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 -DskipTCs=true

	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>13.5.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.15.0</maven-compiler-plugin.version>
        <maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
        <maven-surefire-plugin.version>3.5.6</maven-surefire-plugin.version>
        <maven-failsafe-plugin.version>3.5.6</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.14</maven-jacoco-plugin.version>
        <maven-spotbugs-plugin.version>4.9.8.3</maven-spotbugs-plugin.version>
        <maven-formatter-plugin.version>2.29.0</maven-formatter-plugin.version>
        <maven-exec-plugin.version>3.6.3</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>

        <!-- JDT Language Server bundled at build time -->
        <jdtls.version>1.47.0</jdtls.version>
        <jdtls.build.timestamp>202505151856</jdtls.build.timestamp>
        <jdtls.download.url>https://download.eclipse.org/jdtls/milestones/${jdtls.version}/jdt-language-server-${jdtls.version}-${jdtls.build.timestamp}.tar.gz</jdtls.download.url>
        <jdtls.sha256>354242694936016cd48635967cb28cd4b0735779dafe963077139d2823ccda3a</jdtls.sha256>
        <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.0.0</maven-license-plugin.version>

        <!-- Spring -->
        <spring.boot.version>4.0.6</spring.boot.version>
        <spring.admin.version>4.0.4</spring.admin.version>
        <springdoc.version>3.0.3</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.0.3</graalvm.version>

        <!-- Commons -->
        <commons.io>2.22.0</commons.io>
        <commons.lang3>3.20.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.3.2</okhttp.version>

        <jaxb.version>2.3.1</jaxb.version>
        <jaxws-rt.version>4.0.4</jaxws-rt.version>

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

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

        <!-- Olingo -->
        <olingo.version>3.1.4</olingo.version>

        <!-- FTP -->
        <mina-core.version>2.2.8</mina-core.version>
        <sshd-core.version>2.18.0</sshd-core.version>
        <ftpserver.version>1.2.1</ftpserver.version>

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

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


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

        <!-- JGit -->
        <jgit.version>7.6.0.202603022253-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 -->
        <mongodb.version>3.12.14</mongodb.version>
        <ngdbc.version>2.28.8</ngdbc.version>
        <snowflake.version>4.2.0</snowflake.version>
        <mysql.version>8.4.0</mysql.version>

        <!-- QLDB -->
        <qldb.driver.version>2.3.1</qldb.driver.version>
        <qldb.sdk.version>1.12.797</qldb.sdk.version>

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

        <!-- Various -->
        <c3p0.version>0.14.0</c3p0.version>
        <guava.version>33.6.0-jre</guava.version>
        <icu4j.version>78.3</icu4j.version>
        <classgraph.version>4.8.184</classgraph.version>
        <logcaptor.version>2.12.6</logcaptor.version>

        <!-- UI -->
        <blimpkit.version>2.3.0</blimpkit.version>
        <sap-theming__theming-base-content.version>11.18.2</sap-theming__theming-base-content.version>
        <chart.js.version>4.4.3</chart.js.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.40.0</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>25.3.0</i18next.version>
        <alpinejs.version>3.15.11</alpinejs.version>
        <harmonia.version>1.4.2</harmonia.version>
        <opensans.version>5.2.7</opensans.version>
        <lucide.version>1.8.0</lucide.version>
        <!-- Tests -->
        <testcontainers.version>2.0.5</testcontainers.version>
        <selenide.version>7.16.2</selenide.version>
        <rest-assured.version>6.0.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>
        <skipTCs>true</skipTCs>
    </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>
        </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>
                <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>
                        <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>
                            --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.1</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>
                        <outputFormat>all</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>
                <skipTCs>true</skipTCs>
            </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>
                                <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.9.8</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.10.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>
                <skipTCs>false</skipTCs>
            </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>

    <pluginRepositories>
        <pluginRepository>
            <id>sonatype-public-repository</id>
            <url>https://ossrh-staging-api.central.sonatype.com/content/groups/public</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <releases>
                <enabled>true</enabled>
            </releases>
        </pluginRepository>
    </pluginRepositories>

    <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>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</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>
        <dependency>
            <groupId>jakarta.xml.ws</groupId>
            <artifactId>jakarta.xml.ws-api</artifactId>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.ws</groupId>
            <artifactId>jaxws-rt</artifactId>
            <version>${jaxws-rt.version}</version>
        </dependency>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>${guava.version}</version>
        </dependency>
        <dependency>
            <groupId>net.bytebuddy</groupId>
            <artifactId>byte-buddy</artifactId>
        </dependency>
        <dependency>
            <groupId>com.squareup.okhttp3</groupId>
            <artifactId>okhttp</artifactId>
            <version>${okhttp.version}</version>
        </dependency>
        <dependency>
            <groupId>com.squareup.okhttp3</groupId>
            <artifactId>okhttp-urlconnection</artifactId>
            <version>${okhttp.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.28.1</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>org.apache.groovy</groupId>
                <artifactId>groovy-bom</artifactId>
                <version>5.0.6</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>
            <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.44.0</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>commons-collections</groupId>
                <artifactId>commons-collections</artifactId>
                <version>3.2.2</version>
            </dependency>
            <dependency>
                <groupId>org.dom4j</groupId>
                <artifactId>dom4j</artifactId>
                <version>2.2.0</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

</project>
