HBASE-17082 ForeignExceptionUtil isnt packaged when building shaded protocol with -Pcompile-protobuf; Attempted Fix

This commit is contained in:
Michael Stack 2016-11-15 12:22:51 -08:00
parent 4d1bff9e78
commit 8847a70902
1 changed files with 2 additions and 1 deletions

View File

@ -181,7 +181,8 @@
</activation>
<properties>
<profile.id>compile-protobuf</profile.id>
<sources.dir>${project.build.directory}/protoc-generated-sources</sources.dir>
<!--Include original and the generated protos dir when talking of sources-->
<sources.dir>${basedir}/src/main/java ${project.build.directory}/protoc-generated-sources</sources.dir>
<classes.dir>${project.build.directory}/protoc-generated-classes</classes.dir>
<!--When the compile for this profile runs, make sure it makes jars that
can be related back to this shading profile. Give them a shading prefix.