diff --git a/.mvn/maven.config b/.mvn/maven.config new file mode 100644 index 00000000..b743631b --- /dev/null +++ b/.mvn/maven.config @@ -0,0 +1 @@ +-Dmaven.resolver.validation=mild diff --git a/AGENTS.md b/AGENTS.md index faca7f4e..30dd6e68 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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; diff --git a/README.md b/README.md index 257f33d2..49367f88 100644 --- a/README.md +++ b/README.md @@ -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 =============