Fix xpack api jar artifact naming

Original commit: elastic/x-pack-elasticsearch@bb7b0a6392
This commit is contained in:
Ryan Ernst 2016-10-03 19:25:44 -07:00
parent fa4d389c99
commit 36c7070217
1 changed files with 1 additions and 2 deletions

View File

@ -126,11 +126,10 @@ project.afterEvaluate {
String apiFileName = jarFile.fileName.toString().replace(project.version, "api-${project.version}")
Files.copy(jarFile, jarFile.resolveSibling(apiFileName), StandardCopyOption.REPLACE_EXISTING)
/*String pomFileName = jarFile.fileName.toString().replace('.jar', '.pom')
String pomFileName = jarFile.fileName.toString().replace('.jar', '.pom')
String apiPomFileName = apiFileName.replace('.jar', '.pom')
Files.copy(jarFile.resolveSibling(pomFileName), jarFile.resolveSibling(apiPomFileName),
StandardCopyOption.REPLACE_EXISTING)
*/
}
}
assemble.dependsOn(apiJar)