[Git][java-team/maven-compiler-plugin][master] Use relative paths in the generated jpms.args files to make the builds reproducible
Emmanuel Bourg
gitlab at salsa.debian.org
Tue Sep 10 08:32:43 BST 2019
Emmanuel Bourg pushed to branch master at Debian Java Maintainers / maven-compiler-plugin
Commits:
e2c2dd54 by Emmanuel Bourg at 2019-09-10T07:28:53Z
Use relative paths in the generated jpms.args files to make the builds reproducible
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/02-reproducible-jpms-args.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+maven-compiler-plugin (3.8.1-3) unstable; urgency=medium
+
+ * Team upload.
+ * Use relative paths in the generated jpms.args files to make the builds
+ reproducible
+
+ -- Emmanuel Bourg <ebourg at apache.org> Tue, 10 Sep 2019 09:28:35 +0200
+
maven-compiler-plugin (3.8.1-2) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/02-reproducible-jpms-args.patch
=====================================
@@ -0,0 +1,14 @@
+Description: Use relative paths in the generated jpms.args files to make the builds reproducible
+Author: Emmanuel Bourg <ebourg at apache.org>
+Bug: https://issues.apache.org/jira/browse/MCOMPILER-397
+--- a/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java
++++ b/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java
+@@ -998,7 +998,7 @@
+ if ( value == null )
+ {
+ entry = entryIter.next();
+- value = entry.getKey();
++ value = entry.getKey().replaceAll( new File("").getAbsolutePath(), "." );
+ }
+ jpmsLines.add( value );
+ }
=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
01-fix-wrong-junit-path.patch
+02-reproducible-jpms-args.patch
View it on GitLab: https://salsa.debian.org/java-team/maven-compiler-plugin/commit/e2c2dd549cd9712b8d28e5e53161f6a70fd66075
--
View it on GitLab: https://salsa.debian.org/java-team/maven-compiler-plugin/commit/e2c2dd549cd9712b8d28e5e53161f6a70fd66075
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20190910/750a29ba/attachment.html>
More information about the pkg-java-commits
mailing list