org.apache.maven.plugins.scmpublish
Class ScmPublishInventory
java.lang.Object
org.apache.maven.plugins.scmpublish.ScmPublishInventory
public class ScmPublishInventory
- extends Object
A class designed for json serialization to store the existing inventory, if any. In this version, there's no attempt
to account for directories as managed items.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScmPublishInventory
public ScmPublishInventory()
listInventoryFiles
public static List<File> listInventoryFiles(File basedir,
String ignoreFile)
writeInventory
public static List<File> writeInventory(List<File> inventory,
File inventoryFile)
throws org.apache.maven.plugin.MojoFailureException
- Create a list of all the files in the checkout (which we will presently remove). For now, duck anything that
starts with a ., since the site plugin won't make any and it will dodge metadata I'm familiar with. None if this
is really good enough for safe usage with exotics like clearcase. Perhaps protest if anything other than svn or
git? Or use http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/AbstractScanner.html#DEFAULTEXCLUDES?
- Throws:
org.apache.maven.plugin.MojoFailureException
readInventory
public static List<File> readInventory(File inventoryFile)
throws org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoFailureException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.