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

Michael Bouschen updated JDO-859:
---------------------------------
    Fix Version/s: JDO 3.2.2
                   JDO 3.3

> 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
>             Fix For: JDO 3.2.2, JDO 3.3
>
>
> 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)

Reply via email to