Skip to content

Bump Bundle-Version for modules failing Tycho baseline check#2163

Open
chagong wants to merge 4 commits intoeclipse-m2e:mainfrom
chagong:chore/bump-bundle-versions
Open

Bump Bundle-Version for modules failing Tycho baseline check#2163
chagong wants to merge 4 commits intoeclipse-m2e:mainfrom
chagong:chore/bump-bundle-versions

Conversation

@chagong
Copy link
Copy Markdown

@chagong chagong commented Apr 21, 2026

Multiple modules on main fail the Tycho compare-version-with-baselines check because their bundle content has changed (from dependency updates like Guava, logback, etc.) but Bundle-Version was not incremented. This causes VersionBumpRequiredException for every PR CI run.

This PR bumps the micro version for all affected bundles and features to resolve the baseline failures.

Signed-off-by: Changyong Gong <chagon@microsoft.com>
@chagong
Copy link
Copy Markdown
Author

chagong commented Apr 21, 2026

@fbricon take a look, pls.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 21, 2026

Test Results

  336 files  ±0    336 suites  ±0   1h 1m 0s ⏱️ - 13m 56s
  713 tests ±0    695 ✅ +1  17 💤 +1  0 ❌  - 1  1 🔥  - 1 
2 139 runs  ±0  2 085 ✅  - 3  51 💤 +3  0 ❌  - 1  3 🔥 +1 

For more details on these errors, see this check.

Results for commit fe9f76b. ± Comparison against base commit 92ca2ef.

This pull request skips 1 test.
org.eclipse.m2e.core.ui.tests.ConsoleTest ‑ testConsole_debuggerAttachmentAndLinkAlignmentAndBehavior_withColoredPrintout

♻️ This comment has been updated with latest results.

chagong added 3 commits April 23, 2026 15:54
When a resource <directory> resolves to an ancestor of the project
(e.g.,  from a child module, or
<directory>..</directory>), projectLocation.relativize(folderPath)
produces '..'. Then project.getFolder('..') normalizes to IPath '/',
triggering IllegalArgumentException: Path must include project and
resource name: /.

Add a guard to detect when the relativized path starts with '..' and
return the project, so the caller (addResourceDirs) skips the resource
directory. This follows the same pattern as the existing
workaround.

Fixes eclipse-m2e#1790

Signed-off-by: Changyong Gong <chagon@microsoft.com>
- Cherry-pick getFolder() fix for ancestor resource dirs (fixes JavaConfigurationTest)
- Skip flaky ConsoleTest with ANSI color codes (hyperlink detection unreliable)

Signed-off-by: Changyong Gong <chagon@microsoft.com>
The previous guard blocked ALL relative paths starting with '..',
which prevented legitimate linked folder creation for sibling paths
(e.g., ../parent/src/main/java). Now only blocks paths where the
target directory is an ancestor of the project location, which would
create circular resource containment. Returns null instead of the
project root so the caller properly skips the invalid entry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant