Emmanuel Bourg pushed to branch master at Debian Java Maintainers / maven-compiler-plugin
Commits: cbf93612 by Emmanuel Bourg at 2019-09-11T10:09:58Z Backported the fix for MCOMPILER-379 - - - - - 3 changed files: - debian/changelog - + debian/patches/MCOMPILER-379.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,11 @@ +maven-compiler-plugin (3.8.1-4) unstable; urgency=medium + + * Team upload. + * Backported the fix for MCOMPILER-379 (fixes the compilation errors + 'basedir .../test-generated-sources/annotations does not exist') + + -- Emmanuel Bourg <ebo...@apache.org> Wed, 11 Sep 2019 12:04:45 +0200 + maven-compiler-plugin (3.8.1-3) unstable; urgency=medium * Team upload. ===================================== debian/patches/MCOMPILER-379.patch ===================================== @@ -0,0 +1,18 @@ +From 6fd3a46885edd81e62ae62cfc798c1e1b903e170 Mon Sep 17 00:00:00 2001 +From: Karl Heinz Marbaise <khmarba...@apache.org> +Date: Sun, 28 Apr 2019 14:06:25 +0200 +Subject: [PATCH] [MCOMPILER-379] - Fatal error compiling: basedir .../target/generated-sources/annotations does not exist +--- a/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java ++++ b/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java +@@ -655,6 +655,11 @@ + + if ( generatedSourcesDirectory != null ) + { ++ if ( !generatedSourcesDirectory.exists() ) ++ { ++ generatedSourcesDirectory.mkdirs(); ++ } ++ + String generatedSourcesPath = generatedSourcesDirectory.getAbsolutePath(); + + compileSourceRoots.add( generatedSourcesPath ); ===================================== debian/patches/series ===================================== @@ -1,2 +1,3 @@ 01-fix-wrong-junit-path.patch 02-reproducible-jpms-args.patch +MCOMPILER-379.patch View it on GitLab: https://salsa.debian.org/java-team/maven-compiler-plugin/commit/cbf9361260e6f5a46d8e13c1a35e376061ff7ec7 -- View it on GitLab: https://salsa.debian.org/java-team/maven-compiler-plugin/commit/cbf9361260e6f5a46d8e13c1a35e376061ff7ec7 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ pkg-java-commits mailing list pkg-java-comm...@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits