org.sonar.server.mavendeployer
Class Mojo
java.lang.Object
org.sonar.server.mavendeployer.Artifact
org.sonar.server.mavendeployer.Mojo
public final class Mojo
- extends Artifact
Methods inherited from class org.sonar.server.mavendeployer.Artifact |
createDir, deployTo, equals, getArtifactId, getArtifactName, getGroupId, getMetadata, getPom, getVersion, getXmlDefinition, hashCode, saveMetadata, toString, transformFromTemplatePath |
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-2011 SonarSource. All Rights Reserved.