Skip to content
Snippets Groups Projects
Commit e2c2dd54 authored by Emmanuel Bourg's avatar Emmanuel Bourg
Browse files

Use relative paths in the generated jpms.args files to make the builds reproducible

parent 7543b227
No related branches found
No related tags found
No related merge requests found
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@apache.org> Tue, 10 Sep 2019 09:28:35 +0200
maven-compiler-plugin (3.8.1-2) unstable; urgency=medium
* Team upload.
......
Description: Use relative paths in the generated jpms.args files to make the builds reproducible
Author: Emmanuel Bourg <ebourg@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 );
}
01-fix-wrong-junit-path.patch
02-reproducible-jpms-args.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment