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.ScmPublishPublishMojo
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.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 |
| 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 |
project
@Component
protected org.apache.maven.project.MavenProject project
ScmPublishPublishScmMojo
public ScmPublishPublishScmMojo()
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.