ch.syabru.maven.timemachine
Class TimeMachineMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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.
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
TimeMachineMojo
public TimeMachineMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2010 Syabru. All Rights Reserved.