KAFKA-1131 copy license and notice to the release files, reviewed by David Arthur

This commit is contained in:
Joe Stein 2013-11-20 15:15:53 -07:00
parent 98568cccee
commit 59a0c79ea6
1 changed files with 2 additions and 0 deletions

View File

@ -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")