Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
maven-compiler-plugin
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Java Maintainers
maven-compiler-plugin
Commits
e2c2dd54
Commit
e2c2dd54
authored
5 years ago
by
Emmanuel Bourg
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+8
-0
8 additions, 0 deletions
debian/changelog
debian/patches/02-reproducible-jpms-args.patch
+14
-0
14 additions, 0 deletions
debian/patches/02-reproducible-jpms-args.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
23 additions
and
0 deletions
debian/changelog
+
8
−
0
View file @
e2c2dd54
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.
...
...
This diff is collapsed.
Click to expand it.
debian/patches/02-reproducible-jpms-args.patch
0 → 100644
+
14
−
0
View file @
e2c2dd54
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 );
}
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
e2c2dd54
01-fix-wrong-junit-path.patch
02-reproducible-jpms-args.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment