Update tycho.version to v2.6.0
This MR contains the following updates:
Package | Update | Change |
---|---|---|
org.eclipse.tycho:tycho-p2-plugin (source) | minor |
2.5.0 -> 2.6.0
|
org.eclipse.tycho.extras:tycho-buildtimestamp-jgit (source) | minor |
2.5.0 -> 2.6.0
|
org.eclipse.tycho:tycho-packaging-plugin (source) | minor |
2.5.0 -> 2.6.0
|
org.eclipse.tycho.extras:tycho-source-feature-plugin (source) | minor |
2.5.0 -> 2.6.0
|
org.eclipse.tycho:tycho-source-plugin (source) | minor |
2.5.0 -> 2.6.0
|
org.eclipse.tycho:target-platform-configuration (source) | minor |
2.5.0 -> 2.6.0
|
org.eclipse.tycho:tycho-maven-plugin (source) | minor |
2.5.0 -> 2.6.0
|
Release Notes
eclipse/tycho
v2.6.0
Delayed classpath computation
Previously the classpath of a project was computed in the maven-setup phase, this has several restrictions.
Tycho now delays the classpath computation to a later stage (initialize
phase).
If you want to perform the classpath validation in the validate
phase of your build you can force classpath computation with the following snippet:
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>verify-classpath</id>
<phase>validate</phase>
<goals>
<goal>validate-classpath</goal>
</goals>
<configuration>
</configuration>
</execution>
</executions>
</plugin>
Support for generation of a feature from a maven target-location template
Tycho now support the m2e feature to generate a feature from a maven target location.
Support for nested targets
Tycho now supports nested target locations.
An example could be found here.
Support for pom dependencies in maven target locations
Tycho now supports pom dependencies inside maven target locations.
Example:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?>
<target name="with-pom-dependency">
<locations>
<location includeSource="true" missingManifest="generate" type="Maven">
<dependencies>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-ri</artifactId>
<version>3.0.2</version>
<type>pom</type>
</dependency>
</dependencies>
</location>
</locations>
</target>
Mirror Mojo no longer mirrors pack200 artifacts by default
The default for this mojo has been flipped from true to false as pack200 artifacts are irrelevant nowadays. If you want to restore previous behavior put the following into your mojo configuration:
<includePacked>true</includePacked>
Improved plain JUnit 5 support
Plain JUnit 5 tests now work fine without an extra dependency on JUnit 4.
Parallel testing with Tycho Surefire
Previously, Tycho Surefire would only execute one test plugin at the same time, even with parallel Maven builds enabled. Now Tycho Surefire runs multiple tests in parallel. If you have parallel Maven builds enabled and run SWTBot UI tests (or other tests that don't work well during parallel execution), then you may need to re-configure your build to avoid the parallel test execution.
Javadoc generation can use JAVA_HOME
The Tycho Extras document-bundle-plugin now supports looking up the javadoc executable in the path defined by the JAVA_HOME environment variable, in addition to other supported locations.
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.