com.atlassian.maven.plugins.licenses.mojos
Class ValidateMojo

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

public class ValidateMojo
extends AbstractLicensesMojo

Simply tries to resolve license artifacts and fails if they cannot be found.


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

ValidateMojo

public ValidateMojo()
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.