[
https://issues.apache.org/jira/browse/LUCENE-10186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17430378#comment-17430378
]
Dawid Weiss commented on LUCENE-10186:
--------------------------------------
We actually explicitly skip those JARs from receiving the manifest:
{code}
// Apply the manifest to any JAR or WAR file created by any project,
// excluding those explicitly listed.
tasks.withType(Jar)
.matching { t -> !["sourcesJar", "javadocJar"].contains(t.name) }
{code}
> Maven artifacts built by gradle lack required META-INF content
> --------------------------------------------------------------
>
> Key: LUCENE-10186
> URL: https://issues.apache.org/jira/browse/LUCENE-10186
> Project: Lucene - Core
> Issue Type: Bug
> Components: general/build
> Reporter: Jan Høydahl
> Assignee: Dawid Weiss
> Priority: Major
>
> Spinoff from LUCENE-9997
> Turns out that the maven artifacts generated by gradle lack LICENSE and
> NOTICE files in META-INF, and also have empty MANIFEST.MF. Smoketester error:
> {code:java}
> RuntimeError: JAR file
> "/tmp/smoke_lucene_9.0.0_018642ff84f88a2438b32d6aca5d5d35f453e1fb_2/maven/org/apache/lucene/lucene-analysis-smartcn/9.0.0/lucene-analysis-smartcn-9.0.0-sources.jar"
> is missing META-INF/NOTICE.txt {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]