Skip to content

not able to build EAP 8 image #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
StevenCane opened this issue Mar 14, 2025 · 1 comment
Open

not able to build EAP 8 image #205

StevenCane opened this issue Mar 14, 2025 · 1 comment

Comments

@StevenCane
Copy link

StevenCane commented Mar 14, 2025

Hi everyone,

Unfortunately, it’s currently not possible to build an EAP 8 image. After the build script fails, I see the following error in the logs:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for WildFly: Core Feature Pack Parent 21.0.11.Final-redhat-00001:
[INFO]
[INFO] WildFly: Core Feature Pack Parent .................. SUCCESS [02:12 min]
[INFO] WildFly Core: Feature Pack Common Resources ........ SUCCESS [ 49.725 s]
[INFO] WildFly Core: EE 10 API resources for Galleon Feature Packs SUCCESS [  1.351 s]
[INFO] WildFly Core: Common resources for Galleon Feature Packs SUCCESS [  0.053 s]
[INFO] WildFly: Core Galleon Pack ......................... FAILURE [02:15 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  05:19 min
[INFO] Finished at: 2025-03-13T12:28:57Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.wildfly.galleon-plugins:wildfly-galleon-maven-plugin:6.3.3.Final:build-feature-pack (feature-pack-build) on project wildfly-core-galleon-pack: Failed to resolve org.jboss:jboss-parent:pom:36: Cannot access jboss-eap (https://maven.repository.redhat.com/ga/) in offline mode and the artifact org.jboss:jboss-parent:pom:36 has not been downloaded from it before. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :wildfly-core-galleon-pack

Can you confirm whether the build works on your side?
I’ve encountered this issue with versions 8.0.0, 8.0.4, and "8.0.6".

Any suggestions?

@michael-kitchin
Copy link

michael-kitchin commented Mar 17, 2025

I'm not part of this project, but I can confirm this is happening in my builds for version 8.0.4.

These builds appeared to be working early last week, however.

My intention is to locally modify the src/settings.xml to rely on the offline repos RH provides.

Edit: Our workaround was to issue this prior to running the build-eap8.sh script:

mvn -s "eap-build/src/settings.xml" \
      "dependency:get" \
      "-DremoteRepositories=https://maven.repository.redhat.com/ga" \
      "-Dartifact=org.jboss:jboss-parent:36:pom"

This shouldn't be necessary based on the state of the repositories (org.jboss:jboss-parent:36:pom is and has been in the GA repo), but it does the trick.

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

No branches or pull requests

2 participants