[ https://issues.apache.org/jira/browse/MCOMPILER-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16572238#comment-16572238 ]
Plamen Totev commented on MCOMPILER-322: ---------------------------------------- I agree that should be the same as {{project.version}}. As a matter of fact when I start working on it I implemented it this way because I didn't saw a reason why it should be different value. Also I've added it for the test sources so it is consistent. > 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)