Bug#730950: felix-bundlerepository: FTBFS: error: method compareTo in class Version cannot be applied to given types

Emmanuel Bourg ebourg at apache.org
Sun Dec 1 23:34:24 UTC 2013


Thank you for the report David.

This can be fixed by setting the compiler source/target level to 1.3.
The new version of maven-compiler-plugin defaults to 1.5 and breaks some
packages like felix-bundlerepository.

Setting the language level is done by adding these properties in
debian/maven.properties:

    maven.compiler.source=1.3
    maven.compiler.target=1.3

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list