com.atlassian.bamboo.plugins.maven2
Class Maven2ProjectParser

java.lang.Object
  extended by com.atlassian.bamboo.plugins.maven2.Maven2ProjectParser

public class Maven2ProjectParser
extends java.lang.Object


Constructor Summary
Maven2ProjectParser()
           
 
Method Summary
 org.apache.maven.artifact.Artifact getArtifact()
           
 java.lang.String getArtifactId()
           
 java.util.Set<org.apache.maven.artifact.Artifact> getArtifacts()
           
 java.util.Set<org.apache.maven.model.Dependency> getDependencies()
           
 java.lang.String getGroupId()
           
 java.util.List<java.lang.String> getModules()
           
 java.lang.String getVersion()
           
 void parse(java.io.File file)
           
protected  java.util.Set<org.apache.maven.artifact.Artifact> parseProjectArtifacts(org.apache.maven.project.MavenProject mavenProject)
           
protected  java.util.Set<org.apache.maven.model.Dependency> parseProjectDependencies(org.apache.maven.project.MavenProject mavenProject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Maven2ProjectParser

public Maven2ProjectParser()
Method Detail

parse

public void parse(java.io.File file)
           throws org.apache.maven.embedder.MavenEmbedderException,
                  org.apache.maven.project.ProjectBuildingException
Throws:
org.apache.maven.embedder.MavenEmbedderException
org.apache.maven.project.ProjectBuildingException

parseProjectArtifacts

protected java.util.Set<org.apache.maven.artifact.Artifact> parseProjectArtifacts(org.apache.maven.project.MavenProject mavenProject)

parseProjectDependencies

protected java.util.Set<org.apache.maven.model.Dependency> parseProjectDependencies(org.apache.maven.project.MavenProject mavenProject)

getArtifact

public org.apache.maven.artifact.Artifact getArtifact()

getGroupId

public java.lang.String getGroupId()

getArtifactId

public java.lang.String getArtifactId()

getVersion

public java.lang.String getVersion()

getModules

public java.util.List<java.lang.String> getModules()

getArtifacts

public java.util.Set<org.apache.maven.artifact.Artifact> getArtifacts()

getDependencies

public java.util.Set<org.apache.maven.model.Dependency> getDependencies()


Copyright © 2010 Atlassian. All Rights Reserved.