I think in order to publish multiple versions we would need to have different artifact names, like Scala uses (e.g. _2.12).
It probably also wouldn't help. If we have to remain compatible with JDK 8, then publishing some artifacts for JDK 11 would still mean only using JDK 8 features. The source version is what we care about more, so if we can't change it then we can't really do anything else. On Sat, Apr 22, 2023 at 10:12 AM Jack Ye <yezhao...@gmail.com> wrote: > Would it be an option to use --release flag to control the release target > version, and publish 2 versions of the library to Maven, 1 for JDK8 and 1 > for JDK11? > > Jack > > On Fri, Apr 21, 2023 at 5:17 PM Ryan Blue <b...@tabular.io> wrote: > >> Looks like Hive isn't quite done migrating to Java 11: >> https://issues.apache.org/jira/browse/HIVE-22415 >> >> I'm not sure whether that's still a problem, but we currently don't build >> Hive 3 support unless we're using Java 8. That makes me think that dropping >> JDK 8 support would probably also make it a lot more difficult for Hive to >> do releases based on Iceberg. Even with some of the integration moving into >> the Hive project, if we started shipping JDK 11 Jars then Hive would no >> longer be able to update. >> >> Ryan >> >> On Fri, Apr 21, 2023 at 5:02 PM Anton Okolnychyi >> <aokolnyc...@apple.com.invalid> wrote: >> >>> Sorry, I wasn’t clear that I also imply dropping JDK 8 (unless there is >>> a good reason to keep it?). >>> >>> - Anton >>> >>> On Apr 21, 2023, at 4:59 PM, Ryan Blue <b...@tabular.io> wrote: >>> >>> Would we also drop support for JDK 8? >>> >>> On Fri, Apr 21, 2023 at 4:58 PM Anton Okolnychyi < >>> aokolnyc...@apple.com.invalid> wrote: >>> >>>> Following up on the discussion in the Spark 2.4 thread, shall we move >>>> to JDK 11 for releases as Spark 2.4 support has been dropped? >>>> >>>> - Anton >>> >>> >>> >>> -- >>> Ryan Blue >>> Tabular >>> >>> >>> >> >> -- >> Ryan Blue >> Tabular >> > -- Ryan Blue Tabular