timemachine:exclude

Full name:

ch.syabru.maven.plugins:maven-timemachine-plugin:1.0.0:exclude

Description:

Goal which excludes ${project.build.directory} from TimeMachine backup. This plugin adds an extended attribute called com.apple.metadata:com_apple_backup_excludeItem = "com.apple.backupd" to the output directory which excludes the directory from being backed up by TimeMachine. The plugin only runs when run on MAC OS X.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: initialize.

Required Parameters

Name Type Since Description
outputDirectory File - Location of the build directory.

Parameter Details

outputDirectory:

Location of the build directory.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.directory}