org.apache.maven.plugins.scmpublish
Class ScmPublishPublishMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugins.scmpublish.AbstractScmPublishMojo
          extended by org.apache.maven.plugins.scmpublish.ScmPublishPublishMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
ScmPublishPublishScmMojo

Deprecated. superseded by publish-scm which does the same in on step only and has more features

@Mojo(name="publish",
      defaultPhase=POST_SITE,
      aggregator=true)
public class ScmPublishPublishMojo
extends AbstractScmPublishMojo

Compare 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

extraNormalizeExtensions

@Parameter
protected String[] extraNormalizeExtensions
Deprecated. 
extra file extensions to normalize line ending (will be added to list html,css,js)

Constructor Detail

ScmPublishPublishMojo

public ScmPublishPublishMojo()
Deprecated. 
Method Detail

requireNormalizeNewlines

protected boolean requireNormalizeNewlines(File f)
                                    throws IOException
Deprecated. 
Throws:
IOException

scmPublishExecute

public void scmPublishExecute()
                       throws org.apache.maven.plugin.MojoExecutionException,
                              org.apache.maven.plugin.MojoFailureException
Deprecated. 
Specified by:
scmPublishExecute in class AbstractScmPublishMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

checkinFiles

protected void checkinFiles()
                     throws org.apache.maven.plugin.MojoExecutionException
Deprecated. 
Check-in content from scm checkout.

Throws:
org.apache.maven.plugin.MojoExecutionException

deleteFiles

protected void deleteFiles(Collection<File> deleted)
                    throws org.apache.maven.plugin.MojoExecutionException
Deprecated. 
Throws:
org.apache.maven.plugin.MojoExecutionException

addFiles

protected void addFiles(Collection<File> added)
                 throws org.apache.maven.plugin.MojoFailureException,
                        org.apache.maven.plugin.MojoExecutionException
Deprecated. 
Add files to scm.

Parameters:
added - files to be added
Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException

isDryRun

public boolean isDryRun()
Deprecated. 


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.