com.atlassian.maven.plugins.licenses
Class ListMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.atlassian.maven.plugins.licenses.AbstractLicensesMojo
          extended by com.atlassian.maven.plugins.licenses.ListMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ListMojo
extends AbstractLicensesMojo

Simply prints license information obtained from the POM or inferred from the JAR (i.e. URL to the license found inside the JAR file) for all the dependencies (including transitive) of the specified project. In wiki markup mode - prints the table in Confluence wiki markup format as a table.

Author:
Sherali Karimov

Field Summary
 
Fields inherited from class com.atlassian.maven.plugins.licenses.AbstractLicensesMojo
aggregate, artifactFactory, artifactMetadataSource, excludedLibraries, excludedLibraryList, excludedScopeList, excludedScopes, LICENSE_PATH_OPTIONS, LICENSE_TYPE, localRepository, mavenProjectBuilder, remoteRepositories, resolver
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ListMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class com.atlassian.maven.plugins.licenses.AbstractLicensesMojo
createExclusionFilter, createValidLicenseUrl, findLicenseInRepository, visitDependencyProjects
 
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

ListMojo

public ListMojo()
Method Detail

execute

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


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.