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.PrepareReleaseMojo
              extended by org.apache.maven.plugins.release.PrepareWithPomReleaseMojo
All Implemented Interfaces:
ContextEnabled, Mojo

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
Aggregates the Maven project and its child modules.
Is defined by the goal name:
prepare-with-pom
Requires the dependencies in this specified scope:
test

Field Summary
 
Fields inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
mavenHome, 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.AbstractReleaseMojo
addArgument, createReleaseDescriptor, 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 MojoExecutionException,
                    MojoFailureException
Description copied from class: PrepareReleaseMojo

Specified by:
execute in interface Mojo
Overrides:
execute in class PrepareReleaseMojo
Throws:
MojoExecutionException
MojoFailureException


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