|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.scmpublish.AbstractScmPublishMojo
org.apache.maven.plugins.scmpublish.ScmPublishPublishMojo
@Mojo(name="publish",
defaultPhase=POST_SITE,
aggregator=true)
public class ScmPublishPublishMojoCompare the list of files now on disk to the original inventory, then fire off scm adds and deletes as needed.
| Field Summary | |
|---|---|
protected String[] |
extraNormalizeExtensions
Deprecated. extra file extensions to normalize line ending (will be added to list html,css,js) |
| 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 |
| Constructor Summary | |
|---|---|
ScmPublishPublishMojo()
Deprecated. |
|
| Method Summary | |
|---|---|
protected void |
addFiles(Collection<File> added)
Deprecated. Add files to scm. |
protected void |
checkinFiles()
Deprecated. Check-in content from scm checkout. |
protected void |
deleteFiles(Collection<File> deleted)
Deprecated. |
boolean |
isDryRun()
Deprecated. |
protected boolean |
requireNormalizeNewlines(File f)
Deprecated. |
void |
scmPublishExecute()
Deprecated. |
| Methods inherited from class org.apache.maven.plugins.scmpublish.AbstractScmPublishMojo |
|---|
checkoutExisting, execute, logError, logInfo, setupScm |
| 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 |
|---|
@Parameter protected String[] extraNormalizeExtensions
| Constructor Detail |
|---|
public ScmPublishPublishMojo()
| Method Detail |
|---|
protected boolean requireNormalizeNewlines(File f)
throws IOException
IOException
public void scmPublishExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
scmPublishExecute in class AbstractScmPublishMojoorg.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected void checkinFiles()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void deleteFiles(Collection<File> deleted)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void addFiles(Collection<File> added)
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
added - files to be added
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionpublic boolean isDryRun()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||