bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ofle...@apache.org
Subject bigtop git commit: BIGTOP-2639: Choose different approach to fix javadoc doclint errors from JAVA8
Date Mon, 19 Dec 2016 20:46:58 GMT
Repository: bigtop
Updated Branches:
  refs/heads/master 7f787bc39 -> e5c182d1a


BIGTOP-2639: Choose different approach to fix javadoc doclint errors from JAVA8


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/e5c182d1
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/e5c182d1
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/e5c182d1

Branch: refs/heads/master
Commit: e5c182d1af880b89eb2e0da35e60301cf8e0a216
Parents: 7f787bc
Author: Olaf Flebbe <of@oflebbe.de>
Authored: Sun Dec 18 12:16:35 2016 +0100
Committer: Olaf Flebbe <of@oflebbe.de>
Committed: Sun Dec 18 12:16:35 2016 +0100

----------------------------------------------------------------------
 bigtop-packages/src/common/crunch/do-component-build | 9 +++++----
 bigtop-packages/src/common/hbase/do-component-build  | 3 ++-
 bigtop-packages/src/common/sqoop2/do-component-build | 5 +++--
 3 files changed, 10 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/e5c182d1/bigtop-packages/src/common/crunch/do-component-build
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/crunch/do-component-build b/bigtop-packages/src/common/crunch/do-component-build
index 912dbb5..544a68e 100644
--- a/bigtop-packages/src/common/crunch/do-component-build
+++ b/bigtop-packages/src/common/crunch/do-component-build
@@ -20,11 +20,12 @@ set -ex
 
 export MAVEN_OPTS="-Xmx1024m"
 
-mvn -DskipTests -Dcrunch.platform=2           \
-    -Dhadoop.version=$HADOOP_VERSION          \
-    -Dhbase.version=$HBASE_VERSION            \
+mvn -DskipTests -Dcrunch.platform=2            \
+    -Dhadoop.version=$HADOOP_VERSION           \
+    -Dhbase.version=$HBASE_VERSION             \
     -Dspark.version=$SPARK1_VERSION            \
-    -Papache-release -Ddependency.locations.enabled=false clean site:site package "$@"
+    -Papache-release -Ddependency.locations.enabled=false \
+    -Dadditionalparam=-Xdoclint:none clean site:site package "$@"
 
 rm -rf build
 mkdir build

http://git-wip-us.apache.org/repos/asf/bigtop/blob/e5c182d1/bigtop-packages/src/common/hbase/do-component-build
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hbase/do-component-build b/bigtop-packages/src/common/hbase/do-component-build
index 344e28f..9baae77 100644
--- a/bigtop-packages/src/common/hbase/do-component-build
+++ b/bigtop-packages/src/common/hbase/do-component-build
@@ -18,7 +18,7 @@ set -ex
 
 . `dirname $0`/bigtop.bom
 
-export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m"
+export MAVEN_OPTS="-Xmx512m"
 
 if [ $HOSTTYPE = "powerpc64le" ] ; then
   sed  -i "s|<asciidoctor.plugin.version>.*</asciidoctor.plugin.version>|<asciidoctor.plugin.version>1.5.3</asciidoctor.plugin.version>|"
pom.xml
@@ -29,6 +29,7 @@ mvn -DskipTests -Dslf4j.version=1.6.1         \
     -Dhadoop-two.version=$HADOOP_VERSION      \
     -Dzookeeper.version=$ZOOKEEPER_VERSION    \
     -Dcheckstyle.skip=true                    \
+    -Dadditionalparam=-Xdoclint:none          \
     clean site install assembly:single "$@"
 
 rm -rf build

http://git-wip-us.apache.org/repos/asf/bigtop/blob/e5c182d1/bigtop-packages/src/common/sqoop2/do-component-build
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/sqoop2/do-component-build b/bigtop-packages/src/common/sqoop2/do-component-build
index d3161f0..a25c854 100755
--- a/bigtop-packages/src/common/sqoop2/do-component-build
+++ b/bigtop-packages/src/common/sqoop2/do-component-build
@@ -17,14 +17,15 @@
 set -ex
 
 if [ -z "$GIT_REPO" ]; then
-    export MAVEN_OPTS='-Xmx512m -XX:MaxPermSize=512m'
+    export MAVEN_OPTS='-Xmx512m'
     if [ -z "${DO_MAVEN_DEPLOY}" ]; then
         MAVEN_INST_DEPLOY=install
     else
         MAVEN_INST_DEPLOY=$DO_MAVEN_DEPLOY
     fi
 
-    mvn -DskipTests=true source:jar-no-fork -P=binary $@ $MAVEN_INST_DEPLOY
+    mvn -DskipTests=true source:jar-no-fork javadoc:jar \
+        -P=binary -Dadditionalparam=-Xdoclint:none $@ $MAVEN_INST_DEPLOY
     
 # Repackaging and changing the name to "sqoop2" is necessary as long
 # as we continue to distribute a version of Sqoop 1.x as "sqoop"


Mime
View raw message