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

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new a8c1b3d07 [build] Upgrade maven-jar-plugin: fixes Reproducible Builds 
issue 1 (#3719)
a8c1b3d07 is described below

commit a8c1b3d0757c44d8ea3460be4a8d12ad648e1977
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Fri Jul 12 04:44:45 2024 +0200

    [build] Upgrade maven-jar-plugin: fixes Reproducible Builds issue 1 (#3719)
---
 paimon-filesystems/paimon-oss-impl/pom.xml | 7 -------
 paimon-filesystems/paimon-s3-impl/pom.xml  | 7 -------
 pom.xml                                    | 4 ++--
 3 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/paimon-filesystems/paimon-oss-impl/pom.xml 
b/paimon-filesystems/paimon-oss-impl/pom.xml
index 1bab10ee5..51f65fde1 100644
--- a/paimon-filesystems/paimon-oss-impl/pom.xml
+++ b/paimon-filesystems/paimon-oss-impl/pom.xml
@@ -102,13 +102,6 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
                 <configuration>
                     <archive>
                         <manifestEntries>
diff --git a/paimon-filesystems/paimon-s3-impl/pom.xml 
b/paimon-filesystems/paimon-s3-impl/pom.xml
index d8faf4465..18a049bc3 100644
--- a/paimon-filesystems/paimon-s3-impl/pom.xml
+++ b/paimon-filesystems/paimon-s3-impl/pom.xml
@@ -272,13 +272,6 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
                 <configuration>
                     <archive>
                         <manifestEntries>
diff --git a/pom.xml b/pom.xml
index 80dc1b0c4..b9f67a5ef 100644
--- a/pom.xml
+++ b/pom.xml
@@ -343,12 +343,12 @@ under the License.
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <version>2.4</version><!--$NO-MVN-MAN-VER$-->
+                <version>3.4.2</version><!--$NO-MVN-MAN-VER$-->
                 <configuration>
                     <archive>
                         <manifestEntries>
                             <SCM-Revision>${git.commit.id}</SCM-Revision>
-                            <SCM-Branch>${git.branch}</SCM-Branch>
+                            <SCM-Branch>${git.branch}</SCM-Branch><!-- TODO: 
remove this non-reproducible config once maven-jar-plugin upgrade works -->
                         </manifestEntries>
                         <manifest>
                             
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>

Reply via email to