org.apache.maven.plugins.scmpublish
Class ScmPublishPublishScmMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugins.scmpublish.AbstractScmPublishMojo
          extended by org.apache.maven.plugins.scmpublish.ScmPublishPublishMojo
              extended by org.apache.maven.plugins.scmpublish.ScmPublishPublishScmMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="publish-scm",
      aggregator=true,
      requiresProject=false)
public class ScmPublishPublishScmMojo
extends ScmPublishPublishMojo

Publish a content to scm in one step. By default, content is taken from default site staging directory ${project.build.directory}/staging. Can be used without project, so usable to update any SCM with any content.


Field Summary
protected  org.apache.maven.project.MavenProject project
           
 
Fields inherited from class org.apache.maven.plugins.scmpublish.ScmPublishPublishMojo
extraNormalizeExtensions
 
Fields inherited from class org.apache.maven.plugins.scmpublish.AbstractScmPublishMojo
automaticRemotePathCreation, basedir, checkoutDirectory, excludes, ignorePathsToDelete, includes, inventoryFile, localCheckout, password, pubScmUrl, scmBranch, scmProvider, scmRepository, scmRepositoryConfigurator, session, settings, siteOutputEncoding, skipDeletedFiles, tryUpdate, username
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ScmPublishPublishScmMojo()
           
 
Method Summary
 void scmPublishExecute()
           
 
Methods inherited from class org.apache.maven.plugins.scmpublish.ScmPublishPublishMojo
addFiles, checkinFiles, deleteFiles, isDryRun, requireNormalizeNewlines
 
Methods inherited from class org.apache.maven.plugins.scmpublish.AbstractScmPublishMojo
checkoutExisting, execute, logError, logInfo, setupScm
 
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
 

Field Detail

project

@Component
protected org.apache.maven.project.MavenProject project
Constructor Detail

ScmPublishPublishScmMojo

public ScmPublishPublishScmMojo()
Method Detail

scmPublishExecute

public void scmPublishExecute()
                       throws org.apache.maven.plugin.MojoExecutionException,
                              org.apache.maven.plugin.MojoFailureException
Overrides:
scmPublishExecute in class ScmPublishPublishMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


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