net.surguy.maven.licensing
Class LicenseCheckerMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.surguy.maven.licensing.LicenseCheckerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class LicenseCheckerMojo
extends org.apache.maven.plugin.AbstractMojo

Maven plugin to display the licenses of all dependencies, if they are specified in the POM.

Invoke from the command-line with "net.surguy:maven-displaylicense-plugin:displaylicense".

The majority of the code for this plugin is in Scala - this is only a Java wrapper so Maven's Javadoc-based dependency injection can be used.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LicenseCheckerMojo()
           
 
Method Summary
 void execute()
           
 
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

LicenseCheckerMojo

public LicenseCheckerMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2012. All Rights Reserved.