public class ProjectReader
extends java.lang.Object
| Constructor and Description |
|---|
ProjectReader(java.io.File rootPom)
Constructor, gets the file which represents the location of the root pom of the Maven project.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<ModuleName,java.io.File> |
read()
Read the project starting with the root pom.
|
public ProjectReader(java.io.File rootPom)
rootPom - The root pom of the Maven project.public java.util.Map<ModuleName,java.io.File> read() throws java.io.IOException
HashMap that has ModuleName as its key, and the location of its corresponding pom file which was used to construct the ModuleNameModuleName and the file that was used to build it.java.io.IOException - Thrown in case of an error occurring while reading the pom.