Skip to content

Commit

Permalink
SOLR-15862 Move solr/LICENSE.txt and SOLR/NOTICE.txt to git top-level (
Browse files Browse the repository at this point in the history
  • Loading branch information
janhoy authored Jan 17, 2022
1 parent 0cd9e4d commit 9b6b7ef
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 207 deletions.
201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

File renamed without changes.
File renamed without changes.
5 changes: 2 additions & 3 deletions dev-tools/scripts/smokeTestRelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,10 +558,9 @@ def verifyUnpacked(java, artifact, unpackPath, gitRevision, version, testArgs):
if isSrc:
in_solr_folder.extend(os.listdir(os.path.join(unpackPath, 'solr')))
is_in_list(in_root_folder, ['LICENSE', 'NOTICE', 'README'])
is_in_list(in_solr_folder, ['JRE_VERSION_MIGRATION', 'CHANGES', 'MIGRATE', 'SYSTEM_REQUIREMENTS'])
is_in_list(in_solr_folder, ['CHANGES', 'README'])
else:
is_in_list(in_root_folder, ['LICENSE', 'NOTICE', 'README', 'JRE_VERSION_MIGRATION', 'CHANGES',
'MIGRATE', 'SYSTEM_REQUIREMENTS'])
is_in_list(in_root_folder, ['LICENSE', 'NOTICE', 'README', 'CHANGES'])

if SOLR_NOTICE is None:
SOLR_NOTICE = open('%s/NOTICE.txt' % unpackPath, encoding='UTF-8').read()
Expand Down
2 changes: 1 addition & 1 deletion gradle/java/jar-manifest.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ subprojects {
// per-project.
def title = "Apache Solr Search Server: ${project.name}"
def implementationTitle = "org.apache.solr"
def legaleseDir = project(":solr").projectDir
def legaleseDir = rootDir

// Apply the manifest to any JAR or WAR file created by any project,
// excluding those explicitly listed.
Expand Down
7 changes: 5 additions & 2 deletions solr/packaging/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,16 @@ distributions {
contents {
// TODO: This is missing module README files, as compared to 8x

from(rootDir, {
include "LICENSE.txt"
include "NOTICE.txt"
})

from(project(":solr").projectDir, {
include "bin/**"
include "licenses/**"
exclude "licenses/README.committers.txt"
include "CHANGES.txt"
include "LICENSE.txt"
include "NOTICE.txt"
include "README.md"
})

Expand Down

0 comments on commit 9b6b7ef

Please sign in to comment.