You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2018/11/21 09:32:00 UTC

[jira] [Commented] (MNG-6516) Build maven-mojo using Java9 fails

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

Karl Heinz Marbaise commented on MNG-6516:
------------------------------------------

The usage of java modules for a plugin does not makes sense, cause it's running inside Maven Core..apart from that can you please state which classes are the same in those artifacts ..? Which version of them are you using? 

> Build maven-mojo using Java9 fails
> ----------------------------------
>
>                 Key: MNG-6516
>                 URL: https://issues.apache.org/jira/browse/MNG-6516
>             Project: Maven
>          Issue Type: Bug
>          Components: Plugin API
>         Environment: java 9
>            Reporter: Matthias Fuchs
>            Priority: Major
>              Labels: java9, modules
>
> I'm upgrading my Java8 framework to Java9, but I have major problems upgrading my mojos (https://github.com/spot-next/spot-framework/tree/develop/spot-maven-plugin).
> The problem is that my dependecies maven-artifact a maven-core contain the same classes. This causes the java9 compiler to fail. It also seems that those libraries haven't been upgraded to use module-info.java or at least automatic module name in META-INF.
> Expected solution:
> restructure the libraries to conform to the java module system.



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