externals:dirsync

Full name:

org.kuali.maven.plugins:externals-maven-plugin:1.0.9-SNAPSHOT:dirsync

Description:

This mojo examines oldDir for any files that are not also in newDir. If it finds any, it deletes them from Subversion.

Attributes:

  • Requires a Maven project to be executed.

Required Parameters

Name Type Since Description
newDir File - This is the directory containing files that should be under version control.
User property is: externals.newDir.
oldDir File - This is the directory containing files that are already under version control.
User property is: externals.oldDir.

Optional Parameters

Name Type Since Description
commitMessage String - The message to associate with the commit
Default value is: Sync directories.
User property is: externals.commitMessage.
excludes String - CSV list of regex patterns for files that should be excluded
Default value is: **/.svn/**,**/.git/**.
User property is: externals.exclude.
includes String - CSV list of regex patterns for files that should be included
Default value is: **/*.
User property is: externals.include.

Parameter Details

commitMessage:

The message to associate with the commit
  • Type: java.lang.String
  • Required: No
  • User Property: externals.commitMessage
  • Default: Sync directories

excludes:

CSV list of regex patterns for files that should be excluded
  • Type: java.lang.String
  • Required: No
  • User Property: externals.exclude
  • Default: **/.svn/**,**/.git/**

includes:

CSV list of regex patterns for files that should be included
  • Type: java.lang.String
  • Required: No
  • User Property: externals.include
  • Default: **/*

newDir:

This is the directory containing files that should be under version control.
  • Type: java.io.File
  • Required: Yes
  • User Property: externals.newDir

oldDir:

This is the directory containing files that are already under version control.
  • Type: java.io.File
  • Required: Yes
  • User Property: externals.oldDir