org.terracotta.maven.plugins.tc
Class ManifestMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.terracotta.maven.plugins.tc.ManifestMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Generate Manifest for Terracotta Integration Module (TIM)

Author:
Eugene Kuleshov

Field Summary
protected  org.apache.maven.artifact.repository.ArtifactRepository localRepository
          ArtifactRepository of the localRepository.
protected  org.apache.maven.project.MavenProject project
          Maven project
protected  java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories
          Remote repositories declared in the project pom
protected  DsoArtifactResolver resolver
          DSO artifact resolver
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ManifestMojo()
           
 
Method Summary
protected  java.util.jar.Manifest createManifest()
           
 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
 

Field Detail

project

protected org.apache.maven.project.MavenProject project
Maven project


resolver

protected DsoArtifactResolver resolver
DSO artifact resolver


localRepository

protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
ArtifactRepository of the localRepository. To obtain the directory of localRepository in unit tests use System.setProperty("localRepository").


remoteRepositories

protected java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories
Remote repositories declared in the project pom

Constructor Detail

ManifestMojo

public ManifestMojo()
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

createManifest

protected java.util.jar.Manifest createManifest()
                                         throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.