org.codehaus.mojo.webstart
Class JnlpMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.webstart.AbstractBaseJnlpMojo
          extended by org.codehaus.mojo.webstart.AbstractJnlpMojo
              extended by org.codehaus.mojo.webstart.JnlpMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class JnlpMojo
extends AbstractJnlpMojo

Packages a jnlp application.

The plugin tries to not re-sign/re-pack if the dependent jar hasn't changed. As a consequence, if one modifies the pom jnlp config or a keystore, one should clean before rebuilding.

This mojo forks a build lifecycle and won't install the zip packages in your local repository. You probably want to use the jnlp-inline instead.

Version:
$Id: JnlpMojo.java 14443 2011-08-11 22:44:40Z tchemit $
Author:
Jerome Lacoste
Aggregates the Maven project and its child modules.
Is defined to be executed in:
phase:
package
Is defined by the goal name:
jnlp
Requires the dependencies in this specified scope:
runtime
Requires a Maven project to run:
true

Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.mojo.webstart.AbstractJnlpMojo
AbstractJnlpMojo.Dependencies
 
Field Summary
 
Fields inherited from class org.codehaus.mojo.webstart.AbstractBaseJnlpMojo
archiverManager, libPath
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JnlpMojo()
           
 
Method Summary
 org.apache.maven.project.MavenProject getProject()
           
 
Methods inherited from class org.codehaus.mojo.webstart.AbstractJnlpMojo
execute, getExtensionsJnlpArtifacts, getJnlp, getJnlpExtensions, getPackagedJnlpArtifacts, hasJnlpExtensions, isArtifactWithMainClass, isOutputJarVersions, prepareExtensions, setOutputJarVersions
 
Methods inherited from class org.codehaus.mojo.webstart.AbstractBaseJnlpMojo
artifactContainsClass, checkPack200, copyFileToDirectoryIfNecessary, copyJarAsUnprocessedToDirectoryIfNecessary, copyResources, findDefaultJnlpExtensionTemplateURL, findDefaultJnlpTemplateURL, getArtifactFactory, getArtifactResolver, getCodebase, getLibDirectory, getLibPath, getLocalRepository, getModifiedJnlpArtifacts, getPack200Tool, getRemoteRepositories, getResourcesDirectory, getSign, getTemplateDirectory, getWebstartJarURL, getWebstartJarURLForVelocity, getWorkDirectory, isAttachArchive, isCanUnsign, isExcludeTransitive, isGzip, isMakeArchive, isPack200, isVerbose, isVerifyjar, makeWorkingDirIfNecessary, packJars, removeExistingSignatures, setupVerifyMojo, signOrRenameJars, unsignAlreadySignedJars, verboseLog
 
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

JnlpMojo

public JnlpMojo()
Method Detail

getProject

public org.apache.maven.project.MavenProject getProject()
Specified by:
getProject in class AbstractBaseJnlpMojo


Copyright © 2005-2011 Codehaus. All Rights Reserved.