ch.syabru.maven.timemachine
Class TimeMachineMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by ch.syabru.maven.timemachine.TimeMachineMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class TimeMachineMojo
extends org.apache.maven.plugin.AbstractMojo

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.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TimeMachineMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeMachineMojo

public TimeMachineMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2010 Syabru. All Rights Reserved.