@Mojo(name="publish-scm", aggregator=true, requiresProject=false) public class ScmPublishPublishScmMojo extends AbstractScmPublishMojo
${project.build.directory}/staging
.
Can be used without project, so usable to update any SCM with any content.Modifier and Type | Field and Description |
---|---|
protected MavenProject |
project |
automaticRemotePathCreation, basedir, checkoutDirectory, excludes, extraNormalizeExtensions, ignorePathsToDelete, includes, localCheckout, password, pubScmUrl, scmBranch, scmProvider, scmRepository, scmRepositoryConfigurator, settings, siteOutputEncoding, skipDeletedFiles, tryUpdate, username
Constructor and Description |
---|
ScmPublishPublishScmMojo() |
Modifier and Type | Method and Description |
---|---|
void |
scmPublishExecute() |
addFiles, checkinFiles, checkoutExisting, deleteFiles, execute, isDryRun, logError, logInfo, logWarn, requireNormalizeNewlines, setPubScmUrl
getLog, getPluginContext, setLog, setPluginContext
@Component protected MavenProject project
public void scmPublishExecute() throws MojoExecutionException, MojoFailureException
scmPublishExecute
in class AbstractScmPublishMojo
MojoExecutionException
MojoFailureException
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.