desruisseaux commented on issue #495:
URL:
https://github.com/apache/maven-jar-plugin/issues/495#issuecomment-3517447094
Addition to above description:
## Benefits
This approach allows to add a `<toolArgs>` configuration option, similar to
the `<compilerArgs>` in the Maven Compiler Plugin. Such option allows
developers to use new tool arguments before they are supported by the plugin.
## Behavioural changes
After this refactor, the plugin automatically uses the
`META-INF/MANIFEST.MF` file found in the `classes` directory. Before this
refactor, the plugin used that file only if explicitly specified in the
`<manifestFile>` archive configuration. The previous policy was discussed in
#255. The new policy is a natural consequence of the way that the JAR plugin is
reimplemented, and also more useful in the context of multi-module (in Java
module sense) projects since each module could contain its own `MANIFEST.MF`
file.
--
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]