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


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

Some mojos cannot execute if they don't have access to a network connection. If Maven is operating in offline mode, such mojos will cause the build to fail. This flag controls whether the mojo requires Maven to be online. The default is false in MAven.


Optional Element Summary
 boolean value
          The default is true for easy flagging.
 

value

public abstract boolean value
The default is true for easy flagging.

Returns:
true if the mojo goal fails in offline mode (mvn -o).
Default:
true


Copyright © 2006-2009. All Rights Reserved.