Mailing List Archive

Jar manifest target versions
Hi all,

I’m testing out snapshot versions of Lucene’s main branch, and I noticed that the jar manifests produced by running mavenToLocalFolder have the following entries:

X-Compile-Source-JDK: 15
X-Compile-Target-JDK: 15
X-Build-JDK: 15.0.1 (Oracle Corporation 15.0.1+9-18)
The java min version for lucene 9 will be Java 11 though. Is there some configuration missing that will pass the target java version to javac as part of the build?

- Alan
Re: Jar manifest target versions [ In reply to ]
Hi Alan,

Hmm... these should be filled with the minJavaVersion declared in the
top-level build.gradle. Everything looks ok to me so it's very likely
some kind of racey evaluation before these properties get set
properly. I'll take a look.

https://issues.apache.org/jira/browse/LUCENE-10042

Dawid

On Fri, Jul 30, 2021 at 3:24 PM Alan Woodward <romseygeek@gmail.com> wrote:
>
> Hi all,
>
> I’m testing out snapshot versions of Lucene’s main branch, and I noticed that the jar manifests produced by running mavenToLocalFolder have the following entries:
>
> X-Compile-Source-JDK: 15
> X-Compile-Target-JDK: 15
> X-Build-JDK: 15.0.1 (Oracle Corporation 15.0.1+9-18)
>
> The java min version for lucene 9 will be Java 11 though. Is there some configuration missing that will pass the target java version to javac as part of the build?
>
> - Alan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org