@Mojo(name="basics",
requiresDependencyResolution=TEST,
defaultPhase=TEST_COMPILE,
threadSafe=true)
public class BasicChecksMojo
extends org.apache.maven.plugin.AbstractMojo
To run this check add goal "basics" to the plugin executions in your pom.xml file. Example:
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>roz-maven-plugin</artifactId>
<version>${roz.plugin.version}</version>
<configuration>
<basicsFail>true</basicsFail>
</configuration>
<executions>
<execution>
<id>basic</id>
<goals>
<goal>basics</goal>
</goals>
</execution>
</executions>
</plugin>
The results of the checks are going to appear in your terminal.
You can make your build fail if any of the checks failed by either specifying
in your plugin configuration or by using system property roz.basics.fail = true| Constructor and Description |
|---|
BasicChecksMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
Copyright © 2017 Atlassian. All rights reserved.