org.whitesource.maven
Class CheckPoliciesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.whitesource.maven.WhitesourceMojo
          extended by org.whitesource.maven.AgentMojo
              extended by org.whitesource.maven.CheckPoliciesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="checkPolicies",
      defaultPhase=PACKAGE,
      requiresDependencyResolution=TEST,
      aggregator=true)
public class CheckPoliciesMojo
extends AgentMojo

Send check policies request of open source software usage information to White Source.

Further documentation for the plugin and its usage can be found in the online documentation.

Author:
tom.shapira

Field Summary
 
Fields inherited from class org.whitesource.maven.AgentMojo
excludes, ignore, ignorePomModules, ignoreTestScopeDependencies, includes, moduleTokens, orgToken, outputDirectory, POM, product, productVersion, projectToken, reactorProjects, specialModuleTokens, TYPE
 
Fields inherited from class org.whitesource.maven.WhitesourceMojo
failOnError, mavenProject, projectDependenciesResolver, repoSession, service, session, skip
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CheckPoliciesMojo()
           
 
Method Summary
 void doExecute()
           
 
Methods inherited from class org.whitesource.maven.AgentMojo
collectDependencyStructure, collectDirectDependencies, createLookupTable, debugProjectInfos, extractCoordinates, extractProjectInfos, generateReport, getDependencyInfo, match, matchAny, processProject, shouldProcess
 
Methods inherited from class org.whitesource.maven.WhitesourceMojo
createService, debug, debug, error, error, execute, handleError, info, warn, warn
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckPoliciesMojo

public CheckPoliciesMojo()
Method Detail

doExecute

public void doExecute()
               throws org.apache.maven.plugin.MojoExecutionException,
                      org.apache.maven.plugin.MojoFailureException
Specified by:
doExecute in class WhitesourceMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2011-2014 White Source. All Rights Reserved.