org.jfrog.maven.annomojo.annotations
Annotation Type MojoRequiresProject


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
public @interface MojoRequiresProject

Tells Maven that a valid project instance must be present for this mojo to execute. The default in maven is true.


Optional Element Summary
 boolean value
          The default is true for annotation readability.
 

value

public abstract boolean value
The default is true for annotation readability. NOTE: Adding this annotation will not change the default maven behavior that sets this to true.

Returns:
false if the mojo can be excuted without a POM file
Default:
true


Copyright © 2006-2009. All Rights Reserved.