File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
src/main/java/org/apache/maven/plugins/jarsigner Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,21 @@ public abstract class AbstractJarsignerMojo extends AbstractMojo {
145
145
private String [] excludes = {};
146
146
147
147
/**
148
- * List of additional arguments to append to the jarsigner command line.
148
+ * List of additional arguments to append to the jarsigner command line. Each argument should be specified as a
149
+ * separate element. For example, to specify the name of the signed jar, two elements are needed:
150
+ * <ul>
151
+ * <li>Alternative using the command line: {@code -Djarsigner.arguments="-signedjar,my-project_signed.jar"}</li>
152
+ * <li>Alternative using the Maven POM configuration:</li>
153
+ * </ul>
154
+ * <pre>
155
+ * {@code
156
+ * <configuration>
157
+ * <arguments>
158
+ * <argument>-signedjar</argument>
159
+ * <argument>my-project_signed.jar</argument>
160
+ * </arguments>
161
+ * </configuration>
162
+ * }</pre>
149
163
*/
150
164
@ Parameter (property = "jarsigner.arguments" )
151
165
private String [] arguments ;
You can’t perform that action at this time.
0 commit comments