You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Keir (JIRA)" <ji...@apache.org> on 2017/11/07 11:10:00 UTC

[jira] [Commented] (MCOMPILER-315) "Older projects with module-info" documentation does not work

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

Keir commented on MCOMPILER-315:
--------------------------------

Would be also good to know if the executions mentioned (default-compile, base-compile) has special semantics? A quick google suggests default-compile does have special meaning however it doesn't seem to be referred to anywhere in official docs.

> "Older projects with module-info" documentation does not work
> -------------------------------------------------------------
>
>                 Key: MCOMPILER-315
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-315
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.7.0
>            Reporter: Keir
>         Attachments: pom.xml
>
>
> I copied and pasted the 2nd snipped from https://maven.apache.org/plugins/maven-compiler-plugin/examples/module-info.html , amending it to refer to Java 8 rather than 6, however the jar produced by mvn package is still only consumable by Java 9 as all classes appear to have been compiled to its version. Is there something else I need to do to get this to work? If so, the documentation could be clearer. Or have I misunderstood something? I have attached the pom in question.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)