[Bug 1716095] [NEW] [FTBFS] maven-compiler-plugins fails to build due to hardcoded compiler version

Launchpad Bug Tracker 1716095 at bugs.launchpad.net
Sat Sep 9 06:21:13 UTC 2017


You have been subscribed to a public bug by Tiago Stürmer Daitx (tdaitx):

The maven compiler version 3.6.1 is hardcoded into maven, thus causing a
FTBFS when trying to rebuild the maven-compiler-plugin after 3.6.2-1 was
synced to the archive.

This causes various maven dependent projects to fail - including maven-
compiler-plugin itself

In order to fix this circular dependency, the maven-compiler-plugin
needs to:

1) Override the dh_auto_configure to copy maven-compiler-plugin 3.2 repository data over 3.6.1; 3.2 is just a relocate/redirect to 3.6.2, thus we force the build to consider 3.6.1 as 3.6.2, this is only required on the first build, subsequent builds won't need as the next step will do this for us.
2) Use the relocate feature of a pom.xml file to force dependencies on maven-compiler-plugin 3.6.1 to use 3.6.2 instead.

After that first build is done a second one should remove step #1 since
the relocate in step #2 will take care of that from there on.

** Affects: maven-compiler-plugin (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs patch
-- 
[FTBFS] maven-compiler-plugins fails to build due to hardcoded compiler version
https://bugs.launchpad.net/bugs/1716095
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list