com.versioneye
Class JsonMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.versioneye.SuperMojo
          extended by com.versioneye.ProjectMojo
              extended by com.versioneye.JsonMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="json",
      defaultPhase=PROCESS_SOURCES)
public class JsonMojo
extends ProjectMojo

Writes all direct dependencies into a JSON file.


Field Summary
 
Fields inherited from class com.versioneye.SuperMojo
apiKey, apiPath, baseUrl, homeDirectory, homeProperties, outputDirectory, project, projectDirectory, projectId, properties, propertiesFile, propertiesPath, repos, session, system
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JsonMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class com.versioneye.ProjectMojo
getDependencyNode, getDirectArtifactsJsonStream, getDirectDependenciesJsonStream
 
Methods inherited from class com.versioneye.SuperMojo
fetchApiKey, fetchHomeProperties, fetchProjectId, fetchProjectProperties, fetchPropertiesFor, getPropertiesPath, initTls, writeProperties
 
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

JsonMojo

public JsonMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class SuperMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2014. All rights reserved.