private boolean processArtifact()

in src/main/java/org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.java [384:404]


    private boolean processArtifact(final Artifact artifact) throws MojoExecutionException {
        if (artifact == null) {
            throw new NullPointerException("artifact");
        }

        boolean processed = false;

        if (isZipFile(artifact)) {
            processArchive(artifact.getFile());

            processed = true;
        } else {
            if (this.verbose) {
                getLog().info(getMessage("unsupported", artifact));
            } else if (getLog().isDebugEnabled()) {
                getLog().debug(getMessage("unsupported", artifact));
            }
        }

        return processed;
    }