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

com.sourceclear.plugins.Lifecycle Maven / Gradle / Ivy

Go to download

The SRC:CLR Maven Plugin analyzes the dependencies of your project, both immediate and transitive, to see if you are including any known security vulnerabilities through third-party packages in your project.

There is a newer version: 3.1.25
Show newest version
/*
 * © Copyright -  SourceClear Inc
 */

package com.sourceclear.plugins;

import com.sourceclear.util.config.EnvironmentProvider;
import com.srcclr.sdk.LibraryGraphContainer;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;

/**
 *
 */
public interface Lifecycle {

  /**
   * Handles some configuration issues. Essentially, looks to see if we have certain maven parameters. If the
   * parameters aren't present, we dig around in some SRC:CLR config files and environment variables to attempt to fill
   * in those parameters.
   *
   * @throws MojoFailureException when no apiToken is specified, when the SRC:CLR platform URI is malformed, etc.
   */
  void configure(EnvironmentProvider environmentProvider) throws MojoFailureException;

  void execute(LibraryGraphContainer dependencyTree) throws MojoExecutionException, MojoFailureException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy