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:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class PrepareWithPomReleaseMojo
extends PrepareReleaseMojo

Prepare for a release in SCM, fully resolving dependencies for the purpose of producing a "release POM". For more info see this example.

Since:
2.0
Author:
Brett Porter

Field Summary
 
Fields inherited from class org.apache.maven.plugins.release.PrepareReleaseMojo
session
 
Fields inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
basedir, javaHome, localRepoDirectory, mavenExecutorId, mavenHome, project, reactorProjects, releaseManager, settings
 
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, getReactorProjects, getReleaseEnvironment, 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-2010 The Apache Software Foundation. All Rights Reserved.