[Bug 1788735] [NEW] libcommons-lang3-java FTBFS due to circular build-dep (multiple versions in classpath)
Launchpad Bug Tracker
1788735 at bugs.launchpad.net
Fri Aug 24 01:17:28 UTC 2018
You have been subscribed to a public bug by Tiago Stürmer Daitx (tdaitx):
maven relies on surefire for running tests and surefire depends on
libcommons-lang3-java. So whenever libcommons-lang3-java is updated
there are 2 versions in the classpath during the testing: the old
version in the deb package from surefire's dependency and the new
version that was just build. Unfortunately the old version takes
precedence in maven/surefire's classpath, thus any test that relies in
the new features/classes/interfaces/methods will fail.
This circular build dependency can only be broken by disabling testing
for any libcommons-lang3-java update that also modifies the tests - I
haven't found a way to force surefire/maven to load and use only the new
version under test (or, in other words, to prevent it from loading/using
the old classes).
The easiest way to skip the tests is by adding "maven.test.skip=true" to
** Affects: libcommons-lang3-java (Ubuntu)
** Tags: cosmic ftbfs patch
libcommons-lang3-java FTBFS due to circular build-dep (multiple versions in classpath)
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