Update tycho.version to v2.7.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
org.eclipse.tycho:tycho-p2-plugin (source) | build | minor |
2.6.0 -> 2.7.0
|
org.eclipse.tycho.extras:tycho-buildtimestamp-jgit (source) | build | minor |
2.6.0 -> 2.7.0
|
org.eclipse.tycho:tycho-packaging-plugin (source) | build | minor |
2.6.0 -> 2.7.0
|
org.eclipse.tycho.extras:tycho-source-feature-plugin (source) | build | minor |
2.6.0 -> 2.7.0
|
org.eclipse.tycho:tycho-source-plugin (source) | build | minor |
2.6.0 -> 2.7.0
|
org.eclipse.tycho:target-platform-configuration (source) | build | minor |
2.6.0 -> 2.7.0
|
org.eclipse.tycho:tycho-maven-plugin (source) | build | minor |
2.6.0 -> 2.7.0
|
Release Notes
eclipse/tycho
v2.7.0
Tycho-Pomless will become a tycho-core extension
Tycho pomless has started as a small experiment in tycho-extras. Over time it has grown to a fully-fledged solution to build pde-based artifacts with less effort and nearly zero additional configuration.
Neverless, the name "pomless" was always a bit misleading, as actually we have reduced the number required poms to one 'main-pom' it is still not pomless and actually allows poms to be used where suitable. Because of this, an to not limit the usage to "pomless" with this version a new core-extension is available name 'tycho-build', that effectively does what tycho-extras-pomless does but in the context of 'core' and is open to further improvements (maybe some time offering an option to not needing a pom at all).
All that needs to be done is to replace the old
<extension>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pomless</artifactId>
<version>2.7.0</version>
</extension>
with
<extension>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-build</artifactId>
<version>2.7.0</version>
</extension>
--also-make
(-am
) and --also-make-dependents
(-amd
)
Tycho-specific Maven GraphBuilder to support The tycho-build
extension (see above) was updated with a custom org.apache.maven.graph.GraphBuilder
implementation.
Without this, the Maven options --also-make
(-am
) and --also-make-dependents
(-amd
) were not supported in a Tycho-based build, since only pom-dependencies were considered by Maven.
Using the custom GraphBuilder
Tycho is able to perform P2 dependency resolution early-on and supply Maven with an updated set of projects required for the build.
Mixed reactor build support
Previously Tycho has resolved pom considered dependencies as part of the initial Maven setup (before the actual build starts). This has led to the fact that it was not possible to mix projects that e.g. dynamically generate a manifest.
This was now changed and Tycho can now build mixed project setups. See this integration test as an example: https://github.com/eclipse/tycho/tree/master/tycho-its/projects/mixed.reactor
This slightly changes some of the behavior of previous pomDependencies=consider
:
- dependencies of pom considered items always have to be declared on the Maven level (either by the project using it or the dependency declaring it)
- pom considered items do not participate in the build-order computation as of the previous statement already ensure this
- if enabled, builds might fail later as projects are allowed to have incomplete requirements up until the
initialize
phase.
There is one restriction for such mixed setups, see: https://github.com/eclipse/tycho/issues/479
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.