mirror of https://github.com/apache/kafka.git
KAFKA-1131 copy license and notice to the release files, reviewed by David Arthur
This commit is contained in:
parent
98568cccee
commit
59a0c79ea6
|
@ -113,6 +113,8 @@ object KafkaBuild extends Build {
|
|||
val jarFiles = deps.files.filter(f => !products.files.contains(f) && f.getName.endsWith(".jar"))
|
||||
val destination = target / "RELEASE" / releaseName
|
||||
IO.copyFile(packageBin, destination / packageBin.getName)
|
||||
IO.copyFile(file("LICENSE"), destination / "LICENSE")
|
||||
IO.copyFile(file("NOTICE"), destination / "NOTICE")
|
||||
IO.copy(jarFiles.map { f => (f, destination / "libs" / f.getName) })
|
||||
IO.copyDirectory(file("config"), destination / "config")
|
||||
IO.copyDirectory(file("bin"), destination / "bin")
|
||||
|
|
Loading…
Reference in New Issue