Package ch.ivyteam.ivy.maven.compile
Class AbstractEngineInstanceMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ch.ivyteam.ivy.maven.AbstractEngineMojo
ch.ivyteam.ivy.maven.compile.AbstractEngineInstanceMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
AbstractProjectCompileMojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected File
Home application where the project to build and its dependencies will be temporary deployed.org.apache.maven.artifact.repository.ArtifactRepository
org.apache.maven.project.MavenProject
Fields inherited from class ch.ivyteam.ivy.maven.AbstractEngineMojo
DEFAULT_VERSION, ENGINE_DIRECTORY_PROPERTY, engineCacheDirectory, engineDirectory, ivyVersion, MINIMAL_COMPATIBLE_VERSION
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
engineExec
(MavenProjectBuilderProxy projectBuilder) final void
execute()
final EngineClassLoaderFactory
protected MavenProjectBuilderProxy
Methods inherited from class ch.ivyteam.ivy.maven.AbstractEngineMojo
findMatchingEngineInCacheDirectory, getInstalledEngineVersion, getIvyVersionRange, getRawEngineDirectory, identifyAndGetEngineDirectory, isEngineDirectoryIdentified
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
project
@Parameter(property="project", required=true, readonly=true) public org.apache.maven.project.MavenProject project -
buildApplicationDirectory
@Parameter(defaultValue="${project.build.directory}/ivyBuildApp") protected File buildApplicationDirectoryHome application where the project to build and its dependencies will be temporary deployed. -
localRepository
@Parameter(defaultValue="${localRepository}") public org.apache.maven.artifact.repository.ArtifactRepository localRepository
-
-
Constructor Details
-
AbstractEngineInstanceMojo
public AbstractEngineInstanceMojo()
-
-
Method Details
-
execute
public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
engineExec
- Throws:
Exception
-
getMavenProjectBuilder
- Throws:
Exception
-
getEngineClassloaderFactory
-