org.sonar.server.mavendeployer
Class Mojo

java.lang.Object
  extended by org.sonar.server.mavendeployer.Artifact
      extended by org.sonar.server.mavendeployer.Mojo

public final class Mojo
extends Artifact


Field Summary
 
Fields inherited from class org.sonar.server.mavendeployer.Artifact
BASE_GROUP_ID, jar, version
 
Method Summary
protected  void copyTo(File toDir)
           
protected  void copyTo(File toDir, File temporaryDir)
           
static Mojo createMaven2Plugin(String version, File jar)
           
protected  String getTemplatePath()
           
protected  String updateVersion(String metadata, String version)
           
 
Methods inherited from class org.sonar.server.mavendeployer.Artifact
createDir, deployTo, equals, getArtifactId, getArtifactName, getGroupId, getMetadata, getPom, getVersion, getXmlDefinition, hashCode, saveMetadata, toString, transformFromTemplatePath
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

createMaven2Plugin

public static Mojo createMaven2Plugin(String version,
                                      File jar)

getTemplatePath

protected String getTemplatePath()
Overrides:
getTemplatePath in class Artifact

copyTo

protected void copyTo(File toDir)
               throws IOException
Overrides:
copyTo in class Artifact
Throws:
IOException

copyTo

protected void copyTo(File toDir,
                      File temporaryDir)
               throws IOException
Throws:
IOException

updateVersion

protected String updateVersion(String metadata,
                               String version)


Copyright © 2009-2012 SonarSource. All Rights Reserved.