[
https://issues.apache.org/jira/browse/HBASE-14250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14705979#comment-14705979
]
Nick Dimiduk commented on HBASE-14250:
--------------------------------------
{noformat}
diff --git a/dev-support/make_rc.sh b/dev-support/make_rc.sh
index 0d0319b..0f0d4a4 100755
--- a/dev-support/make_rc.sh
+++ b/dev-support/make_rc.sh
@@ -54,15 +54,27 @@ function tgz_mover {
}
function deploy {
- MAVEN_OPTS="${mvnopts}" ${mvn} clean install -DskipTests -Prelease
- MAVEN_OPTS="${mvnopts}" ${mvn} install -DskipTests post-site assembly:single
-Prelease
+ MAVEN_OPTS="${mvnopts}" ${mvn} -X clean install -DskipTests -Prelease 2>&1
>> clean_install.log
+ echo "unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar
META-INF/NOTICE" >> clean_install.log
+ unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar META-INF/NOTICE >>
clean_install.log
+ echo "unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar
META-INF/LICENSE" >> clean_install.log
+ unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar META-INF/LICENSE
>> clean_install.log
+ MAVEN_OPTS="${mvnopts}" ${mvn} -X install -DskipTests post-site
assembly:single -Prelease 2>&1 >> install_assemble.log
+ echo "unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar
META-INF/NOTICE" >> install_assemble.log
+ unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar META-INF/NOTICE >>
install_assemble.log
+ echo "unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar
META-INF/LICENSE" >> install_assemble.log
+ unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar META-INF/LICENSE
>> install_assemble.log
tgz_mover
- MAVEN_OPTS="${mvnopts}" ${mvn} deploy -DskipTests -Papache-release -Prelease
+ MAVEN_OPTS="${mvnopts}" ${mvn} install -DskipTests -Papache-release
-Prelease >> install_apache-release.log
+ echo "unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar
META-INF/NOTICE" >> install_apache-release.log
+ unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar META-INF/NOTICE >>
install_apache-release.log
+ echo "unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar
META-INF/LICENSE" >> install_apache-release.log
+ unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar META-INF/LICENSE
>> install_apache-release.log
}
# Build src tarball
-MAVEN_OPTS="${mvnopts}" ${mvn} clean install -DskipTests assembly:single
-Dassembly.file="${HBASE_HOME}/hbase-assembly/src/main/assembly/src.xml"
-Prelease
-tgz_mover
+#MAVEN_OPTS="${mvnopts}" ${mvn} clean install -DskipTests assembly:single
-Dassembly.file="${HBASE_HOME}/hbase-assembly/src/main/assembly/src.xml"
-Prelease
+#tgz_mover
# Now do the two builds, one for hadoop1, then hadoop2
deploy
{noformat}
{noformat}
$ grep -A5 unzip clean_install.log
unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar META-INF/NOTICE
Apache HBase - Server
Copyright 2007-2015 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
--
unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar META-INF/LICENSE
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
{noformat}
{noformat}
$ grep -A5 unzip install_a
install_apache-release.log install_assemble.log
hw11397:hbase ndimiduk$ grep -A5 unzip install_assemble.log
unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar META-INF/NOTICE
Apache HBase - Server
Copyright 2007-2015 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
--
unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar META-INF/LICENSE
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
{noformat}
{noformat}
$ grep -A5 unzip install_apache-release.log
unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar META-INF/NOTICE
Apache HBase - Server
Copyright 2007-2015 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
--
unzip -p hbase-server/target/hbase-server-1.1.2-tests.jar META-INF/LICENSE
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
{noformat}
> branch-1.1 hbase-server test-jar has incorrect LICENSE
> ------------------------------------------------------
>
> Key: HBASE-14250
> URL: https://issues.apache.org/jira/browse/HBASE-14250
> Project: HBase
> Issue Type: Bug
> Components: build
> Affects Versions: 1.1.2
> Reporter: Sean Busbey
> Assignee: Sean Busbey
> Priority: Blocker
>
> test-jar LICENSE file for hbase-server claims jquery and the orca logo are
> present in the jar, when they are not.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)