davsclaus opened a new pull request, #31294:
URL: https://github.com/apache/camel/pull/31294

   _Claude Code on behalf of davsclaus_
   
   [CAMEL-28072](https://issues.apache.org/jira/browse/CAMEL-28072)
   
   `camel-package:update-camel-releases` read 
`src/main/resources/org/apache/camel/catalog/releases/old-camel-releases.json` 
relative to the working directory instead of the project base directory. Run 
with `-pl` from the root of the repository, as the release guide documents and 
as the weekly `sync-catalog-website.yml` workflow (CAMEL-27347) does, it failed 
with:
   
   ```
   java.nio.file.NoSuchFileException: 
src/main/resources/org/apache/camel/catalog/releases/old-camel-releases.json
   ```
   
   The workflow has failed on main, camel-4.22.x and camel-4.18.x on every run 
since it was added (2026-11-23 and 2026-11-30), so no sync PR was opened.
   
   - The old releases are now read from `project.getBasedir()`.
   - `UpdateCamelReleasesMojoTest` loads them from a `@TempDir` base directory 
that is not the working directory.
   - Checked by hand: `./mvnw -pl catalog/camel-catalog 
camel-package:update-security-advisories camel-package:update-camel-releases` 
from the root now passes (192 advisories, 203 Camel and 93 Camel Quarkus 
releases).
   
   Labelled `port/camel-4.22.x` and `port/camel-4.18.x`: the same line is on 
both LTS branches, and the workflow runs `update-camel-releases` there too.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_016Y4dDhew8iuyqNH37V5FiU
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to