org.overlord.sramp.wagon.util
Class PomGenerator
java.lang.Object
org.overlord.sramp.wagon.util.PomGenerator
public class PomGenerator
- extends Object
Class used to generate a POM for an S-RAMP artifact.
- Author:
- eric.wittmann@redhat.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PomGenerator
public PomGenerator()
- Default constructor.
generatePom
public Document generatePom(BaseArtifactType artifact,
ArtifactType type)
throws Exception
- Generates a Maven pom for the given S-RAMP artifact.
- Parameters:
artifact - an S-RAMP artifacttype - the artifact type
- Returns:
- an XML document (the generated Maven pom)
- Throws:
Exception
Copyright © 2011-2012 JBoss, a division of Red Hat. All Rights Reserved.