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

Plamen Totev commented on MCOMPILER-322:
----------------------------------------

[~rfscholte] I was just going to create a PR for this one. I'm saying that just 
in case you haven't started working on it. It is a small change that sets the 
module version to the project version if {{module-info.java}} is present in the 
sources.

> Set the JPMS module version
> ---------------------------
>
>                 Key: MCOMPILER-322
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-322
>             Project: Maven Compiler Plugin
>          Issue Type: Improvement
>            Reporter: Plamen Totev
>            Assignee: Robert Scholte
>            Priority: Minor
>
> 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
(v7.6.3#76005)

Reply via email to