[FTBFS] maven-compiler-plugins fails to build due to hardcoded compiler version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maven-compiler-plugin (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The maven compiler version 3.6.1 is hardcoded into maven, thus causing a FTBFS when trying to rebuild the maven-compiler-
This causes various maven dependent projects to fail - including maven-compiler-
In order to fix this circular dependency, the maven-compiler-
1) Override the dh_auto_configure to copy maven-compiler-
2) Use the relocate feature of a pom.xml file to force dependencies on maven-compiler-
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.
Attached debdiff to: compiler- plugin version 3.2 over 3.6.1 to fix build. compiler- plugin version 3.6.1 to version 3.6.2
* Copy libmaven-
* Relocate libmaven-
to fix future builds for this and all other maven dependent packages.
* Set JAVA_HOME to prevent compiler test failure.
* Patch wrong junit path in compiler test.