Skip to content

Commit

Permalink
[MJARSIGNER-62] Enhanced documentation for usage of arguments (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
schedin authored Dec 11, 2023
1 parent 26c070d commit 7e47f46
Showing 1 changed file with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,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

0 comments on commit 7e47f46

Please sign in to comment.