com.atlassian.maven.plugins.pdk
Class BasePdkMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.atlassian.maven.plugins.pdk.BasePdkMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
BasePluginServerMojo, BundleJarsMojo, GenerateWarMojo

public abstract class BasePdkMojo
extends org.apache.maven.plugin.AbstractMojo


Field Summary
protected  org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
           
protected  org.apache.maven.artifact.repository.ArtifactRepository localRepository
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
BasePdkMojo()
           
 
Method Summary
protected static void copy(java.io.File source, java.io.File dest)
          Fast & simple file copy.
protected  void copyFiles(java.io.File source, java.io.File dest)
           
protected  org.apache.maven.artifact.Artifact getArtifact(java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.lang.String type)
           
protected  java.lang.String urlEncode(java.lang.String text)
           
 
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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Field Detail

localRepository

protected org.apache.maven.artifact.repository.ArtifactRepository localRepository

artifactFactory

protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
Constructor Detail

BasePdkMojo

public BasePdkMojo()
Method Detail

copyFiles

protected void copyFiles(java.io.File source,
                         java.io.File dest)

copy

protected static void copy(java.io.File source,
                           java.io.File dest)
                    throws java.io.IOException
Fast & simple file copy.

Parameters:
source - The source file.
dest - The destination file.
Throws:
java.io.IOException - if there is a problem while copying.

getArtifact

protected org.apache.maven.artifact.Artifact getArtifact(java.lang.String groupId,
                                                         java.lang.String artifactId,
                                                         java.lang.String version,
                                                         java.lang.String type)

urlEncode

protected java.lang.String urlEncode(java.lang.String text)


Copyright © 2009 Adaptavist.com Ltd. All Rights Reserved.