org.apache.geronimo.mavenplugins.car
Class PlanProcessorMojo
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.geronimo.mavenplugins.car.AbstractCarMojo
org.apache.geronimo.mavenplugins.car.PlanProcessorMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.Mojo, org.codehaus.plexus.logging.LogEnabled
public class PlanProcessorMojo
- extends AbstractCarMojo
Add module id and dependencies to a plan and process with velocity
- Version:
- $Rev: 942436 $ $Date: 2010-05-09 02:23:24 +0800 (Sun, 09 May 2010) $
|
Field Summary |
protected java.io.File |
filteredPlanFile
we copy the plan here for filtering, then add env stuff. |
protected java.io.File |
sourceFile
Location of unproccesed plan, normally missing moduleId and dependencies. |
protected java.io.File |
targetDir
Directory to put the processed plan in. |
protected java.io.File |
targetFile
XXX |
| Fields inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo |
artifactFactory, artifactRepository, basedir, dependencyArtifacts, encoding, escapeString, localDependencies, mavenFileFilter, mavenResourcesFiltering, project, projectHelper, session, systemProperties, treeListing |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo |
cleanup, filter, generateExplicitVersionProperties, geronimoToMavenArtifact, getArchiveFile, getArtifactRepository, getDependencies, getFramework, getLog, getModuleId, getProject, includeDependency, init, isModuleArtifact, mavenToGeronimoArtifact, mavenToGeronimoArtifact, resolveArtifact, resolveDependency, setLog, setSystemProperties, toDependencies, toGeronimoDependency, unsetSystemProperties |
| Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sourceFile
protected java.io.File sourceFile
- Location of unproccesed plan, normally missing moduleId and dependencies.
targetDir
protected java.io.File targetDir
- Directory to put the processed plan in.
targetFile
protected java.io.File targetFile
- XXX
filteredPlanFile
protected java.io.File filteredPlanFile
- we copy the plan here for filtering, then add env stuff.
PlanProcessorMojo
public PlanProcessorMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
toKernelDependencies
protected java.util.LinkedHashSet<Dependency> toKernelDependencies(UseMavenDependencies useMavenDependencies)
throws org.apache.maven.project.artifact.InvalidDependencyVersionException,
org.apache.maven.artifact.resolver.ArtifactResolutionException,
org.apache.maven.project.ProjectBuildingException,
org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.project.artifact.InvalidDependencyVersionException
org.apache.maven.artifact.resolver.ArtifactResolutionException
org.apache.maven.project.ProjectBuildingException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2003-2012 The Apache Geronimo development community. All Rights Reserved.