com.atlassian.bamboo.plugins.maven2
Class Maven2ProjectParser
java.lang.Object
com.atlassian.bamboo.plugins.maven2.Maven2ProjectParser
public class Maven2ProjectParser
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Maven2ProjectParser
public Maven2ProjectParser()
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.