/**
* Constructs a new helper objects and initializes itself.
*/
public BundleTestInfo() {
// get a raw POM view, not a fully realized POM object.
MavenXpp3Reader reader = new MavenXpp3Reader();
FileReader fileReader;
final String fileName = "pom.xml";
try {
fileReader = new FileReader(fileName);
} catch (FileNotFoundException e) {
throw new IllegalStateException("Could not find " + fileName, e);
}
try {
Model model = reader.read(fileReader);
this.project = new MavenProject(model);
} catch (FileNotFoundException e) {
throw new IllegalStateException(e);
} catch (IOException e) {
throw new IllegalStateException(e);