Skip to content

Cannot pass mbt build by using latest version 1.2.43 #1196

@Vector6662

Description

@Vector6662

Please provide the following info:

  • MBT Version: 1.2.43
  • OS Version: docker image devxci/mbtci-java21-node22
  • If possible, provide a link to the project: SAP internal project, if need please contact me then

Steps to Reproduce:

In Jenkins pipeline while using docker image devxci/mbtci-java21-node22: latest:

[2026-02-13T06:02:43.121Z] info  mtaBuild - Executing mta build call: "mbt build --mtar my-proj-srv.mtar --platform CF --source ./ --target /home/jenkins/agent/workspace/my-project --sbom-file-path sbom-gen/bom-mta.xml"
[2026-02-13T06:02:43.121Z] info  mtaBuild - running command: mbt build --mtar my-project.mtar --platform CF --source ./ --target /home/jenkins/agent/workspace/my-project_dev --sbom-file-path sbom-gen/bom-mta.xml
[2026-02-13T06:02:43.121Z] info  mtaBuild - [2026-02-13 06:02:42]  INFO Cloud MTA Build Tool version 1.2.43

There is the failure log:

[2026-02-13T06:10:33.378Z] info  mtaBuild - .[INFO] CycloneDX: Parameters
[2026-02-13T06:10:33.378Z] info  mtaBuild - [INFO] ------------------------------------------------------------------------
[2026-02-13T06:10:33.378Z] info  mtaBuild - [INFO] schemaVersion          : 1.4
[2026-02-13T06:10:33.378Z] info  mtaBuild - [INFO] includeBomSerialNumber : true
[2026-02-13T06:10:33.378Z] info  mtaBuild - [INFO] includeCompileScope    : true
[2026-02-13T06:10:33.378Z] info  mtaBuild - [INFO] includeProvidedScope   : true
[2026-02-13T06:10:33.378Z] info  mtaBuild - [INFO] includeRuntimeScope    : true
[2026-02-13T06:10:33.378Z] info  mtaBuild - [INFO] includeTestScope       : false
[2026-02-13T06:10:33.378Z] info  mtaBuild - [INFO] includeSystemScope     : true
[2026-02-13T06:10:33.378Z] info  mtaBuild - [INFO] includeLicenseText     : false
[2026-02-13T06:10:33.378Z] info  mtaBuild - [INFO] outputFormat           : xml
[2026-02-13T06:10:33.379Z] info  mtaBuild - [INFO] outputName             : proj.srv_1313606138060626.bom
[2026-02-13T06:10:33.379Z] info  mtaBuild - [INFO] outputReactorProjects  : true
[2026-02-13T06:10:33.379Z] info  mtaBuild - [INFO] ------------------------------------------------------------------------
[2026-02-13T06:10:33.379Z] info  mtaBuild - [INFO] CycloneDX: Resolving Dependencies
[2026-02-13T06:10:33.635Z] info  mtaBuild - [INFO] ------------------------------------------------------------------------
[2026-02-13T06:10:33.635Z] info  mtaBuild - [INFO] BUILD FAILURE
[2026-02-13T06:10:33.635Z] info  mtaBuild - [INFO] ------------------------------------------------------------------------
[2026-02-13T06:10:33.635Z] info  mtaBuild - [INFO] Total time:  2.968 s
[2026-02-13T06:10:33.635Z] info  mtaBuild - [INFO] Finished at: 2026-02-13T06:10:33Z
[2026-02-13T06:10:33.635Z] info  mtaBuild - [INFO] ------------------------------------------------------------------------
[2026-02-13T06:10:33.635Z] error mtaBuild - [ERROR] Failed to execute goal org.cyclonedx:cyclonedx-maven-plugin:2.7.5:makeAggregateBom (default-cli) on project proj-srv: Execution default-cli of goal org.cyclonedx:cyclonedx-maven-plugin:2.7.5:makeAggregateBom failed: Unsupported class file major version 65 -> [Help 1]

However this will not happen in version 1.2.34, mbt build will always pass. Therefore do you consider this a bug in the latest version?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions