You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by gn...@apache.org on 2023/10/10 05:50:46 UTC
[mina-sshd] 01/03: fix Reproducible Builds issue
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch sshd-2.9.x
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
commit 237a9ba4e289f59f52cebab8e999b164a4b446fa
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun May 21 10:30:59 2023 +0200
fix Reproducible Builds issue
---
sshd-osgi/pom.xml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/sshd-osgi/pom.xml b/sshd-osgi/pom.xml
index feb3716aa..61fb8f522 100644
--- a/sshd-osgi/pom.xml
+++ b/sshd-osgi/pom.xml
@@ -123,13 +123,18 @@
</copy>
<echo file="${project.build.directory}/osgi-sources/META-INF/maven/${project.groupId}/${project.artifactId}/pom.properties">
-#Created by Apache Maven ${maven.version}
+#Created by Apache Maven with Maven Antrun Plugin
version=${project.version}
groupId=${project.groupId}
artifactId=${project.artifactId}
</echo>
+ <echo file="${project.build.directory}/osgi-sources/META-INF/MANIFEST.MF">
+Manifest-Version: 1.0
+Created-By: Maven Antrun Plugin
+ </echo>
- <jar destfile="${project.build.directory}/${project.artifactId}-${project.version}-sources.jar">
+ <jar destfile="${project.build.directory}/${project.artifactId}-${project.version}-sources.jar"
+ manifest="${project.build.directory}/osgi-sources/META-INF/MANIFEST.MF">
<fileset dir="${project.basedir}/../sshd-common/src/main/java" includes="**/*" />
<fileset dir="${project.basedir}/../sshd-common/src/main/resources" includes="**/*" erroronmissingdir="false" />
<fileset dir="${project.basedir}/../sshd-core/src/main/java" includes="**/*" />