Amend HBASE-16538 Changes the way version information is stored during build

Generated Version class needs an interface audience annotation
This commit is contained in:
Andrew Purtell 2016-09-02 19:51:33 -07:00
parent 008091fe8a
commit 520c3cc4e9
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ cat >"$outputDirectory/org/apache/hadoop/hbase/Version.java" <<EOF
*/ */
package org.apache.hadoop.hbase; package org.apache.hadoop.hbase;
import org.apache.hadoop.hbase.classification.InterfaceAudience;
@InterfaceAudience.Private
public class Version { public class Version {
public static final String version = "$version"; public static final String version = "$version";
public static final String revision = "$revision"; public static final String revision = "$revision";