org.apache.geronimo.mavenplugins.car
Class DependencyChangeMojo

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.geronimo.mavenplugins.car.AbstractCarMojo
          extended by org.apache.geronimo.mavenplugins.car.DependencyChangeMojo
All Implemented Interfaces:
org.apache.maven.plugin.Mojo, org.codehaus.plexus.logging.LogEnabled

public class DependencyChangeMojo
extends AbstractCarMojo

Check if the dependencies have changed

Version:
$Rev: 785480 $ $Date: 2009-06-16 23:06:16 -0700 (Tue, 16 Jun 2009) $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo
AbstractCarMojo.ArtifactLookupImpl
 
Field Summary
 
Fields inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo
artifactFactory, artifactRepository, basedir, encoding, escapeString, localDependencies, mavenFileFilter, mavenResourcesFiltering, project, session, treeListing
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DependencyChangeMojo()
           
 
Method Summary
 void execute()
           
protected  void saveDependencyChanges(Collection<Dependency> dependencies, PluginArtifactType removed)
           
protected  File saveTreeListing()
           
 
Methods inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo
filter, generateExplicitVersionProperties, geronimoToMavenArtifact, getArchiveFile, getArtifactRepository, getDependencies, getLog, getModuleId, getProject, includeDependency, init, isModuleArtifact, mavenToGeronimoArtifact, mavenToGeronimoArtifact, resolveArtifact, resolveDependency, setLog, toDependencies, toGeronimoDependency
 
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
 

Constructor Detail

DependencyChangeMojo

public DependencyChangeMojo()
Method Detail

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

saveDependencyChanges

protected void saveDependencyChanges(Collection<Dependency> dependencies,
                                     PluginArtifactType removed)
                              throws Exception
Throws:
Exception

saveTreeListing

protected File saveTreeListing()
                        throws IOException
Throws:
IOException


Copyright © 2003-2009 The Apache Geronimo development community. All Rights Reserved.