IBM Support

Maven Project Generation Fails with Dependency Resolution Errors When Using BAMOE 9.x Local Maven Repository

Troubleshooting


Problem

Users attempting to generate a sample Java application using the maven-archetype-quickstart template fail with dependency resolution errors, even though the BAMOE Maven repository is configured locally.

Symptom

When running the following Maven command mvn archetype:generate to generate a sample project, the build fails with errors like:

[ERROR] Could not find artifact com.ibm.icu:icu4j:jar:77.1 in ibm-bamoe-enterprise-maven-repository (http://localhost:8080/)

[ERROR] Could not find artifact org.codehaus.plexus:plexus-interactivity-api:jar:1.4 in ibm-bamoe-enterprise-maven-repository (http://localhost:8080/)

And the detailed stack trace shows:

org.eclipse.aether.transfer.ArtifactNotFoundException:

Could not find artifact com.ibm.icu:icu4j:jar:77.1 in ibm-bamoe-enterprise-maven-repository (http://localhost:8080/)

        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:422)

        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:244)

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFVHI5","label":"IBM Business Automation Manager Open Editions"},"ARM Category":[{"code":"a8m3p000000LRw0AAG","label":"Other"}],"ARM Case Number":"TS019510328","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.1.0;9.1.1;9.2.0"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
12 June 2025

UID

ibm17236095