You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ji...@apache.org on 2024/03/29 02:56:24 UTC
(flink-connector-mongodb) branch main updated (da7472a -> 0dc2640)
This is an automated email from the ASF dual-hosted git repository.
jiabaosun pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-mongodb.git
from da7472a [hotfix] Add IssueNavigationLink for IDEA git log (#30)
new a0fe686 [FLINK-34958][connectors/mongodb] Bump CI Flink version to include 1.19 and 1.20-SNAPSHOT
new 0dc2640 [FLINK-34958][connectors/mongodb] Bump flink-connector-parent version to 1.1.0 and remove mockito
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/push_pr.yml | 2 ++
.github/workflows/weekly.yml | 8 +++++++
pom.xml | 53 +++++++++++++++++--------------------------
3 files changed, 31 insertions(+), 32 deletions(-)
(flink-connector-mongodb) 01/02: [FLINK-34958][connectors/mongodb] Bump CI Flink version to include 1.19 and 1.20-SNAPSHOT
Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jiabaosun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-mongodb.git
commit a0fe686a6647cb6eba3908bbba336079569959e7
Author: gongzhongqiang <go...@apache.org>
AuthorDate: Fri Mar 29 10:20:55 2024 +0800
[FLINK-34958][connectors/mongodb] Bump CI Flink version to include 1.19 and 1.20-SNAPSHOT
---
.github/workflows/push_pr.yml | 2 ++
.github/workflows/weekly.yml | 8 ++++++++
pom.xml | 20 ++++++++++++++++++++
3 files changed, 30 insertions(+)
diff --git a/.github/workflows/push_pr.yml b/.github/workflows/push_pr.yml
index fdd1377..8890292 100644
--- a/.github/workflows/push_pr.yml
+++ b/.github/workflows/push_pr.yml
@@ -32,6 +32,8 @@ jobs:
jdk: '8, 11, 17'
- flink: 1.19-SNAPSHOT
jdk: '8, 11, 17, 21'
+ - flink: 1.20-SNAPSHOT
+ jdk: '8, 11, 17, 21'
uses: apache/flink-connector-shared-utils/.github/workflows/ci.yml@ci_utils
with:
flink_version: ${{ matrix.flink }}
diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml
index 07fbae5..8d7b3dd 100644
--- a/.github/workflows/weekly.yml
+++ b/.github/workflows/weekly.yml
@@ -37,6 +37,10 @@ jobs:
flink: 1.19-SNAPSHOT,
jdk: '8, 11, 17, 21',
branch: main
+ }, {
+ flink: 1.20-SNAPSHOT,
+ jdk: '8, 11, 17, 21',
+ branch: main
}, {
flink: 1.17.2,
branch: v1.1
@@ -44,6 +48,10 @@ jobs:
flink: 1.18.1,
jdk: '8, 11, 17',
branch: v1.1
+ }, {
+ flink: 1.19.0,
+ jdk: '8, 11, 17, 21',
+ branch: v1.1
}]
uses: apache/flink-connector-shared-utils/.github/workflows/ci.yml@ci_utils
with:
diff --git a/pom.xml b/pom.xml
index a2b5a43..b7d7c71 100644
--- a/pom.xml
+++ b/pom.xml
@@ -71,6 +71,7 @@ under the License.
<!-- These 2 properties should be removed together with upgrade of flink-connector-parent to 1.1.x -->
<flink.surefire.baseArgLine>-XX:+UseG1GC -Xms256m -XX:+IgnoreUnrecognizedVMOptions ${surefire.module.config}</flink.surefire.baseArgLine>
<surefire.module.config/>
+ <spotless.skip>false</spotless.skip>
</properties>
<modules>
@@ -371,6 +372,9 @@ under the License.
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
+ <configuration>
+ <skip>${spotless.skip}</skip>
+ </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -398,4 +402,20 @@ under the License.
</plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>java21</id>
+ <activation>
+ <jdk>[21,)</jdk>
+ </activation>
+ <properties>
+ <!-- Current google format does not run on Java 21.
+ Don't upgrade it in this profile because it formats code differently.
+ Re-evaluate once support for Java 8 is dropped. -->
+ <spotless.skip>true</spotless.skip>
+ </properties>
+ </profile>
+ </profiles>
+
</project>
(flink-connector-mongodb) 02/02: [FLINK-34958][connectors/mongodb] Bump flink-connector-parent version to 1.1.0 and remove mockito
Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jiabaosun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-mongodb.git
commit 0dc2640922b3dd2d0ea8565d1bf6606b5d715b0b
Author: gongzhongqiang <go...@apache.org>
AuthorDate: Fri Mar 29 10:21:25 2024 +0800
[FLINK-34958][connectors/mongodb] Bump flink-connector-parent version to 1.1.0 and remove mockito
---
pom.xml | 33 +--------------------------------
1 file changed, 1 insertion(+), 32 deletions(-)
diff --git a/pom.xml b/pom.xml
index b7d7c71..dfbe3db 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@ under the License.
<parent>
<groupId>org.apache.flink</groupId>
<artifactId>flink-connector-parent</artifactId>
- <version>1.0.0</version>
+ <version>1.1.0</version>
</parent>
<groupId>org.apache.flink</groupId>
@@ -59,7 +59,6 @@ under the License.
<junit5.version>5.8.1</junit5.version>
<assertj.version>3.21.0</assertj.version>
<testcontainers.version>1.17.2</testcontainers.version>
- <mockito.version>3.4.6</mockito.version>
<japicmp.skip>false</japicmp.skip>
<japicmp.referenceVersion>3.0.0-1.16</japicmp.referenceVersion>
@@ -110,20 +109,6 @@ under the License.
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-inline</artifactId>
- <type>jar</type>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <type>jar</type>
- <scope>test</scope>
- </dependency>
-
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
@@ -265,22 +250,6 @@ under the License.
<scope>import</scope>
</dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-inline</artifactId>
- <version>${mockito.version}</version>
- <type>jar</type>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <version>${mockito.version}</version>
- <type>jar</type>
- <scope>test</scope>
- </dependency>
-
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>