Package org.netbeans.apitest
Class SigtestCheck
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.netbeans.apitest.SigtestCheck
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="check",
requiresDependencyResolution=TEST,
defaultPhase=TEST)
public final class SigtestCheck
extends org.apache.maven.plugin.AbstractMojo
Mojo to check
.class files against an existing .sigtest
file.
<plugin>
<groupId>org.netbeans.tools</groupId>
<artifactId>sigtest-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<packages>org.yourcompany.app.api,org.yourcompany.help.api</packages>
<releaseVersion>1.3</releaseVersion>
<release>8</release> <!-- specify version of JDK API to use 6,7,8,...15 -->
</configuration>
</plugin>
- Author:
- Jaroslav Tulach
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
SigtestCheck
public SigtestCheck()
-
-
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
-