com.caucho.loader.maven
Class MavenProject

java.lang.Object
  extended by com.caucho.loader.maven.MavenProject

public class MavenProject
extends java.lang.Object

Parsed maven project


Nested Class Summary
 class MavenProject.Dependencies
           
 class MavenProject.Dependency
           
static class MavenProject.Parent
           
 
Constructor Summary
MavenProject()
           
 
Method Summary
 void addBuilderProgram(ConfigProgram program)
          Add BuilderProgram ignores unknown tags
 void addParent(MavenProject.Parent parent)
           
 MavenProject.Dependencies createDependencies()
          Creates the dependencies section.
 void init()
           
 void setArtifactId(java.lang.String artifactId)
          Sets the artifactId for the project
 void setGroupId(java.lang.String groupId)
          Sets the groupId for the project
 void setVersion(java.lang.String version)
          Sets the version for the project
 Artifact toArtifact(Path path)
          Returns the Artifact corresponding to the project.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MavenProject

public MavenProject()
Method Detail

setGroupId

public void setGroupId(java.lang.String groupId)
Sets the groupId for the project


setArtifactId

public void setArtifactId(java.lang.String artifactId)
Sets the artifactId for the project


setVersion

public void setVersion(java.lang.String version)
Sets the version for the project


addParent

public void addParent(MavenProject.Parent parent)

createDependencies

public MavenProject.Dependencies createDependencies()
Creates the dependencies section.


addBuilderProgram

public void addBuilderProgram(ConfigProgram program)
Add BuilderProgram ignores unknown tags


init

@PostConstruct
public void init()

toArtifact

public Artifact toArtifact(Path path)
Returns the Artifact corresponding to the project.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object