[
https://issues.apache.org/jira/browse/MCOMPILER-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956723#comment-17956723
]
Piotr Zygielo commented on MCOMPILER-322:
-----------------------------------------
I propose a way to opt-out in
[https://github.com/apache/maven-compiler-plugin/pull/331].
> Set the JPMS module version
> ---------------------------
>
> Key: MCOMPILER-322
> URL: https://issues.apache.org/jira/browse/MCOMPILER-322
> Project: Maven Compiler Plugin (Moved to GitHub Issues)
> Issue Type: Improvement
> Reporter: Plamen Totev
> Assignee: Robert Scholte
> Priority: Minor
> Fix For: 3.8.1
>
>
> The {{javac}} compiler (Java 9+) allows you to set the Java module version.
> It would be nice if the compiler plugin allows the user to set this value.
> The default value should be the project version.
> While it is true that the module version is not really used by JPMS, it would
> be nice if the modules created by Maven does have the version set. It could
> be useful for debugging for example.
>
> I'm not sure if we need the version only for the {{compile}} target or it
> useful for {{testCompile}} as well?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)