public abstract class AbstractScriptGeneratorMojo extends AbstractAppAssemblerMojo
| Modifier and Type | Field and Description |
|---|---|
protected List |
artifacts |
protected String |
configurationDirectory
The name of the target directory for configuration files.
|
protected File |
configurationSourceDirectory
The name of the source directory for configuration files.
|
protected boolean |
copyConfigurationDirectory
If the source configuration directory should be copied to the configured
configurationDirectory. |
protected DaemonGeneratorService |
daemonGeneratorService |
protected String |
endorsedDir
Location under base directory where all of files non-recursively are added before the generated classpath.
|
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 boolean |
useWildcardClassPath
Sometimes it happens that you have many dependencies which means in other words having a very long classpath.
|
protected String |
windowsScriptTemplate
The windows template of the generated script.
|
artifactRepositoryFactory, container, localRepository, outputFileNameMapping, projectArtifact, repositoryLayout, useTimestampInSnapshotFileName| Constructor and Description |
|---|
AbstractScriptGeneratorMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCopyConfigurationDirectory(String targetDirectory) |
protected void |
installDependencies(String outputDirectory,
String repositoryName) |
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 boolean useWildcardClassPath
AbstractAppAssemblerMojo.repositoryLayout
flat. Otherwise this configuration will not work.protected String windowsScriptTemplate
protected List artifacts
protected org.apache.maven.project.MavenProject mavenProject
protected boolean generateRepository
false to skip repository generation.protected String configurationDirectory
protected File configurationSourceDirectory
protected boolean copyConfigurationDirectory
configurationDirectory.protected String endorsedDir
protected DaemonGeneratorService daemonGeneratorService
protected void doCopyConfigurationDirectory(String targetDirectory) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected 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.MojoFailureExceptionCopyright © 2006-2013 Codehaus. All Rights Reserved.