[
https://issues.apache.org/jira/browse/MCOMPILER-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16244938#comment-16244938
]
Keir commented on MCOMPILER-315:
--------------------------------
Ok I was able to get it working, not sure exactly what was going wrong for me,
though would still be good to better understand default-compile and
base-compile.
> "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)