[ 
https://issues.apache.org/jira/browse/LUCENE-8738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16818250#comment-16818250
 ] 

Uwe Schindler commented on LUCENE-8738:
---------------------------------------

My quick test fixed the issue (for Lucene):

{code:xml}
diff --git a/lucene/module-build.xml b/lucene/module-build.xml
index 2853efb..29c639c 100644
--- a/lucene/module-build.xml
+++ b/lucene/module-build.xml
@@ -83,6 +83,10 @@
            <packageset dir="${src.dir}"/>
         </sources>
       </invoke-javadoc>
+      <replaceregexp file="${javadoc.dir}/${name}/element-list" byline="true">
+        <regexp 
pattern="^(org\.apache\.lucene|org\.apache\.lucene\.analysis|org\.apache\.lucene\.analysis\.standard|org\.apache\.lucene\.analysis\.tokenattributes|org\.apache\.lucene\.codecs|org\.apache\.lucene\.codecs\.blocktree|org\.apache\.lucene\.codecs\.compressing|org\.apache\.lucene\.codecs\.lucene50|org\.apache\.lucene\.codecs\.lucene60|org\.apache\.lucene\.codecs\.lucene70|org\.apache\.lucene\.codecs\.lucene80|org\.apache\.lucene\.codecs\.perfield|org\.apache\.lucene\.document|org\.apache\.lucene\.geo|org\.apache\.lucene\.index|org\.apache\.lucene\.search|org\.apache\.lucene\.search\.similarities|org\.apache\.lucene\.search\.spans|org\.apache\.lucene\.store|org\.apache\.lucene\.util|org\.apache\.lucene\.util\.automaton|org\.apache\.lucene\.util\.bkd|org\.apache\.lucene\.util\.fst|org\.apache\.lucene\.util\.graph|org\.apache\.lucene\.util\.mutable|org\.apache\.lucene\.util\.packed)$"/>
+        <substitution expression=""/>
+      </replaceregexp>
       <jarify basedir="${javadoc.dir}/${name}" 
destfile="${build.dir}/${final.name}-javadoc.jar"/>
     </sequential>
   </macrodef>
{code}

I just need to make the regex more dynamic....

> Bump minimum Java version requirement to 11
> -------------------------------------------
>
>                 Key: LUCENE-8738
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8738
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: general/build
>            Reporter: Adrien Grand
>            Priority: Minor
>              Labels: Java11
>             Fix For: master (9.0)
>
>         Attachments: LUCENE-8738-solr-CoreCloseListener.patch
>
>
> See vote thread for reference: https://markmail.org/message/q6ubdycqscpl43aq.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to