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.ScmPublishPublishScmMojo
All Implemented Interfaces:
ContextEnabled, Mojo

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

Publish a content to scm. 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  MavenProject project
           
 
Fields inherited from class org.apache.maven.plugins.scmpublish.AbstractScmPublishMojo
automaticRemotePathCreation, basedir, checkoutDirectory, excludes, extraNormalizeExtensions, ignorePathsToDelete, includes, localCheckout, password, pubScmUrl, scmBranch, scmProvider, scmRepository, scmRepositoryConfigurator, 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.AbstractScmPublishMojo
addFiles, checkinFiles, checkoutExisting, deleteFiles, execute, isDryRun, logError, logInfo, logWarn, requireNormalizeNewlines
 
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 MavenProject project
Constructor Detail

ScmPublishPublishScmMojo

public ScmPublishPublishScmMojo()
Method Detail

scmPublishExecute

public void scmPublishExecute()
                       throws MojoExecutionException,
                              MojoFailureException
Specified by:
scmPublishExecute in class AbstractScmPublishMojo
Throws:
MojoExecutionException
MojoFailureException


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