@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 org.apache.maven.project.MavenProject |
project |
addUniqueDirectory, automaticRemotePathCreation, basedir, checkoutDirectory, excludes, extraNormalizeExtensions, ignorePathsToDelete, includes, localCheckout, password, pubScmUrl, scmBranch, scmProvider, scmRepository, scmRepositoryConfigurator, settings, siteOutputEncoding, skipDeletedFiles, subDirectory, 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@Parameter(defaultValue="${project}",
readonly=true,
required=true)
protected org.apache.maven.project.MavenProject project
public void scmPublishExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
scmPublishExecute in class AbstractScmPublishMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.