Skip to content

Commit d5992aa

Browse files
authored
[release] Fix missing LICENSE and DISCLAIMER in binary distribution (#1922)
1 parent d187d3c commit d5992aa

File tree

8 files changed

+82
-4
lines changed

8 files changed

+82
-4
lines changed

LICENSE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,3 +401,7 @@ LightProto
401401
./fluss-protogen/fluss-protogen-generator/src/main/java/org/apache/fluss/protogen/generator/generator/ProtobufMessage.java
402402
./fluss-protogen/fluss-protogen-generator/src/main/java/org/apache/fluss/protogen/generator/generator/ProtobufNumberField.java
403403
./fluss-protogen/fluss-protogen-maven-plugin/src/main/java/org/apache/fluss/protogen/maven/plugin/ProtoGenMojo.java
404+
405+
Apache Maven Wrapper
406+
./mvnw
407+
./mvnw.cmd

NOTICE

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,19 @@ with the following copyright notice:
2121
LightProto
2222
Copyright 2020 Splunk Inc.
2323

24-
----------------------------------------------------------
24+
----------------------------------------------------------
25+
26+
This product contains code from the Apache Maven Wrapper Project:
27+
28+
Apache Maven Wrapper
29+
Copyright 2013-2025 The Apache Software Foundation
30+
31+
This product includes software developed at
32+
The Apache Software Foundation (http://www.apache.org/).
33+
34+
The original idea and initial implementation of the maven-wrapper module is derived
35+
from the Gradle Wrapper which was written originally by Hans Dockter and Adam Murdoch.
36+
Copyright 2007 the original author or authors.
37+
38+
----------------------------------------------------------
39+

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one
3+
or more contributor license agreements. See the NOTICE file
4+
distributed with this work for additional information
5+
regarding copyright ownership. The ASF licenses this file
6+
to you under the Apache License, Version 2.0 (the
7+
"License"); you may not use this file except in compliance
8+
with the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
-->
18+
119
<p align="center">
220
<picture>
321
<source media="(prefers-color-scheme: dark)" srcset="website/static/img/logo/svg/white_color_logo.svg">

docker/quickstart-flink/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one
3+
or more contributor license agreements. See the NOTICE file
4+
distributed with this work for additional information
5+
regarding copyright ownership. The ASF licenses this file
6+
to you under the Apache License, Version 2.0 (the
7+
"License"); you may not use this file except in compliance
8+
with the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
-->
18+
119
# Fluss Quickstart Flink Docker
220

321
This directory contains the Docker setup for Fluss Quickstart with Flink integration.

helm/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one
3+
or more contributor license agreements. See the NOTICE file
4+
distributed with this work for additional information
5+
regarding copyright ownership. The ASF licenses this file
6+
to you under the Apache License, Version 2.0 (the
7+
"License"); you may not use this file except in compliance
8+
with the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
-->
118

219
# Fluss Helm Chart
320

tools/releasing/collect_license_files.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ do
4848
done
4949

5050
NOTICE="${DST}/NOTICE"
51-
[ -f "${NOTICE}" ] && rm "${NOTICE}"
5251
(export LC_ALL=C; find "${TMP}" -name "NOTICE" | sort | xargs cat >> "${NOTICE}")
5352

5453
LICENSES="${DST}/licenses"

tools/releasing/create_binary_release.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ make_binary_release() {
6868
$MVN clean package -Prelease -am -Dgpg.skip -Dcheckstyle.skip=true -DskipTests
6969

7070
cd fluss-dist/target/fluss-${RELEASE_VERSION}-bin
71+
cp ${FLUSS_DIR}/LICENSE ./fluss-${RELEASE_VERSION}/LICENSE
72+
cp ${FLUSS_DIR}/DISCLAIMER ./fluss-${RELEASE_VERSION}/DISCLAIMER
73+
cp ${FLUSS_DIR}/NOTICE ./fluss-${RELEASE_VERSION}/NOTICE
7174
${FLUSS_DIR}/tools/releasing/collect_license_files.sh ./fluss-${RELEASE_VERSION} ./fluss-${RELEASE_VERSION}
75+
7276
tar $TAR_OPTIONS -czf "${dir_name}.tgz" fluss-*
7377

7478
cp fluss-*.tgz ${RELEASE_DIR}

website/community/how-to-release/creating-a-fluss-release.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,11 +625,14 @@ Vote result thread:
625625
The release candidate:
626626
* https://dist.apache.org/repos/dist/dev/incubator/fluss/fluss-0.8.0-incubating-rc1/
627627
628+
The helm chart release package:
629+
* https://dist.apache.org/repos/dist/dev/incubator/fluss/helm-chart/0.8.0-incubating-rc1/
630+
628631
Git tag for the release:
629-
* https://github.com/apache/fluss-shaded/releases/tag/v0.8.0-incubating-rc1
632+
* https://github.com/apache/fluss/releases/tag/v0.8.0-incubating-rc1
630633
631634
Git commit for the release:
632-
* https://github.com/apache/fluss-shaded/commit/<COMMIT>
635+
* https://github.com/apache/fluss/commit/<COMMIT>
633636
634637
Maven staging repository:
635638
* https://repository.apache.org/content/repositories/orgapachefluss-<ID>/

0 commit comments

Comments
 (0)