[
https://issues.apache.org/jira/browse/HBASE-14250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14705979#comment-14705979
]
Nick Dimiduk edited comment on HBASE-14250 at 8/20/15 11:36 PM:
----------------------------------------------------------------
{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/
$ tail clean_install.log
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{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/
$ tail install_assemble.log
Work is licensed under the CCPL, Creative Commons does not authorize
the use by either party of the trademark "Creative Commons" or any
related trademark or logo of Creative Commons without the prior
written consent of Creative Commons. Any permitted use will be in
compliance with Creative Commons' then-current trademark usage
guidelines, as may be published on its website or otherwise made
available upon request from time to time. For the avoidance of doubt,
this trademark restriction does not form part of this License.
Creative Commons may be contacted at https://creativecommons.org/.
{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/
$ tail install_apache-release.log
Work is licensed under the CCPL, Creative Commons does not authorize
the use by either party of the trademark "Creative Commons" or any
related trademark or logo of Creative Commons without the prior
written consent of Creative Commons. Any permitted use will be in
compliance with Creative Commons' then-current trademark usage
guidelines, as may be published on its website or otherwise made
available upon request from time to time. For the avoidance of doubt,
this trademark restriction does not form part of this License.
Creative Commons may be contacted at https://creativecommons.org/.
{noformat}
was (Author: ndimiduk):
{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)