HCOLL-184 removed this as it was failing on teamcity - " if (!absolutePath.endsWith("Chronicle-Map"))

return null;
This commit is contained in:
Rob Austin
2014-12-17 19:15:45 +00:00
parent 695cc4c3c8
commit de22705272
@@ -46,7 +46,7 @@ class BuildVersion {
}
/**
* This should be used by everyone that has install chronicle map
* This should be used by everyone that has install chronicle map as a JAR
*
* @return gets the version out of the manifest, or null if it can not be read
*/
@@ -56,7 +56,7 @@ class BuildVersion {
/**
* reads the pom file to get this version, only used for development or within the ide.
* reads the pom file to get this version, only to be used for development or within the IDE.
*
* @return gets the version from the pom.xml
*/
@@ -67,9 +67,6 @@ class BuildVersion {
.getParentFile().getParentFile().getParentFile().getParentFile().getParentFile()
.getParentFile().getParentFile().getAbsolutePath();
if (!absolutePath.endsWith("Chronicle-Map"))
return null;
final File file = new File(absolutePath + "/pom.xml");
try (Reader reader = new FileReader(file)) {