public abstract class AbstractSonicMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected String |
defaultTopologyPrefix
The defaultTopologyPrefix.
|
protected File |
deployGenSrcDir |
protected org.apache.maven.project.MavenProject |
project
The reference to the Maven project we are building.
|
protected static String |
SDM_SNIPPET_DIR_NAME |
protected File |
sonicesbGeneratedSourceDirectory
directory containing the sonicesb generated sources.
|
protected File |
sonicesbSourceDirectory
directory containing the sonicesb sources.
|
protected File |
sonicesbTestSourceDirectory
directory containing the sonicesb testing sources.
|
protected static String |
TAILOR_DIR_NAME |
protected static String |
XARS_DIR_NAME |
Constructor and Description |
---|
AbstractSonicMojo() |
protected final File deployGenSrcDir
protected String defaultTopologyPrefix
protected org.apache.maven.project.MavenProject project
protected File sonicesbSourceDirectory
protected File sonicesbTestSourceDirectory
protected File sonicesbGeneratedSourceDirectory
protected static final String XARS_DIR_NAME
protected static final String TAILOR_DIR_NAME
protected static final String SDM_SNIPPET_DIR_NAME
protected File getTargetTopologyDir()
protected String getGroupId()
protected String getArtifactId()
protected String getVersion()
protected String getFinalAssemblyBaseName()
protected String getFinalAssemblyBaseName(boolean includeVersion)
includeVersion
- set to true if the version number should be included in the returned value.protected String getFinalAssemblyFileName()
protected String getOutputDirectory()
protected String getDependencyDirectory()
protected String getTestDependencyDirectory()
protected File getSonicEsbSourceDirectory()
protected File getSonicEsbTestSourceDirectory()
protected String getProjectName()
public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
- MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
- MojoFailureExceptionprotected String getESBVersion()
protected String getSonicFSProjectRoot()
protected String getSonicFSProjectDir()
protected String getSonicFSResourcesDir()
protected String getSDMDir()
protected abstract void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
- if something goes wrongorg.apache.maven.plugin.MojoFailureException
- if something goes wrongprotected String getSonicEsbSourceDirectoryFromBase()
protected String getClassifier()
protected String getPackageXarDir()
protected String getPackageXarFileDir()
protected String getInlineESBDir()
Copyright © 2019. All Rights Reserved.