org.apache.maven.plugins.release
Class PrepareWithPomReleaseMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugins.release.AbstractReleaseMojo
          extended by org.apache.maven.plugins.release.AbstractScmReleaseMojo
              extended by org.apache.maven.plugins.release.PrepareReleaseMojo
                  extended by org.apache.maven.plugins.release.PrepareWithPomReleaseMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="prepare-with-pom",
      aggregator=true,
      requiresDependencyResolution=TEST)
public class PrepareWithPomReleaseMojo
extends PrepareReleaseMojo

Prepare for a release in SCM, fully resolving dependencies for the purpose of producing a "release POM".

Since:
2.0
Author:
Brett Porter

Field Summary
 
Fields inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
project, releaseManager, session
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PrepareWithPomReleaseMojo()
           
 
Method Summary
 void execute()
          
 
Methods inherited from class org.apache.maven.plugins.release.PrepareReleaseMojo
prepareRelease
 
Methods inherited from class org.apache.maven.plugins.release.AbstractScmReleaseMojo
createReleaseDescriptor
 
Methods inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
addArgument, getAdditionalProfiles, getBasedir, getReactorProjects, getReleaseEnvironment, mergeCommandLineConfig, setBasedir
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrepareWithPomReleaseMojo

public PrepareWithPomReleaseMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Description copied from class: PrepareReleaseMojo

Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class PrepareReleaseMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.