[ https://issues.apache.org/jira/browse/SOLR-11579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16806017#comment-16806017 ]
Daniel Collins edited comment on SOLR-11579 at 3/30/19 11:02 PM: ----------------------------------------------------------------- mvn install seems okay on master with openjdk "11.0.2" for windows) so withdrawing that issue. mvn javadoc:jar (on master with openjdk version "11.0.2" for windows) still fails {{[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (default-cli) on project lucene-core: MavenReportException: Error while creating archive:}} {{[ERROR] Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in [http://docs.oracle.com/javase/7/docs/api/] are in the unnamed module.}}}} {{[ERROR]}} {{[ERROR] Command line was: C:\Users\CollinsDaniel\Utils\jdk-11.0.2\bin\javadoc.exe @options @packages}} {{[ERROR]}} {{[ERROR] Refer to the generated Javadoc files in 'C:\Users\CollinsDaniel\Work\3rdparty\lucene-solr-7\maven-build\lucene\core\src\java\target\apidocs' dir.}} was (Author: dancollins): mvn install seems okay on master with openjdk "11.0.2" for windows) so withdrawing that issue. mvn javadoc:jar (on master with openjdk version "11.0.2" for windows) still fails {{[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (default-cli) on project lucene-core: MavenReportException: Error while creating archive:}} {{ [ERROR] Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in [http://docs.oracle.com/javase/7/docs/api/] are in the unnamed module.}} {{ [ERROR]}} {{ [ERROR] Command line was: C:\Users\CollinsDaniel\Utils\jdk-11.0.2\bin\javadoc.exe @options @packages}} {{ [ERROR]}} {{ [ERROR] Refer to the generated Javadoc files in 'C:\Users\CollinsDaniel\Work\3rdparty\lucene-solr-7\maven-build\lucene\core\src\java\target\apidocs' dir.}} > Building Solr using Java 9 and Maven doesn't work > ------------------------------------------------- > > Key: SOLR-11579 > URL: https://issues.apache.org/jira/browse/SOLR-11579 > Project: Solr > Issue Type: New Feature > Security Level: Public(Default Security Level. Issues are Public) > Components: Build > Affects Versions: 8.0 > Environment: Apache Maven 3.5.0 > (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T20:39:06+01:00) > Maven home: /Users/dcollins53/Utils/apache-maven-3.5.0 > Java version: 9, vendor: Oracle Corporation > Java home: /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home > Default locale: en_GB, platform encoding: UTF-8 > OS name: "mac os x", version: "10.12.6", arch: "x86_64", family: "mac" > java version "9" > Java(TM) SE Runtime Environment (build 9+181) > Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode) > Reporter: Daniel Collins > Priority: Minor > Labels: maven, maven-enforcer-plugin > Attachments: SOLR-11579_1, SOLR-11579_2, SOLR-11579_4 > > > I'm calling this minor as I don't believe we officially support Java 9 (but > correct me if I'm wrong), and I've only tried on master (again, I don't > *think* branch_7x is setup for Java 9?) > Several issues/notes: > # -enforcer plugin breaks if you try to do mvn install- > # javadoc plugin breaks if you try to do mvn javadoc:jar > # warnings from groovy-maven-plugin (TODO) > # a lot of the maven plugins are quite old > # forbiddenapis has some issues with Solr (I assume due to module split-up, > javax is no longer part of core) (TODO) > I have patches for 1, 2, and 4. Still working on 3 and 5. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org