All Downloads are FREE. Search and download functionalities are using the official Maven repository.

br.com.softplan.security.zap.maven.StartZapMojo Maven / Gradle / Ivy

There is a newer version: 1.2.1-0
Show newest version
package br.com.softplan.security.zap.maven;

import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.annotations.Mojo;

import br.com.softplan.security.zap.commons.boot.Zap;

/**
 * Starts ZAP.
 * 

* Normally this goal will be used along with the {@code seleniumAnalyze} goal. *

* The usual configuration is to use {@code startZap} in the pre-integration-test, * to make sure ZAP is running during the tests. If the tests are correctly configured, * they will use ZAP's proxy to run the tests. The goal {@code seleniumAnalyze} can then * be configured to run in the phase post-integration-test to run a ZAP analysis * without a Spider (using the navigation done by the tests). * * @author pdsec */ @Mojo(name="startZap") public class StartZapMojo extends ZapMojo { @Override public void execute() throws MojoExecutionException, MojoFailureException { Zap.startZap(buildZapInfo()); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy