[
https://issues.apache.org/jira/browse/CAMEL-28072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-28072.
---------------------------------
Resolution: Fixed
Fixed on main by https://github.com/apache/camel/pull/31294 (5c25a8ca673a).
Backports to camel-4.22.x and camel-4.18.x follow via the port labels.
_Claude Code on behalf of davsclaus_
> camel-catalog - update-camel-releases fails when run with -pl from the root,
> so the weekly website sync never runs
> ------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-28072
> URL: https://issues.apache.org/jira/browse/CAMEL-28072
> Project: Camel
> Issue Type: Bug
> Components: camel-catalog
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.25.0, 4.22.4, 4.18.7
>
>
> The {{camel-package:update-camel-releases}} goal reads
> {{src/main/resources/org/apache/camel/catalog/releases/old-camel-releases.json}}
> relative to the working directory instead of the project base directory. Run
> from the root of the repository with {{-pl}}, as the release guide documents
> and as the weekly {{sync-catalog-website.yml}} workflow does:
> {noformat}
> ./mvnw -pl catalog/camel-catalog camel-package:update-security-advisories
> camel-package:update-camel-releases
> {noformat}
> it fails with:
> {noformat}
> java.nio.file.NoSuchFileException:
> src/main/resources/org/apache/camel/catalog/releases/old-camel-releases.json
> {noformat}
> The weekly sync workflow (added in CAMEL-27347) has failed on main,
> camel-4.22.x and camel-4.18.x on every run since (2026-11-23 and 2026-11-30),
> so no sync PR was opened, and 55 new security advisories did not reach the
> catalog. It only works when the goal is run from inside
> {{catalog/camel-catalog}}.
> _Filed by Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)