public abstract class RecursiveJarSigner extends FilteredJarSigner
Modifier and Type | Class and Description |
---|---|
static class |
RecursiveJarSigner.Builder |
private class |
RecursiveJarSigner.NestedJarSigner |
FilteredJarSigner.Filter, FilteredJarSigner.Filters
JarSigner.Options
Constructor and Description |
---|
RecursiveJarSigner() |
Modifier and Type | Method and Description |
---|---|
static RecursiveJarSigner.Builder |
builder() |
(package private) abstract JarSigner |
delegate() |
(package private) int |
doSignJar(java.nio.file.Path jar,
JarSigner.Options options) |
private int |
doSignJarRecursively(java.nio.file.Path file,
JarSigner.Options options,
int currentDepth)
Sign this Jar and its nested Jar.
|
(package private) abstract org.apache.maven.plugin.logging.Log |
log()
The log on which feedback will be provided.
|
(package private) abstract int |
maxDepth() |
private int |
signNestedJars(java.nio.file.Path file,
JarSigner.Options options,
int currentDepth)
Signs the inner jars in the given jar file
|
filter, sign
abstract JarSigner delegate()
abstract int maxDepth()
abstract org.apache.maven.plugin.logging.Log log()
int doSignJar(java.nio.file.Path jar, JarSigner.Options options) throws java.io.IOException
doSignJar
in class FilteredJarSigner
java.io.IOException
private int doSignJarRecursively(java.nio.file.Path file, JarSigner.Options options, int currentDepth) throws java.io.IOException
file
- the file to signdigestAlgorithm
- currentDepth
- the current nesting depth of the current file.signedFile
- org.apache.maven.plugin.MojoExecutionException
java.io.IOException
private int signNestedJars(java.nio.file.Path file, JarSigner.Options options, int currentDepth) throws java.io.IOException
file
- jar file containing inner jars to be signedcurrentDepth
- digestAlgorithm
- innerJars
- A list of inner jars that needs to be signedjava.io.IOException
public static RecursiveJarSigner.Builder builder()