org.apache.maven.plugins.scmpublish
Class ScmPublishPublishScmMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.scmpublish.AbstractScmPublishMojo
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.
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
project
@Component
protected MavenProject project
ScmPublishPublishScmMojo
public ScmPublishPublishScmMojo()
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.