externals:dirsync

Full name:

org.kuali.maven.plugins:externals-maven-plugin:1.0.8: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.
oldDir File - This is the directory containing files that are already under version control.

Optional Parameters

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

Parameter Details

commitMessage:

The message to associate with the commit
  • Type: java.lang.String
  • Required: No
  • Expression: ${externals.commitMessage}
  • Default: Sync directories

excludes:

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

includes:

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

newDir:

This is the directory containing files that should be under version control.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${externals.newDir}

oldDir:

This is the directory containing files that are already under version control.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${externals.oldDir}