com.versioneye
Class SuperMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.versioneye.SuperMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- PingMojo, ProjectMojo
public class SuperMojo
- extends org.apache.maven.plugin.AbstractMojo
The Mother of all Mojos!
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
propertiesFile
protected static final String propertiesFile
- See Also:
- Constant Field Values
system
@Component
protected org.eclipse.aether.RepositorySystem system
project
@Parameter(defaultValue="${project}")
protected org.apache.maven.project.MavenProject project
session
@Parameter(defaultValue="${repositorySystemSession}")
protected org.eclipse.aether.RepositorySystemSession session
repos
@Parameter(defaultValue="${project.remoteProjectRepositories}")
protected List<org.eclipse.aether.repository.RemoteRepository> repos
projectDirectory
@Parameter(defaultValue="${basedir}",
property="basedir",
required=true)
protected File projectDirectory
outputDirectory
@Parameter(defaultValue="${project.build.directory}",
property="outputDir",
required=true)
protected File outputDirectory
homeDirectory
@Parameter(defaultValue="${user.home}")
protected File homeDirectory
baseUrl
@Parameter(property="baseUrl",
defaultValue="https://www.versioneye.com")
protected String baseUrl
apiPath
@Parameter(property="apiPath",
defaultValue="/api/v2")
protected String apiPath
projectId
@Parameter(property="projectId")
protected String projectId
apiKey
@Parameter(property="apiKey")
protected String apiKey
propertiesPath
@Parameter(property="propertiesPath")
protected String propertiesPath
properties
protected Properties properties
homeProperties
protected Properties homeProperties
SuperMojo
public SuperMojo()
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
fetchApiKey
protected String fetchApiKey()
throws Exception
- Throws:
Exception
fetchProjectId
protected String fetchProjectId()
throws Exception
- Throws:
Exception
fetchPropertiesFor
protected Properties fetchPropertiesFor(String key)
throws Exception
- Throws:
Exception
fetchProjectProperties
protected Properties fetchProjectProperties()
throws Exception
- Throws:
Exception
fetchHomeProperties
protected Properties fetchHomeProperties()
throws Exception
- Throws:
Exception
getPropertiesPath
protected String getPropertiesPath()
throws Exception
- Throws:
Exception
writeProperties
protected void writeProperties(ProjectJsonResponse response)
throws Exception
- Throws:
Exception
initTls
protected void initTls()
Copyright © 2014. All rights reserved.