Modified: maven/website/components/plugins-archives/maven-jarsigner-plugin-LATEST/apidocs/org/apache/maven/plugins/jarsigner/JarsignerSignMojo.html ============================================================================== --- maven/website/components/plugins-archives/maven-jarsigner-plugin-LATEST/apidocs/org/apache/maven/plugins/jarsigner/JarsignerSignMojo.html (original) +++ maven/website/components/plugins-archives/maven-jarsigner-plugin-LATEST/apidocs/org/apache/maven/plugins/jarsigner/JarsignerSignMojo.html Tue Sep 3 16:39:49 2024 @@ -1,392 +1,338 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!-- NewPage --> -<html lang="en"> -<head> -<!-- Generated by javadoc --> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>JarsignerSignMojo (Apache Maven Jarsigner Plugin 3.0.0 API)</title> -<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> -<script type="text/javascript" src="../../../../../script.js"></script> -</head> -<body> -<script type="text/javascript"><!-- - try { - if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="JarsignerSignMojo (Apache Maven Jarsigner Plugin 3.0.0 API)"; - } - } - catch(err) { - } -//--> -var methods = {"i0":10,"i1":10,"i2":10}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; -var altColor = "altColor"; -var rowColor = "rowColor"; -var tableTab = "tableTab"; -var activeTableTab = "activeTableTab"; -</script> -<noscript> -<div>JavaScript is disabled on your browser.</div> -</noscript> -<!-- ========= START OF TOP NAVBAR ======= --> -<div class="topNav"><a name="navbar.top"> -<!-- --> -</a> -<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> -<a name="navbar.top.firstrow"> -<!-- --> -</a> -<ul class="navList" title="Navigation"> -<li><a href="../../../../../org/apache/maven/plugins/jarsigner/package-summary.html">Package</a></li> -<li class="navBarCell1Rev">Class</li> -<li><a href="class-use/JarsignerSignMojo.html">Use</a></li> -<li><a href="package-tree.html">Tree</a></li> -<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> -<li><a href="../../../../../index-all.html">Index</a></li> -<li><a href="../../../../../help-doc.html">Help</a></li> -</ul> -</div> -<div class="subNav"> -<ul class="navList"> -<li><a href="../../../../../org/apache/maven/plugins/jarsigner/HelpMojo.html" title="class in org.apache.maven.plugins.jarsigner"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/maven/plugins/jarsigner/JarsignerVerifyMojo.html" title="class in org.apache.maven.plugins.jarsigner"><span class="typeNameLink">Next Class</span></a></li> -</ul> -<ul class="navList"> -<li><a href="../../../../../index.html?org/apache/maven/plugins/jarsigner/JarsignerSignMojo.html" target="_top">Frames</a></li> -<li><a href="JarsignerSignMojo.html" target="_top">No Frames</a></li> -</ul> -<ul class="navList" id="allclasses_navbar_top"> -<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> -</ul> -<div> -<script type="text/javascript"><!-- - allClassesLink = document.getElementById("allclasses_navbar_top"); - if(window==top) { - allClassesLink.style.display = "block"; - } - else { - allClassesLink.style.display = "none"; - } - //--> -</script> -</div> -<div> -<ul class="subNavList"> -<li>Summary: </li> -<li>Nested | </li> -<li>Field | </li> -<li><a href="#constructor.summary">Constr</a> | </li> -<li><a href="#method.summary">Method</a></li> -</ul> -<ul class="subNavList"> -<li>Detail: </li> -<li>Field | </li> -<li><a href="#constructor.detail">Constr</a> | </li> -<li><a href="#method.detail">Method</a></li> -</ul> -</div> -<a name="skip.navbar.top"> -<!-- --> -</a></div> -<!-- ========= END OF TOP NAVBAR ========= --> -<!-- ======== START OF CLASS DATA ======== --> -<div class="header"> -<div class="subTitle">org.apache.maven.plugins.jarsigner</div> -<h2 title="Class JarsignerSignMojo" class="title">Class JarsignerSignMojo</h2> -</div> -<div class="contentContainer"> -<ul class="inheritance"> -<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> -<li> -<ul class="inheritance"> -<li><a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">org.apache.maven.plugin.AbstractMojo</a></li> -<li> -<ul class="inheritance"> -<li><a href="../../../../../org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.html" title="class in org.apache.maven.plugins.jarsigner">org.apache.maven.plugins.jarsigner.AbstractJarsignerMojo</a></li> -<li> -<ul class="inheritance"> -<li>org.apache.maven.plugins.jarsigner.JarsignerSignMojo</li> -</ul> -</li> -</ul> -</li> -</ul> -</li> -</ul> -<div class="description"> -<ul class="blockList"> -<li class="blockList"> -<dl> -<dt>All Implemented Interfaces:</dt> -<dd><a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/ContextEnabled.html?is-external=true" title="class or interface in org.apache.maven.plugin">ContextEnabled</a>, <a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/Mojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">Mojo</a></dd> -</dl> -<hr> -<br> -<pre><a href="https://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Mojo.html?is-external=true" title="class or interface in org.apache.maven.plugins.annotations">@Mojo</a>(<a href="https://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Mojo.html?is-external=true#name--" title="class or interface in org.apache.maven.plugins.annotations">name</a>="sign", - <a href="https://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Mojo.html?is-external=true#defaultPhase--" title="class or interface in org.apache.maven.plugins.annotations">defaultPhase</a>=<a href="https://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/LifecyclePhase.html?is-external=true#PACKAGE" title="class or interface in org.apache.maven.plugins.annotations">PACKAGE</a>) -public class <span class="typeNameLabel">JarsignerSignMojo</span> -extends <a href="../../../../../org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.html" title="class in org.apache.maven.plugins.jarsigner">AbstractJarsignerMojo</a></pre> -<div class="block">Signs a project artifact and attachments using jarsigner.</div> -<dl> -<dt><span class="simpleTagLabel">Since:</span></dt> -<dd>1.0</dd> -<dt><span class="simpleTagLabel">Version:</span></dt> -<dd>$Id$</dd> -<dt><span class="simpleTagLabel">Author:</span></dt> -<dd><a href="c...@schulte.it">Christian Schulte</a></dd> -</dl> -</li> -</ul> -</div> -<div class="summary"> -<ul class="blockList"> -<li class="blockList"> -<!-- =========== FIELD SUMMARY =========== --> -<ul class="blockList"> -<li class="blockList"><a name="field.summary"> -<!-- --> -</a> -<h3>Field Summary</h3> -<ul class="blockList"> -<li class="blockList"><a name="fields.inherited.from.class.org.apache.maven.plugin.Mojo"> -<!-- --> -</a> -<h3>Fields inherited from interface org.apache.maven.plugin.<a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/Mojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">Mojo</a></h3> -<code><a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/Mojo.html?is-external=true#ROLE" title="class or interface in org.apache.maven.plugin">ROLE</a></code></li> -</ul> -</li> -</ul> -<!-- ======== CONSTRUCTOR SUMMARY ======== --> -<ul class="blockList"> -<li class="blockList"><a name="constructor.summary"> -<!-- --> -</a> -<h3>Constructor Summary</h3> -<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> -<caption><span>Constructors</span><span class="tabEnd"> </span></caption> -<tr> -<th class="colOne" scope="col">Constructor and Description</th> -</tr> -<tr class="altColor"> -<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/jarsigner/JarsignerSignMojo.html#JarsignerSignMojo--">JarsignerSignMojo</a></span>()</code> </td> -</tr> -</table> -</li> -</ul> -<!-- ========== METHOD SUMMARY =========== --> -<ul class="blockList"> -<li class="blockList"><a name="method.summary"> -<!-- --> -</a> -<h3>Method Summary</h3> -<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> -<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> -<tr> -<th class="colFirst" scope="col">Modifier and Type</th> -<th class="colLast" scope="col">Method and Description</th> -</tr> -<tr id="i0" class="altColor"> -<td class="colFirst"><code>protected <a href="https://maven.apache.org/shared/maven-jarsigner/apidocs/org/apache/maven/shared/jarsigner/JarSignerRequest.html?is-external=true" title="class or interface in org.apache.maven.shared.jarsigner">JarSignerRequest</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/jarsigner/JarsignerSignMojo.html#createRequest-java.io.File-">createRequest</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> archive)</code> -<div class="block">Creates the jar signer request to be executed.</div> -</td> -</tr> -<tr id="i1" class="rowColor"> -<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/jarsigner/JarsignerSignMojo.html#getCommandlineInfo-org.apache.maven.shared.utils.cli.Commandline-">getCommandlineInfo</a></span>(<a href="https://maven.apache.org/shared/maven-shared-utils/apidocs/org/apache/maven/shared/utils/cli/Commandline.html?is-external=true" title="class or interface in org.apache.maven.shared.utils.cli">Commandline</a> commandLine)</code> -<div class="block">Gets a string representation of a <code>Commandline</code>.</div> -</td> -</tr> -<tr id="i2" class="altColor"> -<td class="colFirst"><code>protected void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/jarsigner/JarsignerSignMojo.html#preProcessArchive-java.io.File-">preProcessArchive</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> archive)</code> -<div class="block">Pre-processes a given archive.</div> -</td> -</tr> -</table> -<ul class="blockList"> -<li class="blockList"><a name="methods.inherited.from.class.org.apache.maven.plugins.jarsigner.AbstractJarsignerMojo"> -<!-- --> -</a> -<h3>Methods inherited from class org.apache.maven.plugins.jarsigner.<a href="../../../../../org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.html" title="class in org.apache.maven.plugins.jarsigner">AbstractJarsignerMojo</a></h3> -<code><a href="../../../../../org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.html#decrypt-java.lang.String-">decrypt</a>, <a href="../../../../../org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.html#execute--">execute</a>, <a href="../../../../../org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.html#getStorepass--">getStorepass</a>, <a href="../../../../../org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.html#getStoretype--">getStoretype</a></code></li> -</ul> -<ul class="blockList"> -<li class="blockList"><a name="methods.inherited.from.class.org.apache.maven.plugin.AbstractMojo"> -<!-- --> -</a> -<h3>Methods inherited from class org.apache.maven.plugin.<a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true" title="class or interface in org.apache.maven.plugin">AbstractMojo</a></h3> -<code><a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true#getLog--" title="class or interface in org.apache.maven.plugin">getLog</a>, <a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true#getPluginContext--" title="class or interface in org.apache.maven.plugin">getPluginContext</a>, <a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true#setLog-org.apache.maven.plugin.logging.Log-" title="class or interface in org.apache.maven.plugin">setLog</a>, <a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html?is-external=true#setPluginContext-java.util.Map-" title="class or interface in org.apache.maven.plugin">setPluginContext</a></code></li> -</ul> -<ul class="blockList"> -<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> -<!-- --> -</a> -<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> -<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/ja va/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> -</ul> -</li> -</ul> -</li> -</ul> -</div> -<div class="details"> -<ul class="blockList"> -<li class="blockList"> -<!-- ========= CONSTRUCTOR DETAIL ======== --> -<ul class="blockList"> -<li class="blockList"><a name="constructor.detail"> -<!-- --> -</a> -<h3>Constructor Detail</h3> -<a name="JarsignerSignMojo--"> -<!-- --> -</a> -<ul class="blockListLast"> -<li class="blockList"> -<h4>JarsignerSignMojo</h4> -<pre>public JarsignerSignMojo()</pre> -</li> -</ul> -</li> -</ul> -<!-- ============ METHOD DETAIL ========== --> -<ul class="blockList"> -<li class="blockList"><a name="method.detail"> -<!-- --> -</a> -<h3>Method Detail</h3> -<a name="getCommandlineInfo-org.apache.maven.shared.utils.cli.Commandline-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getCommandlineInfo</h4> -<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getCommandlineInfo(<a href="https://maven.apache.org/shared/maven-shared-utils/apidocs/org/apache/maven/shared/utils/cli/Commandline.html?is-external=true" title="class or interface in org.apache.maven.shared.utils.cli">Commandline</a> commandLine)</pre> -<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.html#getCommandlineInfo-org.apache.maven.shared.utils.cli.Commandline-">AbstractJarsignerMojo</a></code></span></div> -<div class="block">Gets a string representation of a <code>Commandline</code>. - <p> - This method creates the string representation by calling <code>commandLine.toString()</code> by default. - </p></div> -<dl> -<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> -<dd><code><a href="../../../../../org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.html#getCommandlineInfo-org.apache.maven.shared.utils.cli.Commandline-">getCommandlineInfo</a></code> in class <code><a href="../../../../../org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.html" title="class in org.apache.maven.plugins.jarsigner">AbstractJarsignerMojo</a></code></dd> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>commandLine</code> - The <code>Commandline</code> to get a string representation of.</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>The string representation of <code>commandLine</code>.</dd> -</dl> -</li> -</ul> -<a name="preProcessArchive-java.io.File-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>preProcessArchive</h4> -<pre>protected void preProcessArchive(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> archive) - throws <a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoExecutionException.html?is-external=true" title="class or interface in org.apache.maven.plugin">MojoExecutionException</a></pre> -<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.html#preProcessArchive-java.io.File-">AbstractJarsignerMojo</a></code></span></div> -<div class="block">Pre-processes a given archive.</div> -<dl> -<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> -<dd><code><a href="../../../../../org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.html#preProcessArchive-java.io.File-">preProcessArchive</a></code> in class <code><a href="../../../../../org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.html" title="class in org.apache.maven.plugins.jarsigner">AbstractJarsignerMojo</a></code></dd> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>archive</code> - The archive to process, must not be <code>null</code>.</dd> -<dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoExecutionException.html?is-external=true" title="class or interface in org.apache.maven.plugin">MojoExecutionException</a></code> - If pre-processing failed.</dd> -</dl> -</li> -</ul> -<a name="createRequest-java.io.File-"> -<!-- --> -</a> -<ul class="blockListLast"> -<li class="blockList"> -<h4>createRequest</h4> -<pre>protected <a href="https://maven.apache.org/shared/maven-jarsigner/apidocs/org/apache/maven/shared/jarsigner/JarSignerRequest.html?is-external=true" title="class or interface in org.apache.maven.shared.jarsigner">JarSignerRequest</a> createRequest(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> archive) - throws <a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoExecutionException.html?is-external=true" title="class or interface in org.apache.maven.plugin">MojoExecutionException</a></pre> -<div class="block">Creates the jar signer request to be executed.</div> -<dl> -<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> -<dd><code><a href="../../../../../org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.html#createRequest-java.io.File-">createRequest</a></code> in class <code><a href="../../../../../org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.html" title="class in org.apache.maven.plugins.jarsigner">AbstractJarsignerMojo</a></code></dd> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>archive</code> - the archive file to treat by jarsigner</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>the request</dd> -<dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><a href="http://maven.apache.org/ref/3.6.0/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoExecutionException.html?is-external=true" title="class or interface in org.apache.maven.plugin">MojoExecutionException</a></code> - if an exception occurs</dd> -</dl> -</li> -</ul> -</li> -</ul> -</li> -</ul> -</div> -</div> -<!-- ========= END OF CLASS DATA ========= --> -<!-- ======= START OF BOTTOM NAVBAR ====== --> -<div class="bottomNav"><a name="navbar.bottom"> -<!-- --> -</a> -<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> -<a name="navbar.bottom.firstrow"> -<!-- --> -</a> -<ul class="navList" title="Navigation"> -<li><a href="../../../../../org/apache/maven/plugins/jarsigner/package-summary.html">Package</a></li> -<li class="navBarCell1Rev">Class</li> -<li><a href="class-use/JarsignerSignMojo.html">Use</a></li> -<li><a href="package-tree.html">Tree</a></li> -<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> -<li><a href="../../../../../index-all.html">Index</a></li> -<li><a href="../../../../../help-doc.html">Help</a></li> -</ul> -</div> -<div class="subNav"> -<ul class="navList"> -<li><a href="../../../../../org/apache/maven/plugins/jarsigner/HelpMojo.html" title="class in org.apache.maven.plugins.jarsigner"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/maven/plugins/jarsigner/JarsignerVerifyMojo.html" title="class in org.apache.maven.plugins.jarsigner"><span class="typeNameLink">Next Class</span></a></li> -</ul> -<ul class="navList"> -<li><a href="../../../../../index.html?org/apache/maven/plugins/jarsigner/JarsignerSignMojo.html" target="_top">Frames</a></li> -<li><a href="JarsignerSignMojo.html" target="_top">No Frames</a></li> -</ul> -<ul class="navList" id="allclasses_navbar_bottom"> -<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> -</ul> -<div> -<script type="text/javascript"><!-- - allClassesLink = document.getElementById("allclasses_navbar_bottom"); - if(window==top) { - allClassesLink.style.display = "block"; - } - else { - allClassesLink.style.display = "none"; - } - //--> -</script> -</div> -<div> -<ul class="subNavList"> -<li>Summary: </li> -<li>Nested | </li> -<li>Field | </li> -<li><a href="#constructor.summary">Constr</a> | </li> -<li><a href="#method.summary">Method</a></li> -</ul> -<ul class="subNavList"> -<li>Detail: </li> -<li>Field | </li> -<li><a href="#constructor.detail">Constr</a> | </li> -<li><a href="#method.detail">Method</a></li> -</ul> -</div> -<a name="skip.navbar.bottom"> -<!-- --> -</a></div> -<!-- ======== END OF BOTTOM NAVBAR ======= --> -<p class="legalCopy"><small>Copyright © 2002–2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> -</body> +<!DOCTYPE HTML> +<html lang="en"> +<head> +<!-- Generated by javadoc (21) --> +<title>JarsignerSignMojo (Apache Maven Jarsigner Plugin 3.1.0 API)</title> +<meta name="viewport" content="width=device-width, initial-scale=1"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta name="description" content="declaration: package: org.apache.maven.plugins.jarsigner, class: JarsignerSignMojo"> +<meta name="generator" content="javadoc/ClassWriterImpl"> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +<link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style"> +<script type="text/javascript" src="../../../../../script.js"></script> +<script type="text/javascript" src="../../../../../script-dir/jquery-3.6.1.min.js"></script> +<script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script> +</head> +<body class="class-declaration-page"> +<script type="text/javascript">var pathtoroot = "../../../../../"; +loadScripts(document, 'script');</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<div class="flex-box"> +<header role="banner" class="flex-header"> +<nav role="navigation"> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="top-nav" id="navbar-top"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button> +<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> +<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> +<li><a href="../../../../../index.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="nav-bar-cell1-rev">Class</li> +<li><a href="class-use/JarsignerSignMojo.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html#class">Help</a></li> +</ul> +<ul class="sub-nav-list-small"> +<li> +<p>Summary:</p> +<ul> +<li>Nested</li> +<li><a href="#field-summary">Field</a></li> +<li><a href="#constructor-summary">Constr</a></li> +<li><a href="#method-summary">Method</a></li> +</ul> +</li> +<li> +<p>Detail:</p> +<ul> +<li>Field</li> +<li><a href="#constructor-detail">Constr</a></li> +<li><a href="#method-detail">Method</a></li> +</ul> +</li> +</ul> +</div> +<div class="sub-nav"> +<div id="navbar-sub-list"> +<ul class="sub-nav-list"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field-summary">Field</a> | </li> +<li><a href="#constructor-summary">Constr</a> | </li> +<li><a href="#method-summary">Method</a></li> +</ul> +<ul class="sub-nav-list"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor-detail">Constr</a> | </li> +<li><a href="#method-detail">Method</a></li> +</ul> +</div> +<div class="nav-list-search"><a href="../../../../../search.html">SEARCH</a> +<input type="text" id="search-input" disabled placeholder="Search"> +<input type="reset" id="reset-button" disabled value="reset"> +</div> +</div> +<!-- ========= END OF TOP NAVBAR ========= --> +<span class="skip-nav" id="skip-navbar-top"></span></nav> +</header> +<div class="flex-content"> +<main role="main"> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.apache.maven.plugins.jarsigner</a></div> +<h1 title="Class JarsignerSignMojo" class="title">Class JarsignerSignMojo</h1> +</div> +<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> +<div class="inheritance">org.apache.maven.plugin.AbstractMojo +<div class="inheritance"><a href="AbstractJarsignerMojo.html" title="class in org.apache.maven.plugins.jarsigner">org.apache.maven.plugins.jarsigner.AbstractJarsignerMojo</a> +<div class="inheritance">org.apache.maven.plugins.jarsigner.JarsignerSignMojo</div> +</div> +</div> +</div> +<section class="class-description" id="class-description"> +<dl class="notes"> +<dt>All Implemented Interfaces:</dt> +<dd><code>org.apache.maven.plugin.ContextEnabled</code>, <code>org.apache.maven.plugin.Mojo</code></dd> +</dl> +<hr> +<div class="type-signature"><span class="annotations">@Mojo(name="sign", + defaultPhase=PACKAGE, + threadSafe=true) +</span><span class="modifiers">public class </span><span class="element-name type-name-label">JarsignerSignMojo</span> +<span class="extends-implements">extends <a href="AbstractJarsignerMojo.html" title="class in org.apache.maven.plugins.jarsigner">AbstractJarsignerMojo</a></span></div> +<div class="block">Signs a project artifact and attachments using jarsigner.</div> +<dl class="notes"> +<dt>Since:</dt> +<dd>1.0</dd> +<dt>Author:</dt> +<dd><a href="c...@schulte.it">Christian Schulte</a></dd> +</dl> +</section> +<section class="summary"> +<ul class="summary-list"> +<!-- =========== FIELD SUMMARY =========== --> +<li> +<section class="field-summary" id="field-summary"> +<h2>Field Summary</h2> +<div class="inherited-list"> +<h3 id="fields-inherited-from-class-org.apache.maven.plugin.Mojo">Fields inherited from interface org.apache.maven.plugin.Mojo</h3> +<code>ROLE</code></div> +</section> +</li> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<li> +<section class="constructor-summary" id="constructor-summary"> +<h2>Constructor Summary</h2> +<div class="caption"><span>Constructors</span></div> +<div class="summary-table two-column-summary"> +<div class="table-header col-first">Constructor</div> +<div class="table-header col-last">Description</div> +<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">JarsignerSignMojo</a>()</code></div> +<div class="col-last even-row-color"> </div> +</div> +</section> +</li> +<!-- ========== METHOD SUMMARY =========== --> +<li> +<section class="method-summary" id="method-summary"> +<h2>Method Summary</h2> +<div id="method-summary-table"> +<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> +<div id="method-summary-table.tabpanel" role="tabpanel" aria-labelledby="method-summary-table-tab0"> +<div class="summary-table three-column-summary"> +<div class="table-header col-first">Modifier and Type</div> +<div class="table-header col-second">Method</div> +<div class="table-header col-last">Description</div> +<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected org.apache.maven.shared.jarsigner.JarSignerRequest</code></div> +<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#createRequest(java.io.File)" class="member-name-link">createRequest</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class or interface in java.io" class="external-link">File</a> archive)</code></div> +<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> +<div class="block">Creates the jar signer request to be executed.</div> +</div> +<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> +<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#executeJarSigner(org.apache.maven.shared.jarsigner.JarSigner,org.apache.maven.shared.jarsigner.JarSignerRequest)" class="member-name-link">executeJarSigner</a><wbr>(org.apache.maven.shared.jarsigner.JarSigner jarSigner, + org.apache.maven.shared.jarsigner.JarSignerRequest request)</code></div> +<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> +<div class="block">Executes jarsigner (execute signing or verification for a jar file).</div> +</div> +<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> +<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCommandlineInfo(org.apache.maven.shared.utils.cli.Commandline)" class="member-name-link">getCommandlineInfo</a><wbr>(org.apache.maven.shared.utils.cli.Commandline commandLine)</code></div> +<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> +<div class="block">Gets a string representation of a <code>Commandline</code>.</div> +</div> +<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> +<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#preProcessArchive(java.io.File)" class="member-name-link">preProcessArchive</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class or interface in java.io" class="external-link">File</a> archive)</code></div> +<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> +<div class="block">Pre-processes a given archive.</div> +</div> +<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> +<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#processArchives(java.util.List)" class="member-name-link">processArchives</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class or interface in java.io" class="external-link">File</a>> archives)</code></div> +<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> +<div class="block">Process (sign/verify) a list of archives.</div> +</div> +<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> +<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validateParameters()" class="member-name-link">validateParameters</a>()</code></div> +<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> +<div class="block">Validate the user supplied configuration/parameters.</div> +</div> +</div> +</div> +</div> +<div class="inherited-list"> +<h3 id="methods-inherited-from-class-org.apache.maven.plugins.jarsigner.AbstractJarsignerMojo">Methods inherited from class org.apache.maven.plugins.jarsigner.<a href="AbstractJarsignerMojo.html" title="class in org.apache.maven.plugins.jarsigner">AbstractJarsignerMojo</a></h3> +<code><a href="AbstractJarsignerMojo.html#decrypt(java.lang.String)">decrypt</a>, <a href="AbstractJarsignerMojo.html#execute()">execute</a>, <a href="AbstractJarsignerMojo.html#getStorepass()">getStorepass</a>, <a href="AbstractJarsignerMojo.html#getStoretype()">getStoretype</a>, <a href="AbstractJarsignerMojo.html#processArchive(java.io.File)">processArchive</a></code></div> +<div class="inherited-list"> +<h3 id="methods-inherited-from-class-org.apache.maven.plugin.AbstractMojo">Methods inherited from class org.apache.maven.plugin.AbstractMojo</h3> +<code>getLog, getPluginContext, setLog, setPluginContext</code></div> +<div class="inherited-list"> +<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> +<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.o racle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-" title="class or interface in java.lang" class="external-link">wait</a></code></div> +</section> +</li> +</ul> +</section> +<section class="details"> +<ul class="details-list"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<li> +<section class="constructor-details" id="constructor-detail"> +<h2>Constructor Details</h2> +<ul class="member-list"> +<li> +<section class="detail" id="<init>()"> +<h3>JarsignerSignMojo</h3> +<div class="member-signature"><span class="modifiers">public</span> <span class="element-name">JarsignerSignMojo</span>()</div> +</section> +</li> +</ul> +</section> +</li> +<!-- ============ METHOD DETAIL ========== --> +<li> +<section class="method-details" id="method-detail"> +<h2>Method Details</h2> +<ul class="member-list"> +<li> +<section class="detail" id="getCommandlineInfo(org.apache.maven.shared.utils.cli.Commandline)"> +<h3>getCommandlineInfo</h3> +<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">getCommandlineInfo</span><wbr><span class="parameters">(org.apache.maven.shared.utils.cli.Commandline commandLine)</span></div> +<div class="block"><span class="description-from-type-label">Description copied from class: <code><a href="AbstractJarsignerMojo.html#getCommandlineInfo(org.apache.maven.shared.utils.cli.Commandline)">AbstractJarsignerMojo</a></code></span></div> +<div class="block">Gets a string representation of a <code>Commandline</code>. + <p> + This method creates the string representation by calling <code>commandLine.toString()</code> by default. + </p></div> +<dl class="notes"> +<dt>Overrides:</dt> +<dd><code><a href="AbstractJarsignerMojo.html#getCommandlineInfo(org.apache.maven.shared.utils.cli.Commandline)">getCommandlineInfo</a></code> in class <code><a href="AbstractJarsignerMojo.html" title="class in org.apache.maven.plugins.jarsigner">AbstractJarsignerMojo</a></code></dd> +<dt>Parameters:</dt> +<dd><code>commandLine</code> - The <code>Commandline</code> to get a string representation of.</dd> +<dt>Returns:</dt> +<dd>The string representation of <code>commandLine</code>.</dd> +</dl> +</section> +</li> +<li> +<section class="detail" id="preProcessArchive(java.io.File)"> +<h3>preProcessArchive</h3> +<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">preProcessArchive</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class or interface in java.io" class="external-link">File</a> archive)</span> + throws <span class="exceptions">org.apache.maven.plugin.MojoExecutionException</span></div> +<div class="block"><span class="description-from-type-label">Description copied from class: <code><a href="AbstractJarsignerMojo.html#preProcessArchive(java.io.File)">AbstractJarsignerMojo</a></code></span></div> +<div class="block">Pre-processes a given archive.</div> +<dl class="notes"> +<dt>Overrides:</dt> +<dd><code><a href="AbstractJarsignerMojo.html#preProcessArchive(java.io.File)">preProcessArchive</a></code> in class <code><a href="AbstractJarsignerMojo.html" title="class in org.apache.maven.plugins.jarsigner">AbstractJarsignerMojo</a></code></dd> +<dt>Parameters:</dt> +<dd><code>archive</code> - The archive to process, must not be <code>null</code>.</dd> +<dt>Throws:</dt> +<dd><code>org.apache.maven.plugin.MojoExecutionException</code> - if pre-processing failed</dd> +</dl> +</section> +</li> +<li> +<section class="detail" id="validateParameters()"> +<h3>validateParameters</h3> +<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">validateParameters</span>() + throws <span class="exceptions">org.apache.maven.plugin.MojoExecutionException</span></div> +<div class="block"><span class="description-from-type-label">Description copied from class: <code><a href="AbstractJarsignerMojo.html#validateParameters()">AbstractJarsignerMojo</a></code></span></div> +<div class="block">Validate the user supplied configuration/parameters.</div> +<dl class="notes"> +<dt>Overrides:</dt> +<dd><code><a href="AbstractJarsignerMojo.html#validateParameters()">validateParameters</a></code> in class <code><a href="AbstractJarsignerMojo.html" title="class in org.apache.maven.plugins.jarsigner">AbstractJarsignerMojo</a></code></dd> +<dt>Throws:</dt> +<dd><code>org.apache.maven.plugin.MojoExecutionException</code> - if the user supplied configuration make further execution impossible</dd> +</dl> +</section> +</li> +<li> +<section class="detail" id="createRequest(java.io.File)"> +<h3>createRequest</h3> +<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">org.apache.maven.shared.jarsigner.JarSignerRequest</span> <span class="element-name">createRequest</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class or interface in java.io" class="external-link">File</a> archive)</span> + throws <span class="exceptions">org.apache.maven.plugin.MojoExecutionException</span></div> +<div class="block">Creates the jar signer request to be executed.</div> +<dl class="notes"> +<dt>Specified by:</dt> +<dd><code><a href="AbstractJarsignerMojo.html#createRequest(java.io.File)">createRequest</a></code> in class <code><a href="AbstractJarsignerMojo.html" title="class in org.apache.maven.plugins.jarsigner">AbstractJarsignerMojo</a></code></dd> +<dt>Parameters:</dt> +<dd><code>archive</code> - the archive file to treat by jarsigner</dd> +<dt>Returns:</dt> +<dd>the request</dd> +<dt>Throws:</dt> +<dd><code>org.apache.maven.plugin.MojoExecutionException</code> - if an exception occurs</dd> +</dl> +</section> +</li> +<li> +<section class="detail" id="processArchives(java.util.List)"> +<h3>processArchives</h3> +<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">processArchives</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class or interface in java.io" class="external-link">File</a>> archives)</span> + throws <span class="exceptions">org.apache.maven.plugin.MojoExecutionException</span></div> +<div class="block">Process (sign/verify) a list of archives. Processing of files may be parallelized for increased performance.</div> +<dl class="notes"> +<dt>Overrides:</dt> +<dd><code><a href="AbstractJarsignerMojo.html#processArchives(java.util.List)">processArchives</a></code> in class <code><a href="AbstractJarsignerMojo.html" title="class in org.apache.maven.plugins.jarsigner">AbstractJarsignerMojo</a></code></dd> +<dt>Parameters:</dt> +<dd><code>archives</code> - list of jar files to process</dd> +<dt>Throws:</dt> +<dd><code>org.apache.maven.plugin.MojoExecutionException</code> - if an error occurs during the processing of archives</dd> +</dl> +</section> +</li> +<li> +<section class="detail" id="executeJarSigner(org.apache.maven.shared.jarsigner.JarSigner,org.apache.maven.shared.jarsigner.JarSignerRequest)"> +<h3>executeJarSigner</h3> +<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">executeJarSigner</span><wbr><span class="parameters">(org.apache.maven.shared.jarsigner.JarSigner jarSigner, + org.apache.maven.shared.jarsigner.JarSignerRequest request)</span> + throws <span class="exceptions">org.apache.maven.shared.utils.cli.javatool.JavaToolException, +org.apache.maven.plugin.MojoExecutionException</span></div> +<div class="block">Executes jarsigner (execute signing or verification for a jar file). + + Will retry signing up to maxTries times if it fails.</div> +<dl class="notes"> +<dt>Specified by:</dt> +<dd><code><a href="AbstractJarsignerMojo.html#executeJarSigner(org.apache.maven.shared.jarsigner.JarSigner,org.apache.maven.shared.jarsigner.JarSignerRequest)">executeJarSigner</a></code> in class <code><a href="AbstractJarsignerMojo.html" title="class in org.apache.maven.plugins.jarsigner">AbstractJarsignerMojo</a></code></dd> +<dt>Parameters:</dt> +<dd><code>jarSigner</code> - the JarSigner execution interface</dd> +<dd><code>request</code> - the JarSignerRequest with parameters JarSigner should use</dd> +<dt>Throws:</dt> +<dd><code>org.apache.maven.plugin.MojoExecutionException</code> - if all signing attempts fail</dd> +<dd><code>org.apache.maven.shared.utils.cli.javatool.JavaToolException</code> - if jarsigner could not be invoked</dd> +</dl> +</section> +</li> +</ul> +</section> +</li> +</ul> +</section> +<!-- ========= END OF CLASS DATA ========= --> +</main> +<footer role="contentinfo"> +<hr> +<p class="legal-copy"><small>Copyright © 2002–2024 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</footer> +</div> +</div> +</body> </html> \ No newline at end of file