org.codehaus.mojo.webstart
Class AbstractJnlpMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.webstart.AbstractBaseJnlpMojo
org.codehaus.mojo.webstart.AbstractJnlpMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- JnlpInlineMojo, JnlpMojo, JnlpSingleMojo
public abstract class AbstractJnlpMojo
- extends AbstractBaseJnlpMojo
- Version:
- $Id: JnlpMojo.java 2897 2007-01-02 12:55:00Z lacostej $
- Author:
- Jerome Lacoste
|
Nested Class Summary |
static class |
AbstractJnlpMojo.Dependencies
Represents the configuration element that specifies which of the current
project's dependencies will be included or excluded from the resources element
in the generated JNLP file. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.codehaus.mojo.webstart.AbstractBaseJnlpMojo |
artifactContainsClass, checkPack200, copyFileToDirectoryIfNecessary, copyJarAsUnprocessedToDirectoryIfNecessary, copyResources, findDefaultJnlpExtensionTemplateURL, findDefaultJnlpTemplateURL, getArtifactFactory, getArtifactResolver, getCodebase, getLibDirectory, getLibPath, getLocalRepository, getModifiedJnlpArtifacts, getProject, getRemoteRepositories, getResourcesDirectory, getSign, getTemplateDirectory, getWebstartJarURL, getWebstartJarURLForVelocity, getWorkDirectory, isAttachArchive, isExcludeTransitive, isGzip, isMakeArchive, isPack200, isVerbose, isVerifyjar, makeWorkingDirIfNecessary, packJars, removeExistingSignatures, setupVerifyMojo, signOrRenameJars, unsignAlreadySignedJars |
| 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 |
AbstractJnlpMojo
public AbstractJnlpMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getJnlpExtensions
public List getJnlpExtensions()
hasJnlpExtensions
public boolean hasJnlpExtensions()
getJnlp
public JnlpConfig getJnlp()
getPackagedJnlpArtifacts
public List getPackagedJnlpArtifacts()
getExtensionsJnlpArtifacts
public Map getExtensionsJnlpArtifacts()
isArtifactWithMainClass
public boolean isArtifactWithMainClass(org.apache.maven.artifact.Artifact artifact)
- Sets the flag that indicates whether or not a version attribute
should be output in each jar resource element in the generated
JNLP file. The default is false.
- Parameters:
outputJarVersions -
isOutputJarVersions
public boolean isOutputJarVersions()
- Returns the flag that indicates whether or not a version attribute
should be output in each jar resource element in the generated
JNLP file. The default is false.
- Returns:
- Returns the value of the
outputJarVersions property.
setOutputJarVersions
public void setOutputJarVersions(boolean outputJarVersions)
- Set the value of the outputJarVersions field.
- Parameters:
outputJarVersions -
prepareExtensions
protected void prepareExtensions()
throws org.apache.maven.plugin.MojoExecutionException
- Prepare extensions.
Copy all includes of all extensions as to be excluded.
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2005-2009 Codehaus. All Rights Reserved.