You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by le...@apache.org on 2022/06/06 01:26:54 UTC
[incubator-seatunnel] branch dev updated: [Bug][build] Fix build failed (#1980)
This is an automated email from the ASF dual-hosted git repository.
leo65535 pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 9ffa678c [Bug][build] Fix build failed (#1980)
9ffa678c is described below
commit 9ffa678c80053655499dbb2147a273a8708430bb
Author: leo65535 <le...@163.com>
AuthorDate: Mon Jun 6 09:26:48 2022 +0800
[Bug][build] Fix build failed (#1980)
---
.gitignore | 1 +
pom.xml | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
diff --git a/.gitignore b/.gitignore
index e90098ae..dbd0c25f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,3 +40,4 @@ Test.scala
test.conf
log4j.properties
spark-warehouse
+*.flattened-pom.xml
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 81820bb8..fc98c929 100644
--- a/pom.xml
+++ b/pom.xml
@@ -156,6 +156,7 @@
<config.version>1.3.3</config.version>
<maven-shade-plugin.version>3.2.4</maven-shade-plugin.version>
<maven-helper-plugin.version>3.2.0</maven-helper-plugin.version>
+ <flatten-maven-plugin.version>1.2.7</flatten-maven-plugin.version>
<maven-license-maven-plugin>1.20</maven-license-maven-plugin>
<influxdb-java.version>2.22</influxdb-java.version>
<log4j-core.version>2.17.1</log4j-core.version>
@@ -960,6 +961,33 @@
</pluginManagement>
<plugins>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>flatten-maven-plugin</artifactId>
+ <version>${flatten-maven-plugin.version}</version>
+ <configuration>
+ <!-- <updatePomFile>true</updatePomFile> -->
+ <flattenMode>resolveCiFriendliesOnly</flattenMode>
+ </configuration>
+ <executions>
+ <execution>
+ <id>flatten</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>flatten</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>flatten.clean</id>
+ <phase>clean</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>