[jira] [Commented] (NUTCH-2969) Javadoc: Javascript search is not working when built on JDK 11
[ https://issues.apache.org/jira/browse/NUTCH-2969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17583018#comment-17583018 ] Hudson commented on NUTCH-2969: --- SUCCESS: Integrated in Jenkins build Nutch ยป Nutch-trunk #86 (See [https://ci-builds.apache.org/job/Nutch/job/Nutch-trunk/86/]) NUTCH-2969 Javadoc: Javascript search is not working when built on JDK 11 (snagel: [https://github.com/apache/nutch/commit/ffe0598925fcb27ac253f61d86106b33a260a979]) * (edit) build.xml > Javadoc: Javascript search is not working when built on JDK 11 > -- > > Key: NUTCH-2969 > URL: https://issues.apache.org/jira/browse/NUTCH-2969 > Project: Nutch > Issue Type: Bug > Components: build, documentation >Affects Versions: 1.19 >Reporter: Sebastian Nagel >Assignee: Sebastian Nagel >Priority: Major > Fix For: 1.19 > > > Newer Java versions create a nice Javascript-backed search box on the > Javadocs. When built on JDK 11 clicking on search results leads to 404 > results with a {{/undefined/}} path element in the URL. This is caused by > [JDK-8215291|https://bugs.openjdk.org/browse/JDK-8215291] - Nutch does not > use Java modules. > The issue can be solved by adding {{--no-module-directories}} as argument to > the {{javadoc}} command. However, this only works for JDK 11 and will break > the javadoc build for later JDK versions, see > [JDK-8215582|https://bugs.openjdk.org/browse/JDK-8215582]. > See also > - > https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url > - https://github.com/crawler-commons/crawler-commons/pull/380 > Notes: > - seen while preparing a release candidate for 1.19 (will quickly commit the > solution) > - adding {{--no-module-directories}} should be conditional for JDK 11 only > -* ant: see [condition|https://ant.apache.org/manual/Tasks/condition.html] > -* gradle: > {noformat} > if (JavaVersion.current().isJava11()) { > options.addBooleanOption("-no-module-directories", true) > } > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (NUTCH-2969) Javadoc: Javascript search is not working when built on JDK 11
[ https://issues.apache.org/jira/browse/NUTCH-2969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17582982#comment-17582982 ] ASF GitHub Bot commented on NUTCH-2969: --- sebastian-nagel merged PR #749: URL: https://github.com/apache/nutch/pull/749 > Javadoc: Javascript search is not working when built on JDK 11 > -- > > Key: NUTCH-2969 > URL: https://issues.apache.org/jira/browse/NUTCH-2969 > Project: Nutch > Issue Type: Bug > Components: build, documentation >Affects Versions: 1.19 >Reporter: Sebastian Nagel >Assignee: Sebastian Nagel >Priority: Major > Fix For: 1.19 > > > Newer Java versions create a nice Javascript-backed search box on the > Javadocs. When built on JDK 11 clicking on search results leads to 404 > results with a {{/undefined/}} path element in the URL. This is caused by > [JDK-8215291|https://bugs.openjdk.org/browse/JDK-8215291] - Nutch does not > use Java modules. > The issue can be solved by adding {{--no-module-directories}} as argument to > the {{javadoc}} command. However, this only works for JDK 11 and will break > the javadoc build for later JDK versions, see > [JDK-8215582|https://bugs.openjdk.org/browse/JDK-8215582]. > See also > - > https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url > - https://github.com/crawler-commons/crawler-commons/pull/380 > Notes: > - seen while preparing a release candidate for 1.19 (will quickly commit the > solution) > - adding {{--no-module-directories}} should be conditional for JDK 11 only > -* ant: see [condition|https://ant.apache.org/manual/Tasks/condition.html] > -* gradle: > {noformat} > if (JavaVersion.current().isJava11()) { > options.addBooleanOption("-no-module-directories", true) > } > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (NUTCH-2969) Javadoc: Javascript search is not working when built on JDK 11
[ https://issues.apache.org/jira/browse/NUTCH-2969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17582978#comment-17582978 ] Markus Jelsma commented on NUTCH-2969: -- Nice! > Javadoc: Javascript search is not working when built on JDK 11 > -- > > Key: NUTCH-2969 > URL: https://issues.apache.org/jira/browse/NUTCH-2969 > Project: Nutch > Issue Type: Bug > Components: build, documentation >Affects Versions: 1.19 >Reporter: Sebastian Nagel >Assignee: Sebastian Nagel >Priority: Major > Fix For: 1.19 > > > Newer Java versions create a nice Javascript-backed search box on the > Javadocs. When built on JDK 11 clicking on search results leads to 404 > results with a {{/undefined/}} path element in the URL. This is caused by > [JDK-8215291|https://bugs.openjdk.org/browse/JDK-8215291] - Nutch does not > use Java modules. > The issue can be solved by adding {{--no-module-directories}} as argument to > the {{javadoc}} command. However, this only works for JDK 11 and will break > the javadoc build for later JDK versions, see > [JDK-8215582|https://bugs.openjdk.org/browse/JDK-8215582]. > See also > - > https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url > - https://github.com/crawler-commons/crawler-commons/pull/380 > Notes: > - seen while preparing a release candidate for 1.19 (will quickly commit the > solution) > - adding {{--no-module-directories}} should be conditional for JDK 11 only > -* ant: see [condition|https://ant.apache.org/manual/Tasks/condition.html] > -* gradle: > {noformat} > if (JavaVersion.current().isJava11()) { > options.addBooleanOption("-no-module-directories", true) > } > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (NUTCH-2969) Javadoc: Javascript search is not working when built on JDK 11
[ https://issues.apache.org/jira/browse/NUTCH-2969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17582974#comment-17582974 ] ASF GitHub Bot commented on NUTCH-2969: --- sebastian-nagel opened a new pull request, #749: URL: https://github.com/apache/nutch/pull/749 - pass --no-module-directories to javadoc target when building on JDK 11 - remove obsolete condition to fail javadoc builds on JDK 7u25 and earlier > Javadoc: Javascript search is not working when built on JDK 11 > -- > > Key: NUTCH-2969 > URL: https://issues.apache.org/jira/browse/NUTCH-2969 > Project: Nutch > Issue Type: Bug > Components: build, documentation >Affects Versions: 1.19 >Reporter: Sebastian Nagel >Assignee: Sebastian Nagel >Priority: Major > Fix For: 1.19 > > > Newer Java versions create a nice Javascript-backed search box on the > Javadocs. When built on JDK 11 clicking on search results leads to 404 > results with a {{/undefined/}} path element in the URL. This is caused by > [JDK-8215291|https://bugs.openjdk.org/browse/JDK-8215291] - Nutch does not > use Java modules. > The issue can be solved by adding {{--no-module-directories}} as argument to > the {{javadoc}} command. However, this only works for JDK 11 and will break > the javadoc build for later JDK versions, see > [JDK-8215582|https://bugs.openjdk.org/browse/JDK-8215582]. > See also > - > https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url > - https://github.com/crawler-commons/crawler-commons/pull/380 > Notes: > - seen while preparing a release candidate for 1.19 (will quickly commit the > solution) > - adding {{--no-module-directories}} should be conditional for JDK 11 only > -* ant: see [condition|https://ant.apache.org/manual/Tasks/condition.html] > -* gradle: > {noformat} > if (JavaVersion.current().isJava11()) { > options.addBooleanOption("-no-module-directories", true) > } > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)