mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-184 removed this as it was failing on teamcity - " if (!absolutePath.endsWith("Chronicle-Map"))
return null;
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user