org.codehaus.mojo.webstart
Class AbstractJnlpMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.webstart.AbstractBaseJnlpMojo
          extended by 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: AbstractJnlpMojo.java 6588 2008-03-28 12:22:57Z bentmann $
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.
 
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
AbstractJnlpMojo()
           
 
Method Summary
 void execute()
           
 JnlpConfig getJnlp()
           
 java.util.List getPackagedJnlpArtifacts()
           
 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.
 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.
 void setOutputJarVersions(boolean outputJarVersions)
          Set the value of the outputJarVersions field.
 
Methods inherited from class org.codehaus.mojo.webstart.AbstractBaseJnlpMojo
artifactContainsClass, checkPack200, copyFileToDirectoryIfNecessary, copyJarAsUnprocessedToDirectoryIfNecessary, copyResources, findDefaultJnlpTemplateURL, getArtifactFactory, getArtifactResolver, getLibDirectory, getLibPath, getLocalRepository, getModifiedJnlpArtifacts, getProject, getRemoteRepositories, getResourcesDirectory, getSign, getTemplateDirectory, getWebstartJarURL, getWebstartJarURLForVelocity, getWorkDirectory, isExcludeTransitive, isGzip, isPack200, isVerbose, isVerifyjar, makeWorkingDirIfNecessary, packJars, removeExistingSignatures, 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
 

Constructor Detail

AbstractJnlpMojo

public AbstractJnlpMojo()
Method Detail

execute

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

getJnlp

public JnlpConfig getJnlp()

getPackagedJnlpArtifacts

public java.util.List getPackagedJnlpArtifacts()

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 -


Copyright © 2005-2009. All Rights Reserved.