public abstract class AbstractSwarmMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
additionalModules |
protected Properties |
environment |
protected String |
environmentFile |
protected String |
mainClass |
protected org.apache.maven.project.MavenProject |
project |
protected String |
projectBuildDir |
protected Properties |
properties |
protected String |
propertiesFile |
protected List<org.apache.maven.artifact.repository.ArtifactRepository> |
remoteRepositories |
protected org.eclipse.aether.DefaultRepositorySystemSession |
repositorySystemSession |
protected static String |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initEnvironment() |
protected void |
initProperties(boolean withMaven) |
protected static Properties |
loadProperties(File file) |
protected static Properties |
loadProperties(InputStream in) |
protected static Properties |
loadProperties(String file) |
getLog, getPluginContext, setLog, setPluginContextprotected static String VERSION
@Parameter(defaultValue="${project}",
readonly=true)
protected org.apache.maven.project.MavenProject project
@Parameter(defaultValue="${repositorySystemSession}",
readonly=true)
protected org.eclipse.aether.DefaultRepositorySystemSession repositorySystemSession
@Parameter(defaultValue="${project.remoteArtifactRepositories}",
readonly=true)
protected List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories
@Parameter(defaultValue="${project.build.directory}")
protected String projectBuildDir
@Parameter(alias="mainClass") protected String mainClass
@Parameter(alias="properties") protected Properties properties
@Parameter(alias="propertiesFile") protected String propertiesFile
@Parameter(alias="environment") protected Properties environment
@Parameter(alias="environmentFile") protected String environmentFile
@Parameter(alias="modules") protected String[] additionalModules
protected static Properties loadProperties(InputStream in) throws IOException
IOExceptionprotected static Properties loadProperties(String file) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected static Properties loadProperties(File file) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void initProperties(boolean withMaven)
throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void initEnvironment()
throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.