public abstract class AbstractScriptGeneratorMojo extends AbstractAppAssemblerMojo
| Modifier and Type | Field and Description |
|---|---|
protected List |
artifacts |
protected DaemonGeneratorService |
daemonGeneratorService |
protected String |
environmentSetupFileName
Setup file in
$BASEDIR/bin to be called prior to execution. |
protected boolean |
generateRepository
Set to
false to skip repository generation. |
protected File |
licenseHeaderFile
You can define a license header file which will be used instead the default header in the generated scripts.
|
protected org.apache.maven.project.MavenProject |
mavenProject |
protected String |
unixScriptTemplate
The unix template of the generated script.
|
protected String |
windowsScriptTemplate
The windows template of the generated script.
|
artifactRepositoryFactory, container, endorsedDir, localRepository, outputFileNameMapping, projectArtifact, repositoryLayout, useTimestampInSnapshotFileName| Constructor and Description |
|---|
AbstractScriptGeneratorMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
installDependencies(String outputDirectory,
String repositoryName) |
boolean |
isGenerateRepository()
Should we generate repository or not.
|
boolean |
isUseWildcardClassPath()
Should the
/* part for the classpath be used or not. |
void |
setGenerateRepository(boolean generateRepository)
Should we generate repository or not.
|
void |
setUseWildcardClassPath(boolean useWildcardClassPath)
Use wildcard classpath or not.
|
contextualize, getArtifactRepositoryLayout, installArtifact, installArtifactgetLog, getPluginContext, setLog, setPluginContextprotected String environmentSetupFileName
$BASEDIR/bin to be called prior to execution.
Note: only for the jsw platform. If this optional environment file also sets up
WRAPPER_CONF_OVERRIDES variable, it will be passed into JSW native launcher's command line arguments to override
wrapper.conf's properties. See http://wrapper.tanukisoftware.com/doc/english/props-command-line.html for details.
protected File licenseHeaderFile
protected String unixScriptTemplate
protected String windowsScriptTemplate
protected List artifacts
protected org.apache.maven.project.MavenProject mavenProject
protected boolean generateRepository
false to skip repository generation.protected DaemonGeneratorService daemonGeneratorService
protected void installDependencies(String outputDirectory, String repositoryName) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic boolean isUseWildcardClassPath()
/* part for the classpath be used or not.public void setUseWildcardClassPath(boolean useWildcardClassPath)
useWildcardClassPath - true to use wildcard classpath false otherwise.public boolean isGenerateRepository()
public void setGenerateRepository(boolean generateRepository)
generateRepository - true to generate repository, false otherwise.Copyright © 2006-2013 Codehaus. All Rights Reserved.