Skip to content

[GAL-391] Keep cached artifacts resolvable in offline provisioning wi… - #395

Merged
jfdenise merged 1 commit into
wildfly:mainfrom
rhusar:GAL-391
Oct 6, 2026
Merged

jfdenise merged 1 commit into
wildfly:mainfrom
rhusar:GAL-391

Conversation

@rhusar

@rhusar rhusar commented Oct 5, 2026

Copy link
Copy Markdown
Member

…th Maven Resolver 2

In offline mode the provision mojos resolved artifacts without any remote repositories. Maven Resolver 2 (bundled with Maven 3.10) only treats a cached artifact as available if the repository it was downloaded from is part of the request, so artifacts fetched earlier in the build failed with "present, but unavailable".

Pass the project remote repositories with an offline copy of the session instead, so cached artifacts remain available without network access.

https://redhat.atlassian.net/browse/GAL-391

…th Maven Resolver 2

In offline mode the provision mojos resolved artifacts without any remote
repositories. Maven Resolver 2 (bundled with Maven 3.10) only treats a
cached artifact as available if the repository it was downloaded from is
part of the request, so artifacts fetched earlier in the build failed with
"present, but unavailable".

Pass the project remote repositories with an offline copy of the session
instead, so cached artifacts remain available without network access.

https://redhat.atlassian.net/browse/GAL-391

Signed-off-by: Radoslav Husar <rhusar@ibm.com>
@rhusar
rhusar requested a review from jfdenise as a code owner October 5, 2026 15:19
@jfdenise
jfdenise merged commit 91cccae into wildfly:main Oct 6, 2026
6 checks passed
@jfdenise

jfdenise commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

@rhusar , Thank-you. Merged

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.

2 participants