This is an automated email from the ASF dual-hosted git repository.
kirs 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 f89411a [Bug] [maven] skip executing license-maven-plugin's
download-licenses goal by default (#1376)
f89411a is described below
commit f89411a074e4dd7e386689a75857f2add637baa3
Author: Benedict Jin <[email protected]>
AuthorDate: Mon Mar 7 12:16:23 2022 +0800
[Bug] [maven] skip executing license-maven-plugin's download-licenses goal
by default (#1376)
---
.github/workflows/backend.yml | 1 +
.github/workflows/codeql.yaml | 2 ++
.github/workflows/docker.yml | 1 +
.github/workflows/publish-docker.yaml | 1 +
pom.xml | 11 +----------
5 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index 242bac1..2770f11 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -66,6 +66,7 @@ jobs:
./mvnw -B install scalastyle:check \
-Dmaven.test.skip=true \
-Dcheckstyle.skip=true \
+ -Dlicense.skipAddThirdParty=true \
-Dhttp.keepAlive=false \
-Dmaven.wagon.http.pool=false \
-Dmaven.wagon.http.retryHandler.count=3 \
diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml
index ba0797c..28b656f 100644
--- a/.github/workflows/codeql.yaml
+++ b/.github/workflows/codeql.yaml
@@ -28,6 +28,8 @@ jobs:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 30
+ env:
+ JAVA_TOOL_OPTIONS: -Xmx2G -Xms2G -Dhttp.keepAlive=false
-Dmaven.test.skip=true -Dcheckstyle.skip=true -Dlicense.skipAddThirdParty=true
-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
-Dmaven.wagon.http.retryHandler.count=3
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
strategy:
fail-fast: false
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index ed0ce08..7d31f39 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -54,6 +54,7 @@ jobs:
./mvnw -B package \
-Dmaven.test.skip=true \
-Dcheckstyle.skip=true \
+ -Dlicense.skipAddThirdParty=true \
-Dhttp.keepAlive=false \
-Dmaven.wagon.http.pool=false \
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
diff --git a/.github/workflows/publish-docker.yaml
b/.github/workflows/publish-docker.yaml
index d3c9da2..a7a53d2 100644
--- a/.github/workflows/publish-docker.yaml
+++ b/.github/workflows/publish-docker.yaml
@@ -68,6 +68,7 @@ jobs:
-Dmaven.test.skip \
-Dmaven.javadoc.skip \
-Dmaven.checkstyle.skip \
+ -Dlicense.skipAddThirdParty=true \
-Dmaven.deploy.skip \
-Ddocker.tag=${{ github.sha }} \
-Ddocker.hub=${{ env.HUB }} \
diff --git a/pom.xml b/pom.xml
index 234598e..3143b70 100644
--- a/pom.xml
+++ b/pom.xml
@@ -792,7 +792,7 @@
</execution>
</executions>
</plugin>
-
+
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -804,16 +804,7 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${maven-license-maven-plugin}</version>
- <executions>
- <execution>
- <id>download</id>
- <goals>
- <goal>download-licenses</goal>
- </goals>
- </execution>
- </executions>
<configuration>
- <skip>true</skip>
<outputDirectory>${project.basedir}/seatunnel-dist/target/</outputDirectory>
<thirdPartyFilename>THIRD-PARTY.txt</thirdPartyFilename>
<sortArtifactByName>true</sortArtifactByName>