SingingBush commented on PR #21:
URL: https://github.com/apache/commons-cli/pull/21#issuecomment-1568890088

   Recently I've been using the latest _maven-compiler-plugin_ and 
_maven-jar-plugin_ to support multi-release jars. This would be my preferred 
choice to dealing with both this issue and #35 / 
[CLI-299](https://issues.apache.org/jira/browse/CLI-299).
   
   See 
https://github.com/SingingBush/dubclient/blob/c698cf0bcdcfb287cfb61f2f17f1ce423b450bf3/pom.xml#L407-L448
 for an example of how to use a maven profile to compile the module-info into 
the project while still having the rest of the project be 
`<maven.compiler.source>1.8</maven.compiler.source>` (and target). 
   
   Re supporting Java 7; there's no need for any project to be supporting Java 
7 in 2023. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to