org.sonar.server.mavendeployer
Class Artifact
java.lang.Object
org.sonar.server.mavendeployer.Artifact
- Direct Known Subclasses:
- Mojo
public class Artifact
- extends Object
BASE_GROUP_ID
public static final String BASE_GROUP_ID
- See Also:
- Constant Field Values
version
protected String version
jar
protected File jar
Artifact
public Artifact(String groupId,
String artifactId,
String version,
String packaging,
File jar)
deployTo
public void deployTo(File rootDir)
throws IOException
- Throws:
IOException
createDir
protected File createDir(File rootDir)
throws IOException
- Throws:
IOException
getArtifactName
protected String getArtifactName()
getGroupId
public String getGroupId()
getArtifactId
public String getArtifactId()
getVersion
public String getVersion()
copyTo
protected void copyTo(File dir)
throws IOException
- Throws:
IOException
getPom
public String getPom()
throws IOException
- Throws:
IOException
getTemplatePath
protected String getTemplatePath()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
getMetadata
public String getMetadata()
throws IOException
- Throws:
IOException
saveMetadata
protected void saveMetadata(File dir)
throws IOException
- Throws:
IOException
transformFromTemplatePath
protected final String transformFromTemplatePath(String templatePath)
throws IOException
- Throws:
IOException
getXmlDefinition
public String getXmlDefinition()
throws IOException
- Throws:
IOException
Copyright © 2009-2012 SonarSource. All Rights Reserved.