Public bug reported:
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
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716095
Title:
[FTBFS] maven-compiler-plugins fails to build due to hardcoded
compiler version
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maven-compiler-plugin/+bug/1716095/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs