Skip to content

fix: resolve apis-bom build failure, apis-bom:3.0.0 not found, JUnit version missing (fixes #74)#76

Open
Nakshatra480 wants to merge 1 commit intohyphae:add-license-1from
Nakshatra480:fix/issue-74-apis-bom-build-failure
Open

fix: resolve apis-bom build failure, apis-bom:3.0.0 not found, JUnit version missing (fixes #74)#76
Nakshatra480 wants to merge 1 commit intohyphae:add-license-1from
Nakshatra480:fix/issue-74-apis-bom-build-failure

Conversation

@Nakshatra480
Copy link

@Nakshatra480 Nakshatra480 commented Jan 24, 2026

Summary

Fixes #74: Build fails when Maven tries to pull apis-bom during build (apis-bom:3.0.0 not found in Maven Central).

Problem

  • Non-resolvable import POM: apis-common imports jp.co.sony.csl.dcoes.apis:apis-bom:3.0.0 via ${project.version}, but that BOM is not in Maven Central (it is built and installed locally).
  • Missing JUnit version: Because the BOM import fails, dependency management is not applied, so junit:junit has no version and the build fails with 'dependencies.dependency.version' for junit:junit:jar is missing.

Solution

  • Use apis-bom version 3.4.1 in apis-common's dependencyManagement instead of ${project.version} (3.0.0), so the BOM resolved from the local repo matches the installed apis-bom and JUnit gets its version from the BOM.
  • Add a fixes/ directory with the corrected apis-common pom.xml.
  • Update the Makefile to:
    • Apply the fix automatically before building apis-common (new apply-apis-common-fix target).
    • Clone apis-bom and apis-common only if the directory is missing, so repeated builds work.

Changes

  • fixes/apis-common-pom.xmlapis-common POM with apis-bom version set to 3.4.1.
  • Makefile – Clone-if-missing for apis-bom / apis-common, apply-apis-common-fix target, and build-apis-common updated to use it.

Verification

  • make build-apis-bom then make build-apis-common (or make build) completes successfully.
  • apis-common tests pass (mvn clean install in apis-common/).

Closes #74.

…ing)

Use apis-bom 3.4.1 so the BOM resolves from local repo and JUnit gets its version. Add fixes/apis-common-pom.xml and Makefile changes to apply it before building. Resolves hyphae#74.

Signed-off-by: Nakshatra Sharma <nakshatra.sharma3012@gmail.com>
@Nakshatra480 Nakshatra480 force-pushed the fix/issue-74-apis-bom-build-failure branch from a9843ef to 297e433 Compare January 24, 2026 11:04
@Nakshatra480
Copy link
Author

@axmsoftware @AkarshSahlot changes are ready, pls review it

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.

Build fails when Maven tries to pull apis-bom during build : apis-bom:3.0.0 not found in Maven Central

1 participant