Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Tycho/Release Notes/1.5"
(→New and Noteworthy) |
(→Support for surefire enableAssertions) |
||
Line 83: | Line 83: | ||
=== Support for surefire enableAssertions === | === Support for surefire enableAssertions === | ||
− | {{bug|526008} introduces support for <tt>enableAssertions</tt> user property to tycho-surefire. Default value for it is false while maven-surefire has it as true. | + | {{bug|526008}} introduces support for <tt>enableAssertions</tt> user property to tycho-surefire. Default value for it is <tt>false</tt> while maven-surefire has it as <tt>true</tt>. |
=== Noteworthy item === | === Noteworthy item === |
Revision as of 06:57, 25 September 2019
Contents
- 1 SNAPSHOT builds
- 2 New and Noteworthy
- 2.1 Pomless Build
- 2.2 FreeBSD support
- 2.3 Thread stack traces dump before forkedProcessTimeoutInSeconds timeout occurs
- 2.4 A Mojo to list dependencies
- 2.5 ECJ update
- 2.6 JGit update
- 2.7 Equinox update
- 2.8 Support for maven.compiler.failOnWarning
- 2.9 Support for surefire enableAssertions
- 2.10 Noteworthy item
SNAPSHOT builds
Tycho 1.5.0-SNAPSHOT is currently in development. To try out the most recent snapshot build, simply add the following snippet to your (parent) pom.xml or settings.xml, and set the property for the Tycho version (e.g. tycho-version) to 1.5.0-SNAPSHOT.
<pluginRepositories> <pluginRepository> <id>tycho-snapshots</id> <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url> </pluginRepository> </pluginRepositories>
SNAPSHOT site docs
Refer to the latest SNAPSHOT site docs for Tycho and Tycho Extras.
New and Noteworthy
Complete list of bug fixes and enhancements in 1.5.0-SNAPSHOT
Pomless Build
The pomless build has been improved to support some new features and improve existing ones:
bug 490886 - support for pomless update site builds
bug 482487 - support for pomless product builds
bug 550285 - support for pomless target-definition builds
bug 507700 - support .test as a suffix for plugins and make it configurable, you can now alternatively specify a property tycho.pomless.testbundle=true/false in build.properties file to override the default behavior.
bug 478704 - support for alternative parent-pom file locations: - It is possible to define a system-property tycho.pomless.parent (defaults to "..") that configures the global default for searching parent poms (similar to tycho.localArtifacts this can't be configured in pom directly because of the early phase this is required) - It is also possible to define tycho.pomless.parent inside build.properties of individual bundle/fragment that overrides the global default for only this module
bug 492819 - support for structured builds: It is now possible to use pomless for so called "structured-builds" that means the folders are not just a flat representation of all projects but are structured by their type (e.g. bundles, test, feature), you can find an example here so it is possible to have just one pom.xml in the root of you project structure. You can find a pull-request here that shows what changes could be made to leverage this feature compared to a project using Tycho 1.4 pomless extension to reduce the required poms.
FreeBSD support
bug 549689 adds support for FreeBSD platform in RCP product definitions.
Thread stack traces dump before forkedProcessTimeoutInSeconds timeout occurs
The parameter forkedProcessTimeoutInSeconds can be specified to kill the process which runs tests (also prior to Tycho 1.5.0). With the change for bug 542876, a few minutes before the process is killed due to this timeout, thread stack traces are dumped in the test log. I.e. when a timeout occurs (e.g. due to a deadlock) the logs would now contain some indication of which code causes the timeout.
A Mojo to list dependencies
bug 547269 introduces a new org.eclipse.tycho.extras:tycho-dependency-tools-plugin:list-dependencies mojo that can list the bundles resulting of dependency resolution for Tycho projects.
This differs from dependency:list in that the later one lists the classpath which may include nested jars instead of required bundle.
The default output file is target/dependenct-list.txt, lists of absolute paths to required bundles and is suitable to use with the org.eclipse.pde.api.tools.apiAnalysis application.
ECJ update
ECJ has been updated to version 3.19.0. This version adds support for Java 12 bytecode and features.
JGit update
JGit has been updated to version 5.5.0. Full release notes here.
Equinox update
Equinox and p2 has been updated to their 2019-09 versions.
Support for maven.compiler.failOnWarning
bug 547470 introduces support for maven.compiler.failOnWarning user property to tycho-compiler-plugin with same behavior as maven-compiler-plugin.
Support for surefire enableAssertions
bug 526008 introduces support for enableAssertions user property to tycho-surefire. Default value for it is false while maven-surefire has it as true.
Noteworthy item
Description, link to bug bug 123456, if necessary link to dedicated documentation, if useful include examples.