You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Michael Bouschen (Jira)" <ji...@apache.org> on 2026/02/24 19:27:00 UTC

[jira] [Resolved] (JDO-859) Build failure with maven 3.9.12 when running Java 8 or Java 11

     [ https://issues.apache.org/jira/browse/JDO-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Bouschen resolved JDO-859.
----------------------------------
    Resolution: Fixed

> Build failure with maven 3.9.12 when running Java 8 or Java 11
> --------------------------------------------------------------
>
>                 Key: JDO-859
>                 URL: https://issues.apache.org/jira/browse/JDO-859
>             Project: JDO
>          Issue Type: Task
>          Components: api, tck
>    Affects Versions: JDO 3.2.1
>            Reporter: Michael Bouschen
>            Priority: Major
>
> With maven 3.9.12 we see the following build failures:
>  * When running Java 11 building the api submodule fails:
> {code:java}
>  Failed to execute goal org.spdx:spdx-maven-plugin:1.0.3:createSPDX (build-sbom-spdx) on project jdo-api:
>     Error:  The plugin org.spdx:spdx-maven-plugin:1.0.3 has unmet prerequisites:
>     Error:  Required Java version 17 is not met by current version: 11.0.30 {code}
>   * When running Java 8 building the tck submodule fails:
> {code:java}
>  Failed to execute goal org.apache.jdo:jdo-exectck:3.3-SNAPSHOT:help (default) on project jdo-tck:
>     Error:  The plugin org.apache.jdo:jdo-exectck:3.3-SNAPSHOT has unmet prerequisites:
>     Error:  Required Java version 11 is not met by current version: 1.8.0_482 {code}
> It is not clear where the required Java version is specified.
>  
> From version 3.9.12 on maven checks the required Java version for plugins and fails if it is not met.  We should be able to build api and tck with maven 3.9.12, so we have to figure out how to specify the required Java version for plugins.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)