mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-17 20:05:09 -04:00
Update year in NOTICE.txt (#109548)
This commit is contained in:
parent
0be3c741df
commit
f75afb0098
4 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
Elasticsearch
|
||||
Copyright 2009-2021 Elasticsearch
|
||||
Copyright 2009-2024 Elasticsearch
|
||||
|
||||
This product includes software developed by The Apache Software
|
||||
Foundation (http://www.apache.org/).
|
||||
|
|
|
@ -117,7 +117,7 @@ Copyright 2009-2018 Acme Coorp"""
|
|||
result.task(":darwin-tar:checkNotice").outcome == TaskOutcome.FAILED
|
||||
result.output.contains("> expected line [2] in " +
|
||||
"[./darwin-tar/build/tar-extracted/elasticsearch-${VersionProperties.getElasticsearch()}/NOTICE.txt] " +
|
||||
"to be [Copyright 2009-2021 Elasticsearch] but was [Copyright 2009-2018 Acme Coorp]")
|
||||
"to be [Copyright 2009-2024 Elasticsearch] but was [Copyright 2009-2018 Acme Coorp]")
|
||||
}
|
||||
|
||||
def "fails on unexpected ml notice content"() {
|
||||
|
@ -125,7 +125,7 @@ Copyright 2009-2018 Acme Coorp"""
|
|||
elasticLicense()
|
||||
elasticLicense(file("LICENSE.txt"))
|
||||
file("NOTICE.txt").text = """Elasticsearch
|
||||
Copyright 2009-2021 Elasticsearch"""
|
||||
Copyright 2009-2024 Elasticsearch"""
|
||||
|
||||
file("ml/NOTICE.txt").text = "Boost Software License - Version 1.0 - August 17th, 2003"
|
||||
file('darwin-tar/build.gradle') << """
|
||||
|
|
|
@ -135,7 +135,7 @@ public class InternalDistributionArchiveCheckPlugin implements Plugin<Project> {
|
|||
task.doLast(new Action<Task>() {
|
||||
@Override
|
||||
public void execute(Task task) {
|
||||
final List<String> noticeLines = Arrays.asList("Elasticsearch", "Copyright 2009-2021 Elasticsearch");
|
||||
final List<String> noticeLines = Arrays.asList("Elasticsearch", "Copyright 2009-2024 Elasticsearch");
|
||||
final Path noticePath = checkExtraction.get()
|
||||
.getDestinationDir()
|
||||
.toPath()
|
||||
|
|
|
@ -495,7 +495,7 @@ subprojects {
|
|||
(project.name.contains('deb') && dpkgExists.call(it)) || (project.name.contains('rpm') && rpmExists.call(it))
|
||||
}
|
||||
doLast {
|
||||
final List<String> noticeLines = Arrays.asList("Elasticsearch", "Copyright 2009-2021 Elasticsearch")
|
||||
final List<String> noticeLines = Arrays.asList("Elasticsearch", "Copyright 2009-2024 Elasticsearch")
|
||||
final Path noticePath = packageExtractionDir.toPath().resolve("usr/share/elasticsearch/NOTICE.txt")
|
||||
assertLinesInFile(noticePath, noticeLines)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue