openmetadata-service
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.open-metadata</groupId> <artifactId>openmetadata-service</artifactId> <version>1.7.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <artifactId>platform</artifactId> <groupId>org.open-metadata</groupId> <version>1.7.0</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>openmetadata-service</artifactId> <properties> <dropwizard.swagger.version>2.0.12-1</dropwizard.swagger.version> <sonar.junit.reportPaths>${project.basedir}/target/surefire-reports</sonar.junit.reportPaths> <sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> <sonar.tests>${project.basedir}/src/test/java</sonar.tests> <org.testcontainers.version>1.20.3</org.testcontainers.version> <awssdk.version>2.30.19</awssdk.version> <azure-identity.version>1.14.0</azure-identity.version> <azure-kv.version>4.9.0</azure-kv.version> <azure-identity-extensions.version>1.0.0</azure-identity-extensions.version> <expiring.map.version>0.5.11</expiring.map.version> <java.saml>2.9.0</java.saml> <xmlsec.version>2.3.4</xmlsec.version> <quartz.version>2.5.0-rc2</quartz.version> <pac4j.version>5.7.0</pac4j.version> <maven-javadoc-plugin.version>3.6.0</maven-javadoc-plugin.version> <maven-source-plugin.version>3.3.1</maven-source-plugin.version> <socket.io-client.version>2.1.1</socket.io-client.version> <json-smart.version>2.5.2</json-smart.version> <aws.sdk.version>2.31.1</aws.sdk.version> <bedrock.runtime.version>2.31.1</bedrock.runtime.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-bom</artifactId> <version>${awssdk.version}</version> <type>pom</type> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>checksums</artifactId> <version>${awssdk.version}</version> </dependency> <dependency> <groupId>com.google.cloud</groupId> <artifactId>libraries-bom</artifactId> <version>26.49.0</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>bom</artifactId> <version>2.22.12</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-core</artifactId> <version>${pac4j.version}</version> <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>com.nimbusds</groupId> <artifactId>nimbus-jose-jwt</artifactId> </exclusion> </exclusions> </dependency> <!-- Upgrading due to CVE in com.nimbusds:nimbus-jose-jwt --> <dependency> <groupId>com.nimbusds</groupId> <artifactId>nimbus-jose-jwt</artifactId> <version>9.42</version> </dependency> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-oidc</artifactId> <version>${pac4j.version}</version> <exclusions> <exclusion> <groupId>net.minidev</groupId> <artifactId>json-smart</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>net.minidev</groupId> <artifactId>json-smart</artifactId> <version>${json-smart.version}</version> </dependency> <dependency> <groupId>org.open-metadata</groupId> <artifactId>common</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.open-metadata</groupId> <artifactId>elasticsearch-deps</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.open-metadata</groupId> <artifactId>opensearch-deps</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.antlr</groupId> <artifactId>antlr4-runtime</artifactId> </dependency> <dependency> <groupId>com.macasaet.fernet</groupId> <artifactId>fernet-java8</artifactId> </dependency> <dependency> <groupId>org.open-metadata</groupId> <artifactId>openmetadata-spec</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>io.dropwizard</groupId> <artifactId>dropwizard-assets</artifactId> </dependency> <dependency> <groupId>io.dropwizard</groupId> <artifactId>dropwizard-core</artifactId> </dependency> <dependency> <groupId>io.dropwizard</groupId> <artifactId>dropwizard-jdbi3</artifactId> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-jdbc</artifactId> </dependency> <dependency> <groupId>com.mysql</groupId> <artifactId>mysql-connector-j</artifactId> </dependency> <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> </dependency> <dependency> <groupId>io.swagger.core.v3</groupId> <artifactId>swagger-annotations</artifactId> </dependency> <dependency> <groupId>ru.vyarus.guicey</groupId> <artifactId>guicey-jdbi3</artifactId> <version>5.9.2</version> <exclusions> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> </exclusion> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </exclusion> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-access</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>log4j-over-slf4j</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.smoketurner</groupId> <artifactId>dropwizard-swagger</artifactId> <version>${dropwizard.swagger.version}</version> <exclusions> <exclusion> <groupId>io.dropwizard</groupId> <artifactId>dropwizard-core</artifactId> </exclusion> <exclusion> <groupId>com.google.code.findbugs</groupId> <artifactId>annotations</artifactId> </exclusion> <exclusion> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-io</artifactId> </exclusion> <exclusion> <groupId>org.glassfish</groupId> <artifactId>jakarta.el</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> </dependency> <dependency> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey-media-multipart</artifactId> </dependency> <dependency> <groupId>io.github.maksymdolgykh.dropwizard</groupId> <artifactId>dropwizard-micrometer-core</artifactId> <exclusions> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> </exclusion> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </exclusion> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-access</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>log4j-over-slf4j</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> <exclusions> <exclusion> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.github.maksymdolgykh.dropwizard</groupId> <artifactId>dropwizard-micrometer-jdbi</artifactId> <exclusions> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> </exclusion> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </exclusion> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-access</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>log4j-over-slf4j</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.dropwizard</groupId> <artifactId>dropwizard-json-logging</artifactId> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>${commons-lang.version}</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpasyncclient</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> </dependency> <dependency> <groupId>io.dropwizard.modules</groupId> <artifactId>dropwizard-health</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> <dependency> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey-media-json-jackson</artifactId> <exclusions> <!-- excluded as these are conflicting with dropwizard jersey-jackson dependencies --> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> </exclusion> <exclusion> <groupId>com.fasterxml.jackson.jaxrs</groupId> <artifactId>jackson-jaxrs-base</artifactId> </exclusion> <exclusion> <groupId>com.fasterxml.jackson.jaxrs</groupId> <artifactId>jackson-jaxrs-json-provider</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>${log4j.version}</version> </dependency> <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> </dependency> <dependency> <groupId>org.flywaydb</groupId> <artifactId>flyway-maven-plugin</artifactId> </dependency> <dependency> <groupId>org.flywaydb</groupId> <artifactId>flyway-mysql</artifactId> </dependency> <dependency> <groupId>io.github.classgraph</groupId> <artifactId>classgraph</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>ch.qos.logback</groupId> <artifactId>logback-access</artifactId> </dependency> <dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> </dependency> <!-- Dependencies for secret store manager providers --> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>secretsmanager</artifactId> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>ssm</artifactId> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>rds</artifactId> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>sts</artifactId> </dependency> <dependency> <groupId>com.azure</groupId> <artifactId>azure-security-keyvault-secrets</artifactId> <version>${azure-kv.version}</version> </dependency> <dependency> <groupId>com.azure</groupId> <artifactId>azure-identity</artifactId> <version>${azure-identity.version}</version> </dependency> <dependency> <groupId>com.azure</groupId> <artifactId>azure-identity-extensions</artifactId> <version>${azure-identity-extensions.version}</version> </dependency> <dependency> <groupId>io.dropwizard.modules</groupId> <artifactId>dropwizard-web</artifactId> </dependency> <dependency> <groupId>com.github.erosb</groupId> <artifactId>everit-json-schema</artifactId> </dependency> <!-- Dependencies for cloudwatch monitoring --> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>cloudwatch</artifactId> </dependency> <!--test dependencies--> <dependency> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-client</artifactId> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.dropwizard</groupId> <artifactId>dropwizard-testing</artifactId> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-inline</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> <dependency> <groupId>com.github.java-json-tools</groupId> <artifactId>json-patch</artifactId> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers</artifactId> <version>${org.testcontainers.version}</version> <scope>test</scope> <exclusions> <exclusion> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> </exclusion> </exclusions> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-compress --> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> <version>1.27.1</version> <scope>test</scope> </dependency> <dependency> <groupId>io.socket</groupId> <artifactId>socket.io-client</artifactId> <version>${socket.io-client.version}</version> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>junit-jupiter</artifactId> <version>${org.testcontainers.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>postgresql</artifactId> <version>${org.testcontainers.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>mysql</artifactId> <version>${org.testcontainers.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>elasticsearch</artifactId> <version>${org.testcontainers.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.opensearch</groupId> <artifactId>opensearch-testcontainers</artifactId> <version>2.0.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish.jersey.connectors</groupId> <artifactId>jersey-jetty-connector</artifactId> <version>2.40</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.26.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.skyscreamer</groupId> <artifactId>jsonassert</artifactId> <version>1.5.1</version> <exclusions> <exclusion> <groupId>com.vaadin.external.google</groupId> <artifactId>android-json</artifactId> </exclusion> </exclusions> <scope>test</scope> </dependency> <!-- JSON-P: Java API for JSON Processing (JSR 374) --> <dependency> <groupId>javax.json</groupId> <artifactId>javax.json-api</artifactId> </dependency> <!-- Apache Johnzon: Implementation of the Java API for JSON Processing (JSR 374) --> <dependency> <groupId>org.apache.johnzon</groupId> <artifactId>johnzon-core</artifactId> </dependency> <!-- Json-Patch since Johnzon JSONPatch.createDiff doesn't work as expected --> <dependency> <groupId>com.github.java-json-tools</groupId> <artifactId>json-patch</artifactId> <version>1.13</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jsr353</artifactId> </dependency> <dependency> <groupId>com.flipkart.zjsonpatch</groupId> <artifactId>zjsonpatch</artifactId> <version>0.4.16</version> </dependency> <!-- https://mvnrepository.com/artifact/org.json/json --> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>20240303</version> </dependency> <dependency> <groupId>com.networknt</groupId> <artifactId>json-schema-validator</artifactId> <version>${json-schema-validator.version}</version> <exclusions> <exclusion> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> <version>${snakeyaml.version}</version> </dependency> <!-- https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt --> <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> <version>${jjwt.version}</version> </dependency> <!-- https://mvnrepository.com/artifact/com.auth0/java-jwt --> <dependency> <groupId>com.auth0</groupId> <artifactId>java-jwt</artifactId> <version>${java-jwt.version}</version> </dependency> <!-- https://mvnrepository.com/artifact/com.auth0/jwks-rsa --> <dependency> <groupId>com.auth0</groupId> <artifactId>jwks-rsa</artifactId> <version>${jwks-rsa.version}</version> </dependency> <dependency> <groupId>io.github.artsok</groupId> <artifactId>rerunner-jupiter</artifactId> <version>${rerunner-jupiter.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.lmax</groupId> <artifactId>disruptor</artifactId> </dependency> <dependency> <groupId>io.socket</groupId> <artifactId>socket.io-server</artifactId> <version>4.0.1</version> </dependency> <dependency> <groupId>io.socket</groupId> <artifactId>engine.io-server-jetty</artifactId> <version>6.2.1</version> </dependency> <dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-server</artifactId> <version>9.4.57.v20241219</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-expression</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>at.favre.lib</groupId> <artifactId>bcrypt</artifactId> <version>${bcrypt.version}</version> </dependency> <dependency> <groupId>org.simplejavamail</groupId> <artifactId>simple-java-mail</artifactId> <version>${simplejavamail.version}</version> </dependency> <dependency> <groupId>org.passay</groupId> <artifactId>passay</artifactId> <version>${passay.version}</version> </dependency> <!--Template engine--> <dependency> <groupId>org.freemarker</groupId> <artifactId>freemarker</artifactId> <version>${freemarker.version}</version> </dependency> <dependency> <groupId>net.jodah</groupId> <artifactId>expiringmap</artifactId> <version>${expiring.map.version}</version> </dependency> <dependency> <groupId>com.unboundid</groupId> <artifactId>unboundid-ldapsdk</artifactId> <version>${unboundsdk.version}</version> </dependency> <dependency> <groupId>org.bitbucket.cowwoc.diff-match-patch</groupId> <artifactId>diff-match-patch</artifactId> <version>${diffMatch.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-csv</artifactId> <version>1.12.0</version> </dependency> <dependency> <groupId>com.opencsv</groupId> <artifactId>opencsv</artifactId> <version>5.9</version> </dependency> <dependency> <groupId>com.onelogin</groupId> <artifactId>java-saml</artifactId> <version>${java.saml}</version> <exclusions> <exclusion> <groupId>com.fasterxml.woodstox</groupId> <artifactId>woodstox-core</artifactId> </exclusion> <exclusion> <groupId>org.apache.santurario</groupId> <artifactId>xmlsec</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.santuario</groupId> <artifactId>xmlsec</artifactId> <version>${xmlsec.version}</version> </dependency> <dependency> <groupId>org.quartz-scheduler</groupId> <artifactId>quartz</artifactId> <version>${quartz.version}</version> </dependency> <!-- Needed for Quartz --> <dependency> <groupId>com.mchange</groupId> <artifactId>c3p0</artifactId> <version>0.10.1</version> </dependency> <dependency> <groupId>com.fasterxml.woodstox</groupId> <artifactId>woodstox-core</artifactId> <version>${woodstox.version}</version> </dependency> <dependency> <groupId>com.cronutils</groupId> <artifactId>cron-utils</artifactId> <version>9.2.1</version> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>33.3.1-jre</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-commons</artifactId> <version>1.9.3</version> <scope>test</scope> </dependency> <dependency> <groupId>info.picocli</groupId> <artifactId>picocli</artifactId> </dependency> <dependency> <groupId>com.google.cloud</groupId> <artifactId>google-cloud-secretmanager</artifactId> </dependency> <dependency> <groupId>com.slack.api</groupId> <artifactId>bolt-servlet</artifactId> <version>1.44.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.slack.api</groupId> <artifactId>slack-api-client</artifactId> <version>1.44.1</version> </dependency> <dependency> <groupId>com.sun.activation</groupId> <artifactId>jakarta.activation</artifactId> <version>2.0.1</version> </dependency> <!-- Governance Workflows --> <dependency> <groupId>org.flowable</groupId> <artifactId>flowable-engine</artifactId> <version>7.0.1</version> </dependency> <dependency> <groupId>io.github.jamsesso</groupId> <artifactId>json-logic-java</artifactId> <version>1.0.7</version> </dependency> <!-- ################ --> <dependency> <groupId>com.microsoft.azure</groupId> <artifactId>msal4j</artifactId> </dependency> <!-- AWS SDK Core (if not already included) --> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>aws-core</artifactId> </dependency> <!-- AWS Auth (if not already included) --> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>auth</artifactId> </dependency> <!-- Required AWS dependencies --> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>apache-client</artifactId> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>auth</artifactId> </dependency> </dependencies> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <configuration> <doclint>none</doclint> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>postgres-tests</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire.version}</version> <configuration> <reuseForks>false</reuseForks> <parallel>classes</parallel> <forkCount>1C</forkCount> <argLine>-Xmx1G</argLine> <systemPropertyVariables> <jdbcContainerClassName>org.testcontainers.containers.PostgreSQLContainer</jdbcContainerClassName> <jdbcContainerImage>postgres:15</jdbcContainerImage> <elasticSearchContainerClassName>docker.elastic.co/elasticsearch/elasticsearch:8.11.4</elasticSearchContainerClassName> <openSearchContainerClassName>opensearchproject/opensearch:2.7.0</openSearchContainerClassName> <runESTestCases>false</runESTestCases> </systemPropertyVariables> </configuration> <executions> <execution> <id>postgres-integration-tests</id> <phase>test</phase> <configuration> <includes> <include>**/*Test.java</include> <include>**/*ResourceTest.java</include> </includes> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <activation> <activeByDefault>true</activeByDefault> </activation> <id>mysql-tests</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire.version}</version> <configuration> <reuseForks>false</reuseForks> <parallel>classes</parallel> <forkCount>1C</forkCount> <argLine>-Xmx1G</argLine> <systemPropertyVariables> <jdbcContainerClassName>org.testcontainers.containers.MySQLContainer</jdbcContainerClassName> <jdbcContainerImage>mysql:8.3.0</jdbcContainerImage> <elasticSearchContainerClassName>docker.elastic.co/elasticsearch/elasticsearch:8.11.4</elasticSearchContainerClassName> <openSearchContainerClassName>opensearchproject/opensearch:2.7.0</openSearchContainerClassName> <runESTestCases>false</runESTestCases> </systemPropertyVariables> </configuration> <executions> <execution> <id>mysql-integration-tests</id> <phase>test</phase> <configuration> <includes> <include>**/*Test.java</include> <include>**/*ResourceTest.java</include> </includes> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <build> <plugins> <plugin> <groupId>org.antlr</groupId> <artifactId>antlr4-maven-plugin</artifactId> <version>${antlr.version}</version> <executions> <execution> <phase>generate-resources</phase> <goals> <goal>antlr4</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.theoryinpractise</groupId> <artifactId>googleformatter-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> <version>3.0.0</version> <configuration> <doCheck>false</doCheck> <doUpdate>false</doUpdate> <outputDirectory>${project.build.directory}/classes/catalog</outputDirectory> <outputName>VERSION</outputName> </configuration> <executions> <execution> <phase>generate-resources</phase> <goals> <goal>create-metadata</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>io.openapitools.swagger</groupId> <artifactId>swagger-maven-plugin</artifactId> <configuration> <resourcePackages> <resourcePackage>org.openmetadata.service.resources</resourcePackage> </resourcePackages> <useResourcePackagesChildren>true</useResourcePackagesChildren> <outputDirectory>${basedir}/target/classes/assets/</outputDirectory> <outputFilename>swagger</outputFilename> <outputFormats>JSON,YAML</outputFormats> <prettyPrint>true</prettyPrint> <swaggerConfig> <servers> <server> <url>/api</url> <description>Current Host</description> </server> <server> <url>http://localhost:8585/api</url> <description>Endpoint URL</description> </server> </servers> <securityRequirements> <securityRequirement> <entries> <entry> <name>BearerAuth</name> </entry> </entries> </securityRequirement> </securityRequirements> <components> <securitySchemes> <BearerAuth> <type>http</type> <description>Provide Token from Bots settings section in OMD or your Authorization Provider</description> <scheme>bearer</scheme> </BearerAuth> </securitySchemes> </components> <info> <title>OpenMetadata Apis</title> <version>${project.parent.version}</version> <contact> <email>openmetadata-dev@googlegroups.com</email> <name>OpenMetadata</name> <url>https://open-metadata.org</url> </contact> <license> <url>https://www.apache.org/licenses/LICENSE-2.0</url> <name>Apache 2.0</name> </license> </info> <descriptionFile>../openmetadata-docs/content/v1.6.x/main-concepts/metadata-standard/apis.md</descriptionFile> </swaggerConfig> </configuration> <executions> <execution> <phase>compile</phase> <goals> <goal>generate</goal> </goals> </execution> </executions> </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-jar-plugin</artifactId> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>