org.apache.maven.plugin.jar
Class JarSignMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.jar.JarSignMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

Deprecated. As of version 2.3, this goal is no longer supported in favor of the dedicated maven-jarsigner-plugin.

public class JarSignMojo
extends org.apache.maven.plugin.AbstractMojo

Signs a JAR using jarsigner.

Version:
$Id: JarSignMojo.java 802529 2009-08-09 12:05:35Z bentmann $
Author:
Jerome Lacoste
Is defined by the goal name:
sign
Is bound to the specified phase of the standard build lifecycle:
package
Requires the dependencies in this specified scope:
runtime
Requires a Maven project to run:
true

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JarSignMojo()
          Deprecated.  
 
Method Summary
protected  JarSignVerifyMojo createJarSignVerifyMojo()
          Deprecated.  
 void execute()
          Deprecated.  
protected  int executeCommandLine(Commandline commandLine, InputStream inputStream, StreamConsumer stream1, StreamConsumer stream2)
          Deprecated.  
 void setAlias(String alias)
          Deprecated.  
 void setBasedir(File basedir)
          Deprecated.  
 void setJarPath(File jarPath)
          Deprecated.  
 void setKeypass(String keypass)
          Deprecated.  
 void setKeystore(String keystore)
          Deprecated.  
 void setProject(org.apache.maven.project.MavenProject project)
          Deprecated.  
 void setSigFile(String sigfile)
          Deprecated.  
 void setSignedJar(File signedjar)
          Deprecated.  
 void setSkipAttachSignedArtifact(boolean skipAttachSignedArtifact)
          Deprecated.  
 void setStorepass(String storepass)
          Deprecated.  
 void setType(String type)
          Deprecated.  
 void setVerbose(boolean verbose)
          Deprecated.  
 void setVerify(boolean verify)
          Deprecated.  
 void setWorkingDir(File workingDir)
          Deprecated.  
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarSignMojo

public JarSignMojo()
Deprecated. 
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Deprecated. 
Throws:
org.apache.maven.plugin.MojoExecutionException

createJarSignVerifyMojo

protected JarSignVerifyMojo createJarSignVerifyMojo()
Deprecated. 

executeCommandLine

protected int executeCommandLine(Commandline commandLine,
                                 InputStream inputStream,
                                 StreamConsumer stream1,
                                 StreamConsumer stream2)
                          throws CommandLineException
Deprecated. 
Throws:
CommandLineException

setWorkingDir

public void setWorkingDir(File workingDir)
Deprecated. 

setBasedir

public void setBasedir(File basedir)
Deprecated. 

setKeystore

public void setKeystore(String keystore)
Deprecated. 

setKeypass

public void setKeypass(String keypass)
Deprecated. 

setSignedJar

public void setSignedJar(File signedjar)
Deprecated. 

setAlias

public void setAlias(String alias)
Deprecated. 

setJarPath

public void setJarPath(File jarPath)
Deprecated. 

setStorepass

public void setStorepass(String storepass)
Deprecated. 

setSigFile

public void setSigFile(String sigfile)
Deprecated. 

setType

public void setType(String type)
Deprecated. 

setVerbose

public void setVerbose(boolean verbose)
Deprecated. 

setSkipAttachSignedArtifact

public void setSkipAttachSignedArtifact(boolean skipAttachSignedArtifact)
Deprecated. 

setProject

public void setProject(org.apache.maven.project.MavenProject project)
Deprecated. 

setVerify

public void setVerify(boolean verify)
Deprecated. 


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.