Fix xpack api jar artifact naming
Original commit: elastic/x-pack-elasticsearch@bb7b0a6392
This commit is contained in:
parent
fa4d389c99
commit
36c7070217
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue