This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch parent_pom
in repository 
https://gitbox.apache.org/repos/asf/flink-connector-shared-utils.git


The following commit(s) were added to refs/heads/parent_pom by this push:
     new 808184a  [FLINK-32563] add additionalExcludes property to add 
exclusions to surefire tests
808184a is described below

commit 808184ab723d678a4966ae4c45096c4bd6d3e756
Author: Etienne Chauchot <echauc...@apache.org>
AuthorDate: Tue Nov 14 10:30:05 2023 +0100

    [FLINK-32563] add additionalExcludes property to add exclusions to surefire 
tests
---
 pom.xml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 00c9a9b..0d88817 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@ under the License.
 
     <groupId>org.apache.flink</groupId>
     <artifactId>flink-connector-parent</artifactId>
-    <version>1.0.0</version>
+    <version>1.0.1</version>
     <packaging>pom</packaging>
 
     <url>https://flink.apache.org</url>
@@ -80,6 +80,10 @@ under the License.
         <japicmp.referenceVersion/>
         <flink.version/>
         <flink.parent.artifactId/>
+
+        <!-- optional property to add exclusions to surefire tests
+        (among other things for skipping archunit tests) -->
+        <additionalExcludes/>
     </properties>
 
     <build>
@@ -570,6 +574,9 @@ under the License.
                                 <includes>
                                     <include>${test.unit.pattern}</include>
                                 </includes>
+                                <excludes>
+                                    <exclude>${additionalExcludes}</exclude>
+                                </excludes>
                                 
<forkCount>${flink.forkCountUnitTest}</forkCount>
                                 <argLine>${flink.surefire.baseArgLine} 
-Xmx${flink.XmxUnitTest}</argLine>
                             </configuration>
@@ -587,6 +594,7 @@ under the License.
                                 </includes>
                                 <excludes>
                                     <exclude>${test.unit.pattern}</exclude>
+                                    <exclude>${additionalExcludes}</exclude>
                                 </excludes>
                                 <forkCount>${flink.forkCountITCase}</forkCount>
                                 <argLine>${flink.surefire.baseArgLine} 
-Xmx${flink.XmxITCase}</argLine>

Reply via email to