New and Noteworthy
Complete list of bug fixes and enhancements in 0.23.0
- The JDT compiler shipped with Tycho has been updated to Mars RC2a (
- The default source/target level (i.e. no BREE in MANIFEST.MF nor source/target configured in pom.xml) has been updated to 1.7 (
- You can now use <iu> elements in an eclipse-repository's category.xml to include and/or categorize arbitrary artifacts in a p2 repository (
bug 371983). See Tycho/category.xml for details.
- By default, Tycho will no longer add META-INF/maven/ descriptors in feature jars. With feature jars always being unpacked during installation, these can lead to path length problems on Windows (
- The embedded p2 version has been updated to Mars RC2a. Noteworthy p2 changes:
- (INCOMPATIBLE CHANGE) Due to a change in p2 publishers, MacOS products can no longer be built using p2 repositories older than eclipse Mars. Make sure you use Mars and configure a product installation root folder ending with ".app" (see Tycho demo project. If you build a MacOS product and can't update to Mars (yet), you will probably have to skip this Tycho release. We intend to add a compatibility workaround in the next release of Tycho (bug 463670)
- Support for xz-compressed p2 metadata files (
- Tycho will now set a specific HTTP User-Agent header including the Tycho version used when accessing p2 repositories (
bug 467418). This can be used to analyze HTTP access logs of the servers delivering the p2 artifacts.
- (INCOMPATIBLE CHANGE) The tycho-surefire property testSuite had been removed. If you are building a multi-bundle project and had set the testSuite and testClass property on the CLI or in a parent pom, you have to set the property failIfNoTests to false. If you had specified testSuite and testClass in the pom file of the plugin the testsClass belongs to, you just have to remove the testSuite property (
- Tycho now requires Java 7 (
bug 463433). Note that this does not affect the compiler source/target level configured in your build and you can still compile against any JDK using maven toolchains.
- The embedded OSGi runtime used by Tycho during build has been updated to use Equinox from Mars RC2a (
- The validation of the version qualifier in the pom is more strict. The build fails with an appropriate error message if the OSGi qualifier "qualifier" is used instead of "SNAPSHOT" (
bug 464887) and after applying the format (<format> property) respectively the forced qualifier value (<forcedQualifier> property) there is a check if it is a valid OSGi qualifier ( bug 464649).