Plugin Documentation

Goals available for this plugin:

GoalDescription
timemachine:excludeGoal 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.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven2.0.6
JDK1.4
MemoryNo minimum requirement.
Disk SpaceNo minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>ch.syabru.maven.plugins</groupId>
          <artifactId>maven-timemachine-plugin</artifactId>
          <version>1.0.0</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>ch.syabru.maven.plugins</groupId>
        <artifactId>maven-timemachine-plugin</artifactId>
        <version>1.0.0</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"