public static final String PROPERTY_VERSION_MAVEN_ARTIFACT = "maven.artifactId";
public static final String PROPERTY_VERSION_MAVEN_VERSION = "maven.version";
private static final ComponentDeclaration getVersionedComponentTemplate(Artifact artifact) {
SpecificationDeclaration template = new SpecificationDeclaration("template");
addProperty(template,PROPERTY_VERSION_APAM,"version",ApamMavenProperties.mavenVersion.replace('-', '.'));
addProperty(template,PROPERTY_VERSION_MAVEN_GROUP,"string",artifact.getGroupId());
addProperty(template,PROPERTY_VERSION_MAVEN_ARTIFACT,"string",artifact.getArtifactId());