fixes maven 3.10 issues with tycho
This commit is contained in:
1 parent
574f50b2b0
commit
ae7161842b
3 files changed
+10
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
-Dmaven.resolver.validation=mild
|
||||
@@ -36,6 +36,8 @@ Maven itself must run on JDK 25. Check the Java version in `mvn -version`; chang
|
||||
the target platform's JRE or a bundle manifest does not change Maven's JVM. For
|
||||
Eclipse Maven launches, select JDK 25 in the launch configuration's JRE tab.
|
||||
Maven 3.9.16 with JDK 25 is a validated combination for this repository.
|
||||
Maven 3.10.x needs the `maven.resolver.validation=mild` workaround in
|
||||
`.mvn/maven.config` while Tycho 5.0.4 injects nested jars with path classifiers.
|
||||
|
||||
The Tycho version is centralized in the root POM's `tycho-version` property.
|
||||
`.mvn/jvm.config` opens `sun.nio.ch` for JRuby used by documentation generation;
|
||||
|
||||
@@ -18,13 +18,19 @@ The viewer has the following features
|
||||
|
||||
To build the plugins the Eclipse SDK or PDE can be used.
|
||||
|
||||
The target platform uses Eclipse 2026-12 (currently a milestone) and a bundled
|
||||
The target platform uses Eclipse 2026-12 and a bundled
|
||||
Java 25 runtime. Run Maven with JDK 25 (`mvn -version`), then run `mvn verify`.
|
||||
For Eclipse launches, select JDK 25 and reload the target definition. The e4
|
||||
application and OPCoach preferences use Jakarta injection and lifecycle APIs.
|
||||
OPCoach reuses version 1.3.2 for its older Javax and newer Jakarta builds; refresh
|
||||
cached target artifacts when switching from the old target.
|
||||
|
||||
Maven 3.10.x validates artifact coordinates more strictly. Tycho 5.0.4 generates
|
||||
classifiers containing paths for nested bundle jars, so `.mvn/maven.config` uses
|
||||
`maven.resolver.validation=mild` until the upstream Tycho fix is released
|
||||
([Tycho #6399](https://github.com/eclipse-tycho/tycho/issues/6399)). This can produce
|
||||
coordinate-validation warnings for nested jars; Maven 3.9.16 remains an alternative.
|
||||
|
||||
Key Shortcuts
|
||||
=============
|
||||
|
||||
|
||||
Reference in new issue
Block a user