to fix, port git version reading from build.xml from plugin-Library.
to fix, port git version reading from build.xml from plugin-Library.