Menu

#359 java 8 version of 2.6.0 is not available on Maven central

open-fixed
deployment (1)
9
2022-07-28
2021-04-09
Mark
No

Please publish the java 8 version of 2.6.0 on Maven central, currently only the Java 11 version is available to Maven: https://repo1.maven.org/maven2/org/hsqldb/hsqldb/

there are various ways to do this. eg

  1. publish the version with a jre suffix eg 2.6.0.jre8 like microsoft and postgres do: https://repo1.maven.org/maven2/com/microsoft/sqlserver/mssql-jdbc/ / https://repo1.maven.org/maven2/org/postgresql/postgresql/
  2. publish a new artifact with the API level in the name, eg "hsqldb8" version 2.6.0 like Oracle does https://repo1.maven.org/maven2/com/oracle/ojdbc/
  3. publish an artifact with a classifier that has the java API level

  4. is probabbly easiest but causes some issues with automatic upgrades as Maven versioning logic determines 2.6.0.jre8 to be a higher version than 2.6.0 and 2.6.0.jre11 to be a higher version than 2.6.0.jre8

Discussion

  • Fred Toussi

    Fred Toussi - 2021-04-12

    Version 2.6.0 for JDK 8 has been released to Maven under version number 2.5.2, which is also the version in the Jar manifests. The version reported inside HSQLDB is 2.6.0.

     
  • Mark

    Mark - 2021-04-19

    thanks for pushing 2.5.2

    I would still like to make the case for having some form of identifier at the Maven level/in the repository metadata.

     
  • Fred Toussi

    Fred Toussi - 2022-07-28
    • status: open --> open-fixed
    • assigned_to: Fred Toussi
     
  • Fred Toussi

    Fred Toussi - 2022-07-28

    Supported from version 2.7.0. There is a -jdk8 qualifier such as hsqldb-2.7.0-jdk8.jar

     

Log in to post a comment.

MongoDB Logo MongoDB