org.jboss.maven.plugins.thirdparty
Class BuildThirdpartyMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jboss.maven.plugins.thirdparty.BuildThirdpartyMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Maven goal for generating a thirdparty directory structure using artifact downloaded from a maven repository.

Since:
2.0
Version:
$Revision: 188127 $
Author:
Paul Gier

Field Summary
protected  org.apache.maven.project.MavenProject project
          The Maven Project Object
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
BuildThirdpartyMojo()
           
 
Method Summary
 void copyResources(java.io.File resourceDirectory, java.io.File outputDirectory)
           
 void execute()
          Main execution path of the plugin.
 void generateLibrariesEnt(java.util.Map compInfoMap)
           
 
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
The Maven Project Object

Constructor Detail

BuildThirdpartyMojo

public BuildThirdpartyMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Main execution path of the plugin. Copies downloaded dependencies to thirdparty directory and generates component-info.xml files.

Throws:
org.apache.maven.plugin.MojoExecutionException

copyResources

public void copyResources(java.io.File resourceDirectory,
                          java.io.File outputDirectory)
                   throws java.io.IOException
Throws:
java.io.IOException

generateLibrariesEnt

public void generateLibrariesEnt(java.util.Map compInfoMap)
                          throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2007-2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.