jira-importer commented on issue #156:
URL: 
https://github.com/apache/maven-jar-plugin/issues/156#issuecomment-2956674093

   **[Nathan 
Revo](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=revoman)** 
commented
   
   I just spent 3 days trying to work around this problem.  Lots of frustration 
involved, and I want to know why Build-Jdk is defined inside maven-archiver.
   
   Also, why doesn't toolchains expose useful properties by default.  Version, 
home and architecture seem important to me.
   
   Our solution is to create a custom plugin that will call the javac binary 
with the -version argument and extract the version.  This value will be set as 
a maven property, which should be usable inside the pom.
   


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