Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MJARSIGNER-62] Enhanced documentation for usage of arguments #17

Merged
merged 1 commit into from
Dec 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,21 @@ public abstract class AbstractJarsignerMojo extends AbstractMojo {
private String[] excludes = {};

/**
* List of additional arguments to append to the jarsigner command line.
* List of additional arguments to append to the jarsigner command line. Each argument should be specified as a
* separate element. For example, to specify the name of the signed jar, two elements are needed:
* <ul>
* <li>Alternative using the command line: {@code -Djarsigner.arguments="-signedjar,my-project_signed.jar"}</li>
* <li>Alternative using the Maven POM configuration:</li>
* </ul>
* <pre>
* {@code
* <configuration>
* <arguments>
* <argument>-signedjar</argument>
* <argument>my-project_signed.jar</argument>
* </arguments>
* </configuration>
* }</pre>
*/
@Parameter(property = "jarsigner.arguments")
private String[] arguments;
Expand Down