Package com.hack23.maven.plugin
Class SonarQualityGatesMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.hack23.maven.plugin.SonarQualityGatesMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="inspect") public class SonarQualityGatesMojo extends org.apache.maven.plugin.AbstractMojo
The Class SonarQualityGatesMojo.
-
-
Constructor Summary
Constructors Constructor Description SonarQualityGatesMojo()
Instantiates a new sonar quality gates mojo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addCredentials(com.mashape.unirest.request.HttpRequest request)
read auth configuration and update request, if valid values foundvoid
execute()
Execute.
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
Execute.- Throws:
org.apache.maven.plugin.MojoExecutionException
- the mojo execution exceptionorg.apache.maven.plugin.MojoFailureException
- the mojo failure exception
-
addCredentials
protected void addCredentials(com.mashape.unirest.request.HttpRequest request)
read auth configuration and update request, if valid values found- Parameters:
request
- request to enhance with credentials
-
-