Package org.mortbay.jetty.maven.h2spec
Class Http2SpecMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.mortbay.jetty.maven.h2spec.Http2SpecMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="h2spec",
defaultPhase=INTEGRATION_TEST,
requiresDependencyResolution=TEST,
threadSafe=true)
public class Http2SpecMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
FieldsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()protected voidmarkedFailedTestAsSkipped(Path junitFile) voidsetExcludeSpecs(List<String> excludeSpecs) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
skip
@Parameter(property="maven.test.skip", defaultValue="false") protected boolean skip -
forceSkip
@Parameter(property="h2spec.forceSkip", defaultValue="false") protected boolean forceSkip
-
-
Constructor Details
-
Http2SpecMojo
public Http2SpecMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
markedFailedTestAsSkipped
protected void markedFailedTestAsSkipped(Path junitFile) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException - Throws:
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
setExcludeSpecs
-