Package org.codehaus.mojo.cassandra
Class DeleteCassandraMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.cassandra.DeleteCassandraMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="delete", threadSafe=true) public class DeleteCassandraMojo extends org.apache.maven.plugin.AbstractMojo
Deletes the Cassandra home directory that we create for running Cassandra.- Author:
- stephenc
-
-
Field Summary
Fields Modifier and Type Field Description protected File
cassandraDir
The directory to hold cassandra's database.protected boolean
failOnError
Fail execution in case of error.
-
Constructor Summary
Constructors Constructor Description DeleteCassandraMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
-
-
Field Detail
-
cassandraDir
@Parameter(defaultValue="${project.build.directory}/cassandra") protected File cassandraDir
The directory to hold cassandra's database.
-
failOnError
@Parameter(property="cassandra.failOnError", defaultValue="true") protected boolean failOnError
Fail execution in case of error.- Since:
- 2.0.0-1
-
-