Description
MAVEN_OPTS are overridden in following files,
bigtop-packages/src/common/hbase/do-component-build bigtop-packages/src/common/hadoop/do-component-build
because of this override, user defined environment level MAVEN_OPTS not being used at build time and causing the build failure.
For example user can define some common options at environment level for example
export MAVEN_OPTS="-Djavax.net.ssl.trustStore=/some/path/cacerts"
These should be provision to include these maven options during the build.