org.overlord.sramp.wagon.util
Class PomGenerator

java.lang.Object
  extended by 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

Constructor Summary
PomGenerator()
          Default constructor.
 
Method Summary
 Document generatePom(BaseArtifactType artifact, ArtifactType type)
          Generates a Maven pom for the given S-RAMP artifact.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PomGenerator

public PomGenerator()
Default constructor.

Method Detail

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 artifact
type - 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.