mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-29 08:29:09 +00:00
* Update openmetadata-client module dependencies * Update common module dependencies * Update openmetadata-spec module dependencies * Update openmetadata-ui module dependencies * Update openmetadata-service module dependencies * Upgrade remaining dependencies
116 lines
3.7 KiB
XML
116 lines
3.7 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>platform</artifactId>
|
|
<groupId>org.open-metadata</groupId>
|
|
<version>0.13.0-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>openmetadata-ui</artifactId>
|
|
|
|
<properties>
|
|
<dropwizard.swagger.version>2.0.12-1</dropwizard.swagger.version>
|
|
<!-- Don't upgrade from this version as tests don't work with later version-->
|
|
<skipTests>false</skipTests>
|
|
</properties>
|
|
|
|
<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>
|
|
<id>install node and yarn</id>
|
|
<goals>
|
|
<goal>install-node-and-yarn</goal>
|
|
</goals>
|
|
<configuration>
|
|
<nodeVersion>v16.14.2</nodeVersion>
|
|
<yarnVersion>v1.22.18</yarnVersion>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>yarn install --frozen-lockfile</id>
|
|
<goals>
|
|
<goal>yarn</goal>
|
|
</goals>
|
|
<phase>prepare-package</phase>
|
|
<configuration>
|
|
<arguments>install --frozen-lockfile</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>yarn run test</id>
|
|
<goals>
|
|
<goal>yarn</goal>
|
|
</goals>
|
|
<phase>prepare-package</phase>
|
|
<configuration>
|
|
<skip>${skipTests}</skip>
|
|
<arguments>run test</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>yarn run build</id>
|
|
<goals>
|
|
<goal>yarn</goal>
|
|
</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.) -->
|
|
<arguments>run build</arguments>
|
|
<!--arguments>build</arguments-->
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<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>
|
|
</plugins>
|
|
</build>
|
|
</project>
|