2021-11-23 23:48:54 -08:00
|
|
|
<?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>catalog</artifactId>
|
|
|
|
|
<groupId>org.openmetadata</groupId>
|
2022-01-26 14:00:27 +05:30
|
|
|
<version>0.9.0-SNAPSHOT</version>
|
2021-11-23 23:48:54 -08:00
|
|
|
</parent>
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
<artifactId>openmetadata-ui</artifactId>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<dropwizard.swagger.version>2.0.12-1</dropwizard.swagger.version>
|
2022-02-17 23:37:50 -08:00
|
|
|
<testng.version>7.5</testng.version>
|
2022-02-23 15:42:23 +05:30
|
|
|
<selenium.version>4.1.1</selenium.version>
|
2021-11-23 23:48:54 -08:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.openmetadata</groupId>
|
|
|
|
|
<artifactId>common</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.openmetadata</groupId>
|
|
|
|
|
<artifactId>catalog-rest-service</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
|
<artifactId>selenium-java</artifactId>
|
|
|
|
|
<version>${selenium.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.github.artsok</groupId>
|
|
|
|
|
<artifactId>rerunner-jupiter</artifactId>
|
|
|
|
|
<version>2.1.6</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.testng</groupId>
|
|
|
|
|
<artifactId>testng</artifactId>
|
|
|
|
|
<version>${testng.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.javafaker</groupId>
|
|
|
|
|
<artifactId>javafaker</artifactId>
|
|
|
|
|
<version>1.0.2</version>
|
|
|
|
|
</dependency>
|
2021-11-25 14:28:47 +05:30
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
|
|
|
<version>${org.junit.jupiter.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
|
|
|
<version>${org.junit.jupiter.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2021-12-01 17:04:45 +05:30
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.github.artsok</groupId>
|
|
|
|
|
<artifactId>rerunner-jupiter</artifactId>
|
|
|
|
|
<version>2.1.6</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2021-12-23 10:42:42 +05:30
|
|
|
<!-- https://mvnrepository.com/artifact/io.rest-assured/rest-assured -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.rest-assured</groupId>
|
|
|
|
|
<artifactId>rest-assured</artifactId>
|
2022-02-17 23:37:50 -08:00
|
|
|
<version>4.5.1</version>
|
2021-12-23 10:42:42 +05:30
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-11-23 23:48:54 -08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources/ui/dist</directory>
|
|
|
|
|
</resource>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources/json/data</directory>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
|
<!-- Handle Compiling Frontend -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
|
|
|
<version>1.11.0</version>
|
|
|
|
|
|
|
|
|
|
<!-- optional -->
|
|
|
|
|
<configuration>
|
|
|
|
|
<workingDirectory>src/main/resources/ui/</workingDirectory>
|
|
|
|
|
<installDirectory>target</installDirectory>
|
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
2021-12-22 18:27:48 +05:30
|
|
|
<id>install node and yarn</id>
|
2021-11-23 23:48:54 -08:00
|
|
|
<goals>
|
2021-12-22 18:27:48 +05:30
|
|
|
<goal>install-node-and-yarn</goal>
|
2021-11-23 23:48:54 -08:00
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
2021-12-22 18:27:48 +05:30
|
|
|
<nodeVersion>v12.22.1</nodeVersion>
|
2021-12-28 23:16:52 +05:30
|
|
|
<yarnVersion>v1.22.17</yarnVersion>
|
2021-11-23 23:48:54 -08:00
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
2021-12-28 23:16:52 +05:30
|
|
|
<id>yarn install --frozen-lockfile</id>
|
2021-11-23 23:48:54 -08:00
|
|
|
<goals>
|
2021-12-22 18:27:48 +05:30
|
|
|
<goal>yarn</goal>
|
2021-11-23 23:48:54 -08:00
|
|
|
</goals>
|
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
|
<configuration>
|
2021-12-28 23:16:52 +05:30
|
|
|
<arguments>install --frozen-lockfile</arguments>
|
2021-11-23 23:48:54 -08:00
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
2021-12-22 18:27:48 +05:30
|
|
|
<id>yarn run build-check</id>
|
2021-11-23 23:48:54 -08:00
|
|
|
<goals>
|
2021-12-22 18:27:48 +05:30
|
|
|
<goal>yarn</goal>
|
2021-11-23 23:48:54 -08:00
|
|
|
</goals>
|
|
|
|
|
<!-- optional: the default phase is "generate-resources" -->
|
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
|
<configuration>
|
|
|
|
|
<!-- optional: if not specified, it will run gulp's default task
|
|
|
|
|
(and you can remove this whole <configuration> section.) -->
|
2021-12-22 18:27:48 +05:30
|
|
|
<arguments>run build-check</arguments>
|
2021-11-23 23:48:54 -08:00
|
|
|
<!--arguments>build</arguments-->
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
2021-12-22 18:27:48 +05:30
|
|
|
<id>yarn run build</id>
|
2021-11-23 23:48:54 -08:00
|
|
|
<goals>
|
2021-12-22 18:27:48 +05:30
|
|
|
<goal>yarn</goal>
|
2021-11-23 23:48:54 -08:00
|
|
|
</goals>
|
|
|
|
|
<!-- optional: the default phase is "generate-resources" -->
|
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
|
<configuration>
|
|
|
|
|
<!-- optional: if not specified, it will run gulp's default task
|
|
|
|
|
(and you can remove this whole <configuration> section.) -->
|
2021-12-22 18:27:48 +05:30
|
|
|
<arguments>run build</arguments>
|
2021-11-23 23:48:54 -08:00
|
|
|
<!--arguments>build</arguments-->
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2021-11-24 19:31:39 +05:30
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>copy-resources</id>
|
|
|
|
|
<!-- here the phase you need -->
|
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<outputDirectory>${basedir}/target/classes</outputDirectory>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources/ui/dist</directory>
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2021-11-23 23:48:54 -08:00
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|