You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Daniel Collins (JIRA)" <ji...@apache.org> on 2019/04/01 09:36:01 UTC

[jira] [Commented] (SOLR-11579) Building Solr using Java 9 and Maven doesn't work

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

Daniel Collins commented on SOLR-11579:
---------------------------------------

Ok, using 

openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)

On Linux, the javadoc target works fine. However, on Windows (as above), it doesn't work with the existing plugin version.  Switching the plugin version to 3.x seems to work, I'll update the patch for that.

> 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.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T19:41:47+01:00)
> Maven home: C:\Users\CollinsDaniel\Utils\apache-maven-3.6.0\bin\..
> Java version: 11.0.2, vendor: Oracle Corporation, runtime: C:\Users\CollinsDaniel\Utils\jdk-11.0.2
> Default locale: en_GB, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
> openjdk version "11.0.2" 2019-01-15
> OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
> OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org