Skip to content

Commit 1419304

Browse files
committed
Clarify mixed license text (#45637)
This commit clarifies the mixed licensing in the elasticsearch repository. A few points of note: - we clarify that all code is under the Apache License 2.0 unless noted otherwise - we clarify that code under the Elastic License is only in the x-pack directory - we clarify that when code is not under the Apache License 2.0 nor the Elastic License that it is Apache License 2.0 compatible - we clarify that OSS-builds do not package any code from the x-pack directory
1 parent f2c2ae6 commit 1419304

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

LICENSE.txt

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
Source code in this repository is variously licensed under the Apache License
2-
Version 2.0, an Apache compatible license, or the Elastic License. Outside of
3-
the "x-pack" folder, source code in a given file is licensed under the Apache
4-
License Version 2.0, unless otherwise noted at the beginning of the file or a
5-
LICENSE file present in the directory subtree declares a separate license.
6-
Within the "x-pack" folder, source code in a given file is licensed under the
7-
Elastic License, unless otherwise noted at the beginning of the file or a
8-
LICENSE file present in the directory subtree declares a separate license.
1+
Source code in this repository is covered by one of three licenses: (i) the
2+
Apache License 2.0 (ii) an Apache License 2.0 compatible license (iii) the
3+
Elastic License. The default license throughout the repository is Apache License
4+
2.0 unless the header specifies another license. Elastic Licensed code is found
5+
only in the x-pack directory.
96

107
The build produces two sets of binaries - one set that falls under the Elastic
11-
License and another set that falls under Apache License Version 2.0. The
12-
binaries that contain `-oss` in the artifact name are licensed under the Apache
13-
License Version 2.0.
8+
License and another set that falls under Apache License 2.0. The binaries that
9+
contain `-oss` in the artifact name are licensed under Apache License 2.0 and
10+
these binaries do not package any code from the x-pack directory.

0 commit comments

Comments
 (0)