desruisseaux commented on PR #508:
URL: https://github.com/apache/maven-jar-plugin/pull/508#issuecomment-5269543805

   Thanks! I cherry-picked the commits with modifications:
   
   1. Rearranged the `if` and `else` blocks for avoiding duplicated tests and 
calls of `Runtime.version().feature()`. Omitted the part of the log message 
saying that the JAR was created successfully on JDK 17/18 for consistency with 
the JDK 19+ branch which emitted no message. Edited the comments and commit 
message with minor clarifications (the validation issue was not only in the 
context of module source hierarchy projects) and omission of details about JDK 
internal in commit (kept in commit message), replaced by links to JDK issue 
tracker.
   2. The commit repairs the problem after it happened (directory handled as 
the base version when actually it was another version). I think that the root 
cause of the problem is that the `Archive` constructor had no `version` 
argument. I tried a correction of that root cause instead. We will see with 
GitHub action if it works.
   
   Will continue with other commits tonight or tomorrow.


-- 
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