public static String getBuildVersion() {
        StringBuilder buf = new StringBuilder();

        buf.append(SystemUtils.LINE_SEPARATOR);
        buf.append("[OTTER Version Info]").append(SystemUtils.LINE_SEPARATOR);
        buf.append("[version ]").append(VersionInfo.getVersion()).append(SystemUtils.LINE_SEPARATOR);
        buf.append("[revision]").append(VersionInfo.getRevision()).append(SystemUtils.LINE_SEPARATOR);
        buf.append("[compiler]").append(VersionInfo.getUser()).append(SystemUtils.LINE_SEPARATOR);
        buf.append("[date    ]").append(VersionInfo.getDate()).append(SystemUtils.LINE_SEPARATOR);
        buf.append("[checksum]").append(VersionInfo.getSrcChecksum()).append(SystemUtils.LINE_SEPARATOR);
        buf.append("[branch  ]").append(VersionInfo.getBranch()).append(SystemUtils.LINE_SEPARATOR);
        buf.append("[url     ]").append(VersionInfo.getUrl()).append(SystemUtils.LINE_SEPARATOR);

        return buf.toString();
    }
Returns the buildVersion which includes version, revision, user and date.
shared/common/src/main/java/com/alibaba/otter/shared/common/utils/version/VersionInfo.java