mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-18 22:53:09 +00:00
269 lines
11 KiB
XML
269 lines
11 KiB
XML
<?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>openmetadata-clients</artifactId>
|
|
<groupId>org.open-metadata</groupId>
|
|
<version>0.13.2-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>openmetadata-java-client</artifactId>
|
|
<properties>
|
|
<java.version>11</java.version>
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
<springfox-version>2.7.0</springfox-version>
|
|
<!-- Upgrading this causes issues -->
|
|
<feign-version>9.7.0</feign-version>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.open-metadata</groupId>
|
|
<artifactId>openmetadata-spec</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-codegen-maven-plugin</artifactId>
|
|
<version>3.0.0-rc1</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-ext</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-ext</artifactId>
|
|
<version>2.0.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.joschi.jackson</groupId>
|
|
<artifactId>jackson-datatype-threetenbp</artifactId>
|
|
<!-- Upgrading this causes failure-->
|
|
<version>2.6.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.oltu.oauth2</groupId>
|
|
<artifactId>org.apache.oltu.oauth2.client</artifactId>
|
|
<version>1.0.2</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
<artifactId>jackson-dataformat-cbor</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- FEIGN DEPENDENCY-->
|
|
<!-- Required dependency -->
|
|
<dependency>
|
|
<groupId>io.github.openfeign</groupId>
|
|
<artifactId>feign-jackson</artifactId>
|
|
<version>${feign-version}</version>
|
|
</dependency>
|
|
<!-- Required dependency -->
|
|
<dependency>
|
|
<groupId>io.github.openfeign</groupId>
|
|
<artifactId>feign-slf4j</artifactId>
|
|
<version>${feign-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.openfeign</groupId>
|
|
<artifactId>feign-core</artifactId>
|
|
<version>${feign-version}</version>
|
|
</dependency>
|
|
<!-- Required dependency -->
|
|
<dependency>
|
|
<groupId>io.github.openfeign.form</groupId>
|
|
<artifactId>feign-form</artifactId>
|
|
<version>3.8.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.auth</groupId>
|
|
<artifactId>google-auth-library-oauth2-http</artifactId>
|
|
<version>1.14.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.microsoft.azure</groupId>
|
|
<artifactId>msal4j</artifactId>
|
|
<version>1.13.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.openfeign</groupId>
|
|
<artifactId>feign-okhttp</artifactId>
|
|
<version>12.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</dependency>
|
|
<!-- TEST -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.13.2</version>
|
|
</dependency>
|
|
|
|
<!-- Avoid security issue https://security.snyk.io/vuln/SNYK-JAVA-ORGJSON-2841369 -->
|
|
<dependency>
|
|
<groupId>org.json</groupId>
|
|
<artifactId>json</artifactId>
|
|
<version>20220924</version>
|
|
</dependency>
|
|
|
|
<!-- avoid security issue https://security.snyk.io/vuln/SNYK-JAVA-ORGMOZILLA-1314295 -->
|
|
<dependency>
|
|
<groupId>org.mozilla</groupId>
|
|
<artifactId>rhino</artifactId>
|
|
<version>1.7.14</version>
|
|
</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>
|
|
</profiles>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>analyze</id>
|
|
<goals>
|
|
<goal>analyze-only</goal>
|
|
</goals>
|
|
<configuration>
|
|
<ignoredDependencies>
|
|
<ignoredDependency>org.projectlombok:lombok</ignoredDependency>
|
|
</ignoredDependencies>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!--Reformat Code to comply with Google Java Style -->
|
|
<plugin>
|
|
<groupId>com.theoryinpractise</groupId>
|
|
<artifactId>googleformatter-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
<version>1.4</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.swagger.codegen.v3</groupId>
|
|
<artifactId>swagger-codegen-maven-plugin</artifactId>
|
|
<version>3.0.16</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.github.jknack</groupId>
|
|
<artifactId>handlebars</artifactId>
|
|
<version>4.3.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
<configuration>
|
|
<inputSpec>${project.basedir}/../../openmetadata-service/target/classes/assets/swagger.yaml</inputSpec>
|
|
<language>java</language>
|
|
<library>feign</library>
|
|
<generateApiTests>true</generateApiTests>
|
|
<generateModelTests>true</generateModelTests>
|
|
<apiPackage>org.openmetadata.client.api</apiPackage>
|
|
<modelPackage>org.openmetadata.client.model</modelPackage>
|
|
<configOptions>
|
|
<generateForOpenFeign>true</generateForOpenFeign>
|
|
<sourceFolder>src/main/java/</sourceFolder>
|
|
</configOptions>
|
|
<output>${project.build.directory}/generated-sources/swagger
|
|
</output>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|