From 627ef279fd29f8af63303bcaafd641aef0ffc586 Mon Sep 17 00:00:00 2001 From: Mark Vieira Date: Mon, 1 Jun 2020 15:23:41 -0700 Subject: [PATCH] Include vendored code notices in distribution notice files (#57017) --- .../elasticsearch/gradle/NoticeTask.groovy | 117 +- .../gradle/plugin/PluginBuildPlugin.groovy | 2 + .../precommit/LicenseHeadersTask.groovy | 17 +- distribution/build.gradle | 28 +- .../elasticsearch/common/util/FastMath.java | 6 +- .../core/internal/io/IOUtils.java | 4 +- .../core/internal/io/IOUtilsTests.java | 2 +- .../elasticsearch/common/ssl/DerParser.java | 2 +- .../index/analysis/ICUCollationKeyFilter.java | 2 +- .../analysis/IndexableBinaryStringTools.java | 2 +- .../IndexableBinaryStringToolsTests.java | 2 +- server/build.gradle | 4 + server/licenses/ecs-logging-core-LICENSE.txt | 2030 ++--------------- server/licenses/ecs-logging-core-NOTICE.txt | 1102 +-------- server/licenses/log4j2-ecs-layout-LICENSE.txt | 2030 ++--------------- server/licenses/log4j2-ecs-layout-NOTICE.txt | 1102 +-------- .../common/collect/EvictingQueue.java | 27 +- .../common/inject/package-info.java | 6 +- .../JsonThrowablePatternConverter.java | 2 +- .../common/network/InetAddresses.java | 2 +- .../common/time/DateUtilsRounding.java | 2 +- .../time/format/StrictISODateTimeFormat.java | 2 +- .../common/collect/EvictingQueueTests.java | 4 +- .../common/network/InetAddressesTests.java | 2 +- x-pack/build.gradle | 2 +- x-pack/plugin/core/build.gradle | 6 - .../core/security/authc/support/BCrypt.java | 29 +- .../xpack/core/ssl/DerParser.java | 2 +- .../licenses/cryptacular-NOTICE.txt | 714 +----- x-pack/plugin/security/build.gradle | 5 - .../security/licenses/cryptacular-NOTICE.txt | 714 +----- .../authc/ldap/ActiveDirectorySIDUtil.java | 2 +- x-pack/plugin/spatial/build.gradle | 5 - .../org/apache/lucene/geo/XShapeTestUtil.java | 2 +- 34 files changed, 661 insertions(+), 7319 deletions(-) diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/NoticeTask.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/NoticeTask.groovy index 928298db7bfc2..92f81c6dae5f3 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/NoticeTask.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/NoticeTask.groovy @@ -7,7 +7,7 @@ * 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 + * 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 @@ -20,16 +20,19 @@ package org.elasticsearch.gradle import org.gradle.api.DefaultTask -import org.gradle.api.Project -import org.gradle.api.artifacts.Configuration +import org.gradle.api.file.FileCollection +import org.gradle.api.file.FileTree +import org.gradle.api.file.SourceDirectorySet import org.gradle.api.tasks.InputFile +import org.gradle.api.tasks.InputFiles +import org.gradle.api.tasks.Optional import org.gradle.api.tasks.OutputFile import org.gradle.api.tasks.TaskAction /** * A task to create a notice file which includes dependencies' notices. */ -public class NoticeTask extends DefaultTask { +class NoticeTask extends DefaultTask { @InputFile File inputFile = project.rootProject.file('NOTICE.txt') @@ -37,10 +40,12 @@ public class NoticeTask extends DefaultTask { @OutputFile File outputFile = new File(project.buildDir, "notices/${name}/NOTICE.txt") + private FileTree sources + /** Directories to include notices from */ private List licensesDirs = new ArrayList<>() - public NoticeTask() { + NoticeTask() { description = 'Create a notice file from dependencies' // Default licenses directory is ${projectDir}/licenses (if it exists) File licensesDir = new File(project.projectDir, 'licenses') @@ -50,46 +55,122 @@ public class NoticeTask extends DefaultTask { } /** Add notices from the specified directory. */ - public void licensesDir(File licensesDir) { + void licensesDir(File licensesDir) { licensesDirs.add(licensesDir) } + void source(Object source) { + if (sources == null) { + sources = project.fileTree(source) + } else { + sources += project.fileTree(source) + } + } + + void source(SourceDirectorySet source) { + if (sources == null) { + sources = source + } else { + sources += source + } + } + @TaskAction - public void generateNotice() { + void generateNotice() { StringBuilder output = new StringBuilder() output.append(inputFile.getText('UTF-8')) output.append('\n\n') // This is a map rather than a set so that the sort order is the 3rd // party component names, unaffected by the full path to the various files Map seen = new TreeMap<>() - for (File licensesDir : licensesDirs) { - licensesDir.eachFileMatch({ it ==~ /.*-NOTICE\.txt/ }) { File file -> - String name = file.name.substring(0, file.name.length() - '-NOTICE.txt'.length()) - if (seen.containsKey(name)) { - File prevFile = seen.get(name) - if (prevFile.text != file.text) { - throw new RuntimeException("Two different notices exist for dependency '" + - name + "': " + prevFile + " and " + file) - } - } else { - seen.put(name, file) + noticeFiles.each { File file -> + String name = file.name.replaceFirst(/-NOTICE\.txt$/, "") + if (seen.containsKey(name)) { + File prevFile = seen.get(name) + if (prevFile.text != file.text) { + throw new RuntimeException("Two different notices exist for dependency '" + + name + "': " + prevFile + " and " + file) } + } else { + seen.put(name, file) } } + + // Add all LICENSE and NOTICE files in licenses directory for (Map.Entry entry : seen.entrySet()) { String name = entry.getKey() File file = entry.getValue() appendFile(file, name, 'NOTICE', output) appendFile(new File(file.parentFile, "${name}-LICENSE.txt"), name, 'LICENSE', output) } + + // Find any source files with "@notice" annotated license header + for (File sourceFile : sources.files) { + boolean isPackageInfo = sourceFile.name == 'package-info.java' + boolean foundNotice = false + boolean inNotice = false + StringBuilder header = new StringBuilder() + String packageDeclaration + + for (String line : sourceFile.readLines()) { + if (isPackageInfo && packageDeclaration == null && line.startsWith('package')) { + packageDeclaration = line + } + + if (foundNotice == false) { + foundNotice = line.contains('@notice') + inNotice = true + } else { + if (line.contains('*/')) { + inNotice = false + + if (!isPackageInfo) { + break + } + } else if (inNotice) { + header.append(line.stripMargin('*')) + header.append('\n') + } + } + } + + if (foundNotice) { + appendText(header.toString(), isPackageInfo ? packageDeclaration : sourceFile.name, '', output) + } + } outputFile.setText(output.toString(), 'UTF-8') } + @InputFiles + @Optional + FileCollection getNoticeFiles() { + FileTree tree + licensesDirs.each { dir -> + if (tree == null) { + tree = project.fileTree(dir) + } else { + tree += project.fileTree(dir) + } + } + + return tree?.matching { include '**/*-NOTICE.txt' } + } + + @InputFiles + @Optional + FileCollection getSources() { + return sources + } + static void appendFile(File file, String name, String type, StringBuilder output) { String text = file.getText('UTF-8') if (text.trim().isEmpty()) { return } + appendText(text, name, type, output) + } + + static void appendText(String text, String name, String type, StringBuilder output) { output.append('================================================================================\n') output.append("${name} ${type}\n") output.append('================================================================================\n') diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/plugin/PluginBuildPlugin.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/plugin/PluginBuildPlugin.groovy index 81aec4a339e21..b2f510dca2bc3 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/plugin/PluginBuildPlugin.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/plugin/PluginBuildPlugin.groovy @@ -28,6 +28,7 @@ import org.elasticsearch.gradle.test.rest.RestResourcesPlugin import org.elasticsearch.gradle.test.RestIntegTestTask import org.elasticsearch.gradle.testclusters.RunTask import org.elasticsearch.gradle.testclusters.TestClustersPlugin +import org.elasticsearch.gradle.util.Util import org.gradle.api.InvalidUserDataException import org.gradle.api.Plugin import org.gradle.api.Project @@ -242,6 +243,7 @@ class PluginBuildPlugin implements Plugin { if (noticeFile != null) { TaskProvider generateNotice = project.tasks.register('generateNotice', NoticeTask) { inputFile = noticeFile + source(Util.getJavaMainSourceSet(project).get().allJava) } project.tasks.named('bundlePlugin').configure { from(generateNotice) diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/precommit/LicenseHeadersTask.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/precommit/LicenseHeadersTask.groovy index 6bfd9551de9be..8189469519006 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/precommit/LicenseHeadersTask.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/precommit/LicenseHeadersTask.groovy @@ -27,7 +27,6 @@ import org.gradle.api.tasks.Input import org.gradle.api.tasks.InputFiles import org.gradle.api.tasks.OutputFile import org.gradle.api.tasks.SkipWhenEmpty -import org.gradle.api.tasks.SourceSet import java.nio.file.Files @@ -43,7 +42,7 @@ public class LicenseHeadersTask extends AntTask { /** Allowed license families for this project. */ @Input - List approvedLicenses = ['Apache', 'Generated'] + List approvedLicenses = ['Apache', 'Generated', 'Vendored'] /** * Files that should be excluded from the license header check. Use with extreme care, only in situations where the license on the @@ -69,7 +68,7 @@ public class LicenseHeadersTask extends AntTask { */ @InputFiles @SkipWhenEmpty - public List getJavaFiles() { + List getJavaFiles() { return project.sourceSets.collect({it.allJava}) } @@ -82,7 +81,7 @@ public class LicenseHeadersTask extends AntTask { * @param familyName An expanded string name for the license * @param pattern A pattern to search for, which if found, indicates a file contains the license */ - public void additionalLicense(String categoryName, String familyName, String pattern) { + void additionalLicense(String categoryName, String familyName, String pattern) { if (categoryName.length() != 5) { throw new IllegalArgumentException("License category name must be exactly 5 characters, got ${categoryName}"); } @@ -120,10 +119,6 @@ public class LicenseHeadersTask extends AntTask { licenseFamilyName: "Apache") { // Apache license (ES) pattern(substring: "Licensed to Elasticsearch under one or more contributor") - // Apache license (ASF) - pattern(substring: "Licensed to the Apache Software Foundation (ASF) under") - // this is the old-school one under some files - pattern(substring: "Licensed under the Apache License, Version 2.0 (the \"License\")") } // Generated resources @@ -133,6 +128,12 @@ public class LicenseHeadersTask extends AntTask { pattern(substring: "ANTLR GENERATED CODE") } + // Vendored Code + substringMatcher(licenseFamilyCategory: "VEN ", + licenseFamilyName: "Vendored") { + pattern(substring: "@notice") + } + // license types added by the project for (Map.Entry additional : additionalLicenses.entrySet()) { String category = additional.getKey().substring(0, 5) diff --git a/distribution/build.gradle b/distribution/build.gradle index f56042790939c..66551b1c2afb3 100644 --- a/distribution/build.gradle +++ b/distribution/build.gradle @@ -48,24 +48,29 @@ task generateDependenciesReport(type: ConcatFilesTask) { *****************************************************************************/ // integ test zip only uses server, so a different notice file is needed there -task buildServerNotice(type: NoticeTask) { - licensesDir new File(project(':server').projectDir, 'licenses') -} +task buildServerNotice(type: NoticeTask) // other distributions include notices from modules as well, which are added below later task buildDefaultNotice(type: NoticeTask) { - licensesDir new File(project(':server').projectDir, 'licenses') licensesDir new File(project(':distribution').projectDir, 'licenses') } + task buildOssNotice(type: NoticeTask) { - licensesDir new File(project(':server').projectDir, 'licenses') licensesDir new File(project(':distribution').projectDir, 'licenses') } -task buildDefaultNoJdkNotice(type: NoticeTask) { - licensesDir new File(project(':server').projectDir, 'licenses') -} -task buildOssNoJdkNotice(type: NoticeTask) { - licensesDir new File(project(':server').projectDir, 'licenses') + +task buildDefaultNoJdkNotice(type: NoticeTask) + +task buildOssNoJdkNotice(type: NoticeTask) + +// The :server and :libs projects belong to all distributions +tasks.withType(NoticeTask) { + licensesDir project(':server').file('licenses') + source project(':server').file('src/main/java') + project(':libs').subprojects.each { Project lib -> + licensesDir lib.file('licenses') + source lib.file('src/main/java') + } } /***************************************************************************** @@ -207,7 +212,9 @@ project.rootProject.subprojects.findAll { it.parent.path == ':modules' }.each { File licenses = new File(module.projectDir, 'licenses') if (licenses.exists()) { buildDefaultNotice.licensesDir licenses + buildDefaultNotice.source module.file('src/main/java') buildOssNotice.licensesDir licenses + buildOssNotice.source module.file('src/main/java') } copyModule(processOssOutputs, module) @@ -231,6 +238,7 @@ xpack.subprojects.findAll { it.parent == xpack }.each { Project xpackModule -> File licenses = new File(xpackModule.projectDir, 'licenses') if (licenses.exists()) { buildDefaultNotice.licensesDir licenses + buildDefaultNotice.source xpackModule.file('src/main/java') } copyModule(processDefaultOutputs, xpackModule) copyLog4jProperties(buildDefaultLog4jConfig, xpackModule) diff --git a/libs/core/src/main/java/org/elasticsearch/common/util/FastMath.java b/libs/core/src/main/java/org/elasticsearch/common/util/FastMath.java index 6446e706442ee..8978a85a58f00 100644 --- a/libs/core/src/main/java/org/elasticsearch/common/util/FastMath.java +++ b/libs/core/src/main/java/org/elasticsearch/common/util/FastMath.java @@ -1,4 +1,4 @@ -/* +/* @notice * Copyright 2012 Jeff Hain * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,9 +12,7 @@ * 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. - */ - -/* + * * ============================================================================= * Notice of fdlibm package this program is partially derived from: * diff --git a/libs/core/src/main/java/org/elasticsearch/core/internal/io/IOUtils.java b/libs/core/src/main/java/org/elasticsearch/core/internal/io/IOUtils.java index e8605dd2b966b..970e891de55ad 100644 --- a/libs/core/src/main/java/org/elasticsearch/core/internal/io/IOUtils.java +++ b/libs/core/src/main/java/org/elasticsearch/core/internal/io/IOUtils.java @@ -1,4 +1,4 @@ -/* +/* @notice * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. @@ -13,6 +13,8 @@ * 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. + * + * Modifications copyright (C) 2020 Elasticsearch B.V. */ package org.elasticsearch.core.internal.io; diff --git a/libs/core/src/test/java/org/elasticsearch/core/internal/io/IOUtilsTests.java b/libs/core/src/test/java/org/elasticsearch/core/internal/io/IOUtilsTests.java index 8af0f2a707e24..882d19cd2c333 100644 --- a/libs/core/src/test/java/org/elasticsearch/core/internal/io/IOUtilsTests.java +++ b/libs/core/src/test/java/org/elasticsearch/core/internal/io/IOUtilsTests.java @@ -1,4 +1,4 @@ -/* +/* @notice * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/libs/ssl-config/src/main/java/org/elasticsearch/common/ssl/DerParser.java b/libs/ssl-config/src/main/java/org/elasticsearch/common/ssl/DerParser.java index da650369d508c..827548813f558 100644 --- a/libs/ssl-config/src/main/java/org/elasticsearch/common/ssl/DerParser.java +++ b/libs/ssl-config/src/main/java/org/elasticsearch/common/ssl/DerParser.java @@ -1,4 +1,4 @@ -/* +/* @notice Copyright (c) 1998-2010 AOL Inc. Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/plugins/analysis-icu/src/main/java/org/elasticsearch/index/analysis/ICUCollationKeyFilter.java b/plugins/analysis-icu/src/main/java/org/elasticsearch/index/analysis/ICUCollationKeyFilter.java index 431655554300d..4c83862edba3b 100644 --- a/plugins/analysis-icu/src/main/java/org/elasticsearch/index/analysis/ICUCollationKeyFilter.java +++ b/plugins/analysis-icu/src/main/java/org/elasticsearch/index/analysis/ICUCollationKeyFilter.java @@ -1,6 +1,6 @@ package org.elasticsearch.index.analysis; -/* +/* @notice * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/plugins/analysis-icu/src/main/java/org/elasticsearch/index/analysis/IndexableBinaryStringTools.java b/plugins/analysis-icu/src/main/java/org/elasticsearch/index/analysis/IndexableBinaryStringTools.java index 43bcfa071d740..4e8fb5fc76bcc 100644 --- a/plugins/analysis-icu/src/main/java/org/elasticsearch/index/analysis/IndexableBinaryStringTools.java +++ b/plugins/analysis-icu/src/main/java/org/elasticsearch/index/analysis/IndexableBinaryStringTools.java @@ -1,6 +1,6 @@ package org.elasticsearch.index.analysis; -/* +/* @notice * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/plugins/analysis-icu/src/test/java/org/elasticsearch/index/analysis/IndexableBinaryStringToolsTests.java b/plugins/analysis-icu/src/test/java/org/elasticsearch/index/analysis/IndexableBinaryStringToolsTests.java index 5f3e1644481ed..5f5fd6c1d6c75 100644 --- a/plugins/analysis-icu/src/test/java/org/elasticsearch/index/analysis/IndexableBinaryStringToolsTests.java +++ b/plugins/analysis-icu/src/test/java/org/elasticsearch/index/analysis/IndexableBinaryStringToolsTests.java @@ -1,6 +1,6 @@ package org.elasticsearch.index.analysis; -/* +/* @notice * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/server/build.gradle b/server/build.gradle index c796b22530c54..868393222c528 100644 --- a/server/build.gradle +++ b/server/build.gradle @@ -336,6 +336,10 @@ dependencyLicenses { } } +licenseHeaders { + // Ignore our vendored version of Google Guice + excludes << 'org/elasticsearch/common/inject/**/*' +} tasks.named('internalClusterTest').configure { if (org.elasticsearch.gradle.info.BuildParams.isSnapshotBuild() == false) { diff --git a/server/licenses/ecs-logging-core-LICENSE.txt b/server/licenses/ecs-logging-core-LICENSE.txt index ad37dfadf0db5..0dba4bb894a12 100644 --- a/server/licenses/ecs-logging-core-LICENSE.txt +++ b/server/licenses/ecs-logging-core-LICENSE.txt @@ -1,1829 +1,201 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ecs-logging-java/LICENSE at b5ba2398eec9f6febf6239da638ecf79f4a54b5d · elastic/ecs-logging-java · GitHub - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Skip to content - - - - - - - - - - - -
- -
- - -
- -
- - - -
-
-
- - - - - - - - - - - - - - - - - - -
-
- - - - - - - - - Permalink - - - - - -
- - -
- - Tree: - b5ba2398ee - - - - - - - -
- -
- - Find file - - - Copy path - -
-
- - -
- - Find file - - - Copy path - -
-
- - - -
-
-
- -

- elastic/ecs-logging-java is licensed under the -

-

Apache License 2.0

-

A permissive license whose main conditions require preservation of copyright and license notices. Contributors provide an express grant of patent rights. Licensed works, modifications, and larger works may be distributed under different terms and without source code.

-
- -
-
-

Permissions

-
    -
  • - - - Commercial use - -
  • -
  • - - - Modification - -
  • -
  • - - - Distribution - -
  • -
  • - - - Patent use - -
  • -
  • - - - Private use - -
  • -
-
-
-

Limitations

-
    -
  • - - - Trademark use - -
  • -
  • - - - Liability - -
  • -
  • - - - Warranty - -
  • -
-
-
-

Conditions

-
    -
  • - - - License and copyright notice - -
  • -
  • - - - State changes - -
  • -
-
-
-
-

- This is not legal advice. - Learn more about repository licenses. -

-
- - - - -
-
- - @felixbarny - felixbarny - - License headers and other legal stuff (#6) - - - - a859c6b - Aug 16, 2019 - -
- -
-
- - 1 contributor - - -
- -

- Users who have contributed to this file -

-
- -
-
-
-
- - - - - -
- -
-
- - 201 lines (169 sloc) - - 11.1 KB -
- -
- -
- Raw - Blame - History -
- - -
- - - -
-
-
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
1. Definitions.
-
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
-
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
-
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
-
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
-
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
-
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
-
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
-
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
-
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
-
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
-
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
-
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
-
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
-
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
-
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
-
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
-
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
-
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
-
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
-
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
-
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
-
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
-
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
-
END OF TERMS AND CONDITIONS
-
APPENDIX: How to apply the Apache License to your work.
-
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
-
Copyright 2019 Elastic and contributors
-
Licensed under the Apache License, Version 2.0 (the "License");
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.
- - - -
- -
- - - -
- - -
- - -
-
- - - -
-
- -
-
- - -
- - - - - - -
- - - You can’t perform that action at this time. -
- - - - - - - - - - - - - - -
- - - - + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 - 2020 Elastic and contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + 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. diff --git a/server/licenses/ecs-logging-core-NOTICE.txt b/server/licenses/ecs-logging-core-NOTICE.txt index cbe7f44e3184c..d8b07dbf57b72 100644 --- a/server/licenses/ecs-logging-core-NOTICE.txt +++ b/server/licenses/ecs-logging-core-NOTICE.txt @@ -1,1081 +1,43 @@ +ecs-logging-java +Copyright 2019 - 2020 Elasticsearch B.V. +############################################################################### +This product includes software licensed under the Apache License 2.0 developed at FasterXML. +Jackson LICENSE: +------------------------------------------------------------------------------- +This copy of Jackson JSON processor streaming parser/generator is licensed under the +Apache (Software) License, version 2.0 ("the License"). +See the License for details about distribution rights, and the +specific rights regarding derivate works. +You may obtain a copy of the License at: +http://www.apache.org/licenses/LICENSE-2.0 +------------------------------------------------------------------------------- - - - - - - - - - - - +Jackson NOTICE: +------------------------------------------------------------------------------- +# Jackson JSON processor +Jackson is a high-performance, Free/Open Source JSON processing library. +It was originally written by Tatu Saloranta (tatu.saloranta@iki.fi), and has +been in development since 2007. +It is currently developed by a community of developers, as well as supported +commercially by FasterXML.com. +## Licensing - - - - - - - +Jackson core and extension components may licensed under different licenses. +To find the details that apply to this artifact see the accompanying LICENSE file. +For more information, including possible other licensing options, contact +FasterXML.com (http://fasterxml.com). +## Credits - - - ecs-logging-java/NOTICE at b5ba2398eec9f6febf6239da638ecf79f4a54b5d · elastic/ecs-logging-java · GitHub - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Skip to content - - - - - - - - - - - -
- -
- - -
- -
- - - -
-
-
- - - - - - - - - - - - - - - - - - -
-
- - - - - - - - - Permalink - - - - - -
- - -
- - Tree: - b5ba2398ee - - - - - - - -
- -
- - Find file - - - Copy path - -
-
- - -
- - Find file - - - Copy path - -
-
- - - - - - -
-
- - @felixbarny - felixbarny - - License headers and other legal stuff (#6) - - - - a859c6b - Aug 16, 2019 - -
- -
-
- - 1 contributor - - -
- -

- Users who have contributed to this file -

-
- -
-
-
-
- - - - - -
- -
-
- - 43 lines (32 sloc) - - 1.77 KB -
- -
- -
- Raw - Blame - History -
- - -
- - - -
-
-
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
java-ecs-logging
Copyright 2019 Elasticsearch B.V.
-
###############################################################################
This product includes software licensed under the Apache License 2.0 developed at FasterXML.
-
Jackson LICENSE:
-------------------------------------------------------------------------------
This copy of Jackson JSON processor streaming parser/generator is licensed under the
Apache (Software) License, version 2.0 ("the License").
See the License for details about distribution rights, and the
specific rights regarding derivate works.
-
You may obtain a copy of the License at:
-
http://www.apache.org/licenses/LICENSE-2.0
-------------------------------------------------------------------------------
-
-
Jackson NOTICE:
-------------------------------------------------------------------------------
# Jackson JSON processor
-
Jackson is a high-performance, Free/Open Source JSON processing library.
It was originally written by Tatu Saloranta (tatu.saloranta@iki.fi), and has
been in development since 2007.
It is currently developed by a community of developers, as well as supported
commercially by FasterXML.com.
-
## Licensing
-
Jackson core and extension components may licensed under different licenses.
To find the details that apply to this artifact see the accompanying LICENSE file.
For more information, including possible other licensing options, contact
FasterXML.com (http://fasterxml.com).
-
## Credits
-
A list of contributors may be found from CREDITS file, which is included
in some artifacts (usually source distributions); but is always available
from the source code management (SCM) system project uses.
-------------------------------------------------------------------------------
###############################################################################
- - - -
- -
- - - -
- - -
- - -
-
- - - -
-
- -
-
- - -
- - - - - - -
- - - You can’t perform that action at this time. -
- - - - - - - - - - - - - - -
- - - - +A list of contributors may be found from CREDITS file, which is included +in some artifacts (usually source distributions); but is always available +from the source code management (SCM) system project uses. +------------------------------------------------------------------------------- +############################################################################### diff --git a/server/licenses/log4j2-ecs-layout-LICENSE.txt b/server/licenses/log4j2-ecs-layout-LICENSE.txt index ad37dfadf0db5..0dba4bb894a12 100644 --- a/server/licenses/log4j2-ecs-layout-LICENSE.txt +++ b/server/licenses/log4j2-ecs-layout-LICENSE.txt @@ -1,1829 +1,201 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ecs-logging-java/LICENSE at b5ba2398eec9f6febf6239da638ecf79f4a54b5d · elastic/ecs-logging-java · GitHub - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Skip to content - - - - - - - - - - - -
- -
- - -
- -
- - - -
-
-
- - - - - - - - - - - - - - - - - - -
-
- - - - - - - - - Permalink - - - - - -
- - -
- - Tree: - b5ba2398ee - - - - - - - -
- -
- - Find file - - - Copy path - -
-
- - -
- - Find file - - - Copy path - -
-
- - - -
-
-
- -

- elastic/ecs-logging-java is licensed under the -

-

Apache License 2.0

-

A permissive license whose main conditions require preservation of copyright and license notices. Contributors provide an express grant of patent rights. Licensed works, modifications, and larger works may be distributed under different terms and without source code.

-
- -
-
-

Permissions

-
    -
  • - - - Commercial use - -
  • -
  • - - - Modification - -
  • -
  • - - - Distribution - -
  • -
  • - - - Patent use - -
  • -
  • - - - Private use - -
  • -
-
-
-

Limitations

-
    -
  • - - - Trademark use - -
  • -
  • - - - Liability - -
  • -
  • - - - Warranty - -
  • -
-
-
-

Conditions

-
    -
  • - - - License and copyright notice - -
  • -
  • - - - State changes - -
  • -
-
-
-
-

- This is not legal advice. - Learn more about repository licenses. -

-
- - - - -
-
- - @felixbarny - felixbarny - - License headers and other legal stuff (#6) - - - - a859c6b - Aug 16, 2019 - -
- -
-
- - 1 contributor - - -
- -

- Users who have contributed to this file -

-
- -
-
-
-
- - - - - -
- -
-
- - 201 lines (169 sloc) - - 11.1 KB -
- -
- -
- Raw - Blame - History -
- - -
- - - -
-
-
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
1. Definitions.
-
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
-
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
-
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
-
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
-
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
-
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
-
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
-
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
-
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
-
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
-
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
-
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
-
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
-
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
-
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
-
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
-
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
-
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
-
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
-
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
-
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
-
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
-
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
-
END OF TERMS AND CONDITIONS
-
APPENDIX: How to apply the Apache License to your work.
-
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
-
Copyright 2019 Elastic and contributors
-
Licensed under the Apache License, Version 2.0 (the "License");
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.
- - - -
- -
- - - -
- - -
- - -
-
- - - -
-
- -
-
- - -
- - - - - - -
- - - You can’t perform that action at this time. -
- - - - - - - - - - - - - - -
- - - - + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 - 2020 Elastic and contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + 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. diff --git a/server/licenses/log4j2-ecs-layout-NOTICE.txt b/server/licenses/log4j2-ecs-layout-NOTICE.txt index cbe7f44e3184c..d8b07dbf57b72 100644 --- a/server/licenses/log4j2-ecs-layout-NOTICE.txt +++ b/server/licenses/log4j2-ecs-layout-NOTICE.txt @@ -1,1081 +1,43 @@ +ecs-logging-java +Copyright 2019 - 2020 Elasticsearch B.V. +############################################################################### +This product includes software licensed under the Apache License 2.0 developed at FasterXML. +Jackson LICENSE: +------------------------------------------------------------------------------- +This copy of Jackson JSON processor streaming parser/generator is licensed under the +Apache (Software) License, version 2.0 ("the License"). +See the License for details about distribution rights, and the +specific rights regarding derivate works. +You may obtain a copy of the License at: +http://www.apache.org/licenses/LICENSE-2.0 +------------------------------------------------------------------------------- - - - - - - - - - - - +Jackson NOTICE: +------------------------------------------------------------------------------- +# Jackson JSON processor +Jackson is a high-performance, Free/Open Source JSON processing library. +It was originally written by Tatu Saloranta (tatu.saloranta@iki.fi), and has +been in development since 2007. +It is currently developed by a community of developers, as well as supported +commercially by FasterXML.com. +## Licensing - - - - - - - +Jackson core and extension components may licensed under different licenses. +To find the details that apply to this artifact see the accompanying LICENSE file. +For more information, including possible other licensing options, contact +FasterXML.com (http://fasterxml.com). +## Credits - - - ecs-logging-java/NOTICE at b5ba2398eec9f6febf6239da638ecf79f4a54b5d · elastic/ecs-logging-java · GitHub - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Skip to content - - - - - - - - - - - -
- -
- - -
- -
- - - -
-
-
- - - - - - - - - - - - - - - - - - -
-
- - - - - - - - - Permalink - - - - - -
- - -
- - Tree: - b5ba2398ee - - - - - - - -
- -
- - Find file - - - Copy path - -
-
- - -
- - Find file - - - Copy path - -
-
- - - - - - -
-
- - @felixbarny - felixbarny - - License headers and other legal stuff (#6) - - - - a859c6b - Aug 16, 2019 - -
- -
-
- - 1 contributor - - -
- -

- Users who have contributed to this file -

-
- -
-
-
-
- - - - - -
- -
-
- - 43 lines (32 sloc) - - 1.77 KB -
- -
- -
- Raw - Blame - History -
- - -
- - - -
-
-
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
java-ecs-logging
Copyright 2019 Elasticsearch B.V.
-
###############################################################################
This product includes software licensed under the Apache License 2.0 developed at FasterXML.
-
Jackson LICENSE:
-------------------------------------------------------------------------------
This copy of Jackson JSON processor streaming parser/generator is licensed under the
Apache (Software) License, version 2.0 ("the License").
See the License for details about distribution rights, and the
specific rights regarding derivate works.
-
You may obtain a copy of the License at:
-
http://www.apache.org/licenses/LICENSE-2.0
-------------------------------------------------------------------------------
-
-
Jackson NOTICE:
-------------------------------------------------------------------------------
# Jackson JSON processor
-
Jackson is a high-performance, Free/Open Source JSON processing library.
It was originally written by Tatu Saloranta (tatu.saloranta@iki.fi), and has
been in development since 2007.
It is currently developed by a community of developers, as well as supported
commercially by FasterXML.com.
-
## Licensing
-
Jackson core and extension components may licensed under different licenses.
To find the details that apply to this artifact see the accompanying LICENSE file.
For more information, including possible other licensing options, contact
FasterXML.com (http://fasterxml.com).
-
## Credits
-
A list of contributors may be found from CREDITS file, which is included
in some artifacts (usually source distributions); but is always available
from the source code management (SCM) system project uses.
-------------------------------------------------------------------------------
###############################################################################
- - - -
- -
- - - -
- - -
- - -
-
- - - -
-
- -
-
- - -
- - - - - - -
- - - You can’t perform that action at this time. -
- - - - - - - - - - - - - - -
- - - - +A list of contributors may be found from CREDITS file, which is included +in some artifacts (usually source distributions); but is always available +from the source code management (SCM) system project uses. +------------------------------------------------------------------------------- +############################################################################### diff --git a/server/src/main/java/org/elasticsearch/common/collect/EvictingQueue.java b/server/src/main/java/org/elasticsearch/common/collect/EvictingQueue.java index 51cc08d02090b..802697ec01617 100644 --- a/server/src/main/java/org/elasticsearch/common/collect/EvictingQueue.java +++ b/server/src/main/java/org/elasticsearch/common/collect/EvictingQueue.java @@ -1,20 +1,19 @@ -/* - * Licensed to Elasticsearch under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. +/* @notice + * Copyright (C) 2012 The Guava Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * 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 + * 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. * - * 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. + * Modifications copyright (C) 2020 Elasticsearch B.V. */ package org.elasticsearch.common.collect; diff --git a/server/src/main/java/org/elasticsearch/common/inject/package-info.java b/server/src/main/java/org/elasticsearch/common/inject/package-info.java index 2fa93ef48eb87..ba292887e7024 100644 --- a/server/src/main/java/org/elasticsearch/common/inject/package-info.java +++ b/server/src/main/java/org/elasticsearch/common/inject/package-info.java @@ -1,4 +1,4 @@ -/* +/* @notice * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,6 +12,8 @@ * 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. + * + * Modifications copyright (C) 2020 Elasticsearch B.V. */ /** @@ -44,4 +46,4 @@ * * */ -package org.elasticsearch.common.inject; \ No newline at end of file +package org.elasticsearch.common.inject; diff --git a/server/src/main/java/org/elasticsearch/common/logging/JsonThrowablePatternConverter.java b/server/src/main/java/org/elasticsearch/common/logging/JsonThrowablePatternConverter.java index 97e712512317b..1481ad0bf3801 100644 --- a/server/src/main/java/org/elasticsearch/common/logging/JsonThrowablePatternConverter.java +++ b/server/src/main/java/org/elasticsearch/common/logging/JsonThrowablePatternConverter.java @@ -1,4 +1,4 @@ -/* +/* @notice * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/server/src/main/java/org/elasticsearch/common/network/InetAddresses.java b/server/src/main/java/org/elasticsearch/common/network/InetAddresses.java index 2e68d8358f0b2..21c5b4e04b25b 100644 --- a/server/src/main/java/org/elasticsearch/common/network/InetAddresses.java +++ b/server/src/main/java/org/elasticsearch/common/network/InetAddresses.java @@ -1,4 +1,4 @@ -/* +/* @notice * Copyright (C) 2008 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/server/src/main/java/org/elasticsearch/common/time/DateUtilsRounding.java b/server/src/main/java/org/elasticsearch/common/time/DateUtilsRounding.java index d9c0a9597b8a1..773f89f00518b 100644 --- a/server/src/main/java/org/elasticsearch/common/time/DateUtilsRounding.java +++ b/server/src/main/java/org/elasticsearch/common/time/DateUtilsRounding.java @@ -1,4 +1,4 @@ -/* +/* @notice * Copyright 2001-2014 Stephen Colebourne * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/server/src/main/java/org/joda/time/format/StrictISODateTimeFormat.java b/server/src/main/java/org/joda/time/format/StrictISODateTimeFormat.java index a373c3862cd8b..b6e02f3f54b2c 100644 --- a/server/src/main/java/org/joda/time/format/StrictISODateTimeFormat.java +++ b/server/src/main/java/org/joda/time/format/StrictISODateTimeFormat.java @@ -1,6 +1,6 @@ package org.joda.time.format; -/* +/* @notice * Copyright 2001-2009 Stephen Colebourne * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/server/src/test/java/org/elasticsearch/common/collect/EvictingQueueTests.java b/server/src/test/java/org/elasticsearch/common/collect/EvictingQueueTests.java index de822b8aa832d..fe8164594913e 100644 --- a/server/src/test/java/org/elasticsearch/common/collect/EvictingQueueTests.java +++ b/server/src/test/java/org/elasticsearch/common/collect/EvictingQueueTests.java @@ -1,4 +1,4 @@ -/* +/* @notice * Copyright (C) 2012 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -147,4 +147,4 @@ public void testAddAll() throws Exception { assertEquals(2, queue.size()); assertEquals(1, queue.remainingCapacity()); } -} \ No newline at end of file +} diff --git a/server/src/test/java/org/elasticsearch/common/network/InetAddressesTests.java b/server/src/test/java/org/elasticsearch/common/network/InetAddressesTests.java index f323494b987e5..77d72a5898680 100644 --- a/server/src/test/java/org/elasticsearch/common/network/InetAddressesTests.java +++ b/server/src/test/java/org/elasticsearch/common/network/InetAddressesTests.java @@ -1,4 +1,4 @@ -/* +/* @notice * Copyright (C) 2008 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/x-pack/build.gradle b/x-pack/build.gradle index 8375034f30942..ad8c2fe2952bd 100644 --- a/x-pack/build.gradle +++ b/x-pack/build.gradle @@ -32,7 +32,7 @@ subprojects { } tasks.withType(LicenseHeadersTask.class) { - approvedLicenses = ['Elastic License', 'Generated'] + approvedLicenses = ['Elastic License', 'Generated', 'Vendored'] additionalLicense 'ELAST', 'Elastic License', 'Licensed under the Elastic License' } diff --git a/x-pack/plugin/core/build.gradle b/x-pack/plugin/core/build.gradle index 5aff252016bbc..e9240870ce882 100644 --- a/x-pack/plugin/core/build.gradle +++ b/x-pack/plugin/core/build.gradle @@ -99,12 +99,6 @@ tasks.named('forbiddenApisMain').configure { compileJava.options.compilerArgs << "-Xlint:-rawtypes,-unchecked" compileTestJava.options.compilerArgs << "-Xlint:-rawtypes,-unchecked" -licenseHeaders { - approvedLicenses << 'BCrypt (BSD-like)' - additionalLicense 'BCRYP', 'BCrypt (BSD-like)', 'Copyright (c) 2006 Damien Miller ' - excludes << 'org/elasticsearch/xpack/core/ssl/DerParser.java' -} - // make LicenseSigner available for testing signed licenses sourceSets.test.resources { srcDir 'src/main/config' diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/BCrypt.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/BCrypt.java index a93476bbdc8da..eb4c73a696913 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/BCrypt.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/BCrypt.java @@ -1,19 +1,20 @@ +/* @notice + Copyright (c) 2006 Damien Miller + + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +*/ package org.elasticsearch.xpack.core.security.authc.support; -// Copyright (c) 2006 Damien Miller -// -// Permission to use, copy, modify, and distribute this software for any -// purpose with or without fee is hereby granted, provided that the above -// copyright notice and this permission notice appear in all copies. -// -// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - import org.elasticsearch.common.CharArrays; import org.elasticsearch.common.settings.SecureString; diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/DerParser.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/DerParser.java index ae15c70e97b9b..de0af4e3d3d71 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/DerParser.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/DerParser.java @@ -1,4 +1,4 @@ -/* +/* @notice Copyright (c) 1998-2010 AOL Inc. Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/x-pack/plugin/identity-provider/licenses/cryptacular-NOTICE.txt b/x-pack/plugin/identity-provider/licenses/cryptacular-NOTICE.txt index f17da0d736217..c508838c0f1c8 100644 --- a/x-pack/plugin/identity-provider/licenses/cryptacular-NOTICE.txt +++ b/x-pack/plugin/identity-provider/licenses/cryptacular-NOTICE.txt @@ -1,710 +1,6 @@ +Cryptacular Java Library +Copyright (C) 2003-2020 Virginia Tech. +All rights reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - cryptacular/NOTICE at master · vt-middleware/cryptacular · GitHub - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Skip to content -
- - - - - - - - - - -
- -
- -
-
- - - -
-
-
- - - - - - - -
- - -
- -
-
- - - Permalink - - - -
- - - -
- - Find file - - -
- -
- - - -
- - - 6dd6f19 - - Jul 7, 2017 - - - -
- - -
- - -
- -
-
-
- -
- Raw - Blame - History -
- - - - -
- -
- 7 lines (5 sloc) - - 165 Bytes -
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Cryptacular Java Library
Copyright (C) 2003-2017 Virginia Tech.
All rights reserved.
-
This product includes software developed at
Virginia Tech (http://www.vt.edu).
- - -
- -
- - - - -
- -
- -
-
- -
- - - - - - -
- - - You can't perform that action at this time. -
- - - - - - - - - - -
- - You signed in with another tab or window. Reload to refresh your session. - You signed out in another tab or window. Reload to refresh your session. -
- - - - - - +This product includes software developed at +Virginia Tech (http://www.vt.edu). diff --git a/x-pack/plugin/security/build.gradle b/x-pack/plugin/security/build.gradle index 1ea87d6a3bd92..b88b2b703435e 100644 --- a/x-pack/plugin/security/build.gradle +++ b/x-pack/plugin/security/build.gradle @@ -158,11 +158,6 @@ dependencyLicenses { mapping from: /http.*/, to: 'httpclient' } -licenseHeaders { - // This class was sourced from apache directory studio for some microsoft-specific logic - excludes << 'org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySIDUtil.java' -} - forbiddenPatterns { exclude '**/*.key' exclude '**/*.p12' diff --git a/x-pack/plugin/security/licenses/cryptacular-NOTICE.txt b/x-pack/plugin/security/licenses/cryptacular-NOTICE.txt index f17da0d736217..c508838c0f1c8 100644 --- a/x-pack/plugin/security/licenses/cryptacular-NOTICE.txt +++ b/x-pack/plugin/security/licenses/cryptacular-NOTICE.txt @@ -1,710 +1,6 @@ +Cryptacular Java Library +Copyright (C) 2003-2020 Virginia Tech. +All rights reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - cryptacular/NOTICE at master · vt-middleware/cryptacular · GitHub - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Skip to content -
- - - - - - - - - - -
- -
- -
-
- - - -
-
-
- - - - - - - -
- - -
- -
-
- - - Permalink - - - -
- - - -
- - Find file - - -
- -
- - - -
- - - 6dd6f19 - - Jul 7, 2017 - - - -
- - -
- - -
- -
-
-
- -
- Raw - Blame - History -
- - - - -
- -
- 7 lines (5 sloc) - - 165 Bytes -
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Cryptacular Java Library
Copyright (C) 2003-2017 Virginia Tech.
All rights reserved.
-
This product includes software developed at
Virginia Tech (http://www.vt.edu).
- - -
- -
- - - - -
- -
- -
-
- -
- - - - - - -
- - - You can't perform that action at this time. -
- - - - - - - - - - -
- - You signed in with another tab or window. Reload to refresh your session. - You signed out in another tab or window. Reload to refresh your session. -
- - - - - - +This product includes software developed at +Virginia Tech (http://www.vt.edu). diff --git a/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySIDUtil.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySIDUtil.java index d93ba9e017e1f..1a1b028a31483 100644 --- a/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySIDUtil.java +++ b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySIDUtil.java @@ -1,4 +1,4 @@ -/* +/* @notice * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information diff --git a/x-pack/plugin/spatial/build.gradle b/x-pack/plugin/spatial/build.gradle index be6c976c346bf..2f2101116f158 100644 --- a/x-pack/plugin/spatial/build.gradle +++ b/x-pack/plugin/spatial/build.gradle @@ -30,8 +30,3 @@ testClusters.integTest { setting 'indices.breaker.request.limit', '25kb' testDistribution = 'DEFAULT' } - -licenseHeaders { - // This class was sourced from apache lucene's sandbox module tests - excludes << 'org/apache/lucene/geo/XShapeTestUtil.java' -} diff --git a/x-pack/plugin/spatial/src/test/java/org/apache/lucene/geo/XShapeTestUtil.java b/x-pack/plugin/spatial/src/test/java/org/apache/lucene/geo/XShapeTestUtil.java index 29a97173622cf..d12ca96ac9612 100644 --- a/x-pack/plugin/spatial/src/test/java/org/apache/lucene/geo/XShapeTestUtil.java +++ b/x-pack/plugin/spatial/src/test/java/org/apache/lucene/geo/XShapeTestUtil.java @@ -1,4 +1,4 @@ -/* +/* @notice * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership.