Skip to content

Commit bfbbd54

Browse files
authored
[Gradle] Update nebula ospackage plugin to 12.1.0 (#132640) (#132866)
* [Gradle] Update nebula ospackage plugin to 12.1.0 - 12.1.0 is required by Gradle 9.x these days and required before we can update to the newest Gradle version * Fix issue with file permissions in deb and rpm archives * Cleanup dependency metadata
1 parent 81f31f3 commit bfbbd54

File tree

3 files changed

+52
-4
lines changed

3 files changed

+52
-4
lines changed

gradle/build.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ wiremock = "com.github.tomakehurst:wiremock-jre8-standalone:2.23.2"
5050
xmlunit-core = "org.xmlunit:xmlunit-core:2.8.2"
5151

5252
[plugins]
53-
ospackage = { id = "com.netflix.nebula.ospackage-base", version = "11.11.2" }
53+
ospackage = { id = "com.netflix.nebula.ospackage-base", version = "12.1.0" }
5454
nmcp-aggregation = { id = "com.gradleup.nmcp.aggregation", version.ref="nmcp" }

gradle/verification-metadata.xml

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,11 @@
476476
<sha256 value="084197555590a53bb21b59508a3330559f536ddb448eafd1ec675f5462036fcf" origin="Generated by Gradle"/>
477477
</artifact>
478478
</component>
479+
<component group="com.github.luben" name="zstd-jni" version="1.5.6-3">
480+
<artifact name="zstd-jni-1.5.6-3.jar">
481+
<sha256 value="f72ede1b39258faf81277dc58de30c71cbae4253732558d2ce10b53d8b5763d5" origin="Generated by Gradle"/>
482+
</artifact>
483+
</component>
479484
<component group="com.github.spotbugs" name="spotbugs-annotations" version="4.0.2">
480485
<artifact name="spotbugs-annotations-4.0.2.jar">
481486
<sha256 value="3ef6c9f822b601aa151e10e123b49e5604243a4a99bcc47e4e1f9eea9781dc63" origin="Generated by Gradle"/>
@@ -1078,9 +1083,9 @@
10781083
<sha256 value="d694edd7bae3bc1a8e0dae2f5a22c479ff04d6b9bfcb0ab751a42f02e02d2100" origin="Generated by Gradle"/>
10791084
</artifact>
10801085
</component>
1081-
<component group="com.netflix.nebula" name="gradle-ospackage-plugin" version="11.11.2">
1082-
<artifact name="gradle-ospackage-plugin-11.11.2.jar">
1083-
<sha256 value="2cad0d0af05514e07b163d30d71c486ef1a205265ecc4821f8fb9a121f2cabe5" origin="Generated by Gradle"/>
1086+
<component group="com.netflix.nebula" name="gradle-ospackage-plugin" version="12.1.0">
1087+
<artifact name="gradle-ospackage-plugin-12.1.0.jar">
1088+
<sha256 value="825fbb7f3f52083eaae9bec50cee88da2a43462715b2e23afa27972ce803d092" origin="Generated by Gradle"/>
10841089
</artifact>
10851090
</component>
10861091
<component group="com.netflix.nebula" name="nebula-gradle-interop" version="2.0.0">
@@ -1528,6 +1533,11 @@
15281533
<sha256 value="b0a5159e926de8084ff066025142270443533656bc599b8bb31d14d11fd138a4" origin="Generated by Gradle"/>
15291534
</artifact>
15301535
</component>
1536+
<component group="io.airlift" name="aircompressor" version="0.27">
1537+
<artifact name="aircompressor-0.27.jar">
1538+
<sha256 value="fdbef3137a28f63bb0cb93487803080ede746a4ec3d421e36c6f0c305c35e5e4" origin="Generated by Gradle"/>
1539+
</artifact>
1540+
</component>
15311541
<component group="io.dropwizard.metrics" name="metrics-core" version="3.2.4">
15321542
<artifact name="metrics-core-3.2.4.jar">
15331543
<sha256 value="a083e3f3bdf4173d7065cdd4521964394a840d586bf8653676203d18354a6d2c" origin="Generated by Gradle"/>
@@ -2200,6 +2210,11 @@
22002210
<sha256 value="27bb5d40f37c3bb7205b4a0540247df057715e9f6cbbd97d626ab8b50318bb04" origin="Generated by Gradle"/>
22012211
</artifact>
22022212
</component>
2213+
<component group="org.apache.commons" name="commons-compress" version="1.26.2">
2214+
<artifact name="commons-compress-1.26.2.jar">
2215+
<sha256 value="9168a03141d8fc7eda21a2360d83cc0412bcbb1d6204d992bd48c2573cb3c6b8" origin="Generated by Gradle"/>
2216+
</artifact>
2217+
</component>
22032218
<component group="org.apache.commons" name="commons-compress" version="1.27.1">
22042219
<artifact name="commons-compress-1.27.1.jar">
22052220
<sha256 value="293d80f54b536b74095dcd7ea3cf0a29bbfc3402519281332495f4420d370d16" origin="Generated by Gradle"/>
@@ -3223,6 +3238,11 @@
32233238
<sha256 value="d0674469f8e6fbc866dbc5c955463d7629b7755ac7c87a235b9469d8257d6b8c" origin="Generated by Gradle"/>
32243239
</artifact>
32253240
</component>
3241+
<component group="org.apache.maven" name="maven-archiver" version="3.6.3">
3242+
<artifact name="maven-archiver-3.6.3.jar">
3243+
<sha256 value="83566129898c7a384bffaa118a76a40667d546948460b43eeb8563fa17635848" origin="Generated by Gradle"/>
3244+
</artifact>
3245+
</component>
32263246
<component group="org.apache.maven" name="maven-artifact" version="3.6.1">
32273247
<artifact name="maven-artifact-3.6.1.jar">
32283248
<sha256 value="797fa1bcf54d7216e863b8177c04507d09c708eec153626eca473054c0eb56f3" origin="Generated by Gradle"/>
@@ -3636,6 +3656,11 @@
36363656
<sha256 value="92654f493ecfec52082e76354f0ebf87648dc3d5cec2e3c3cdb947c016747a53" origin="Generated by Gradle"/>
36373657
</artifact>
36383658
</component>
3659+
<component group="org.codehaus.plexus" name="plexus-archiver" version="4.10.0">
3660+
<artifact name="plexus-archiver-4.10.0.jar">
3661+
<sha256 value="4c07814ff4a39199999ae82bba1e38aa4f25637467fcac6a66ed63a76535799a" origin="Generated by Gradle"/>
3662+
</artifact>
3663+
</component>
36393664
<component group="org.codehaus.plexus" name="plexus-archiver" version="4.2.3">
36403665
<artifact name="plexus-archiver-4.2.3.jar">
36413666
<sha256 value="fff8157bfb3d6f1f099c7da7de3e14bfd061ad4ab29599afa7bbf0271368d748" origin="Generated by Gradle"/>
@@ -3661,11 +3686,21 @@
36613686
<sha256 value="b3b5412ce17889103ea564bcdfcf9fb3dfa540344ffeac6b538a73c9d7182662" origin="Generated by Gradle"/>
36623687
</artifact>
36633688
</component>
3689+
<component group="org.codehaus.plexus" name="plexus-interpolation" version="1.27">
3690+
<artifact name="plexus-interpolation-1.27.jar">
3691+
<sha256 value="3fb4fb6143fdf964024c3cb738551524b9ea84e5c211cd660c559ad0703e5230" origin="Generated by Gradle"/>
3692+
</artifact>
3693+
</component>
36643694
<component group="org.codehaus.plexus" name="plexus-io" version="3.2.0">
36653695
<artifact name="plexus-io-3.2.0.jar">
36663696
<sha256 value="15cf8cbd9e014b7156482bbb48e515613158bdd9b4b908d21e6b900f7876f6ff" origin="Generated by Gradle"/>
36673697
</artifact>
36683698
</component>
3699+
<component group="org.codehaus.plexus" name="plexus-io" version="3.5.0">
3700+
<artifact name="plexus-io-3.5.0.jar">
3701+
<sha256 value="965ed28912cf1ae4c628112c4009e0c19819bc44ed5db8af54ee5eda21036a3e" origin="Generated by Gradle"/>
3702+
</artifact>
3703+
</component>
36693704
<component group="org.codehaus.plexus" name="plexus-utils" version="3.2.0">
36703705
<artifact name="plexus-utils-3.2.0.jar">
36713706
<sha256 value="0b91029df4c216b8824bd95361f52e260e86ccf93a2619fd88c8f15d23dcb30d" origin="Generated by Gradle"/>
@@ -4896,6 +4931,11 @@
48964931
<sha256 value="254cbb052f718f36ee2a75ae95bd2e0251b0513fc76d038b6dbbcf0942fcc11f" origin="Generated by Gradle"/>
48974932
</artifact>
48984933
</component>
4934+
<component group="org.vafer" name="jdeb" version="1.14">
4935+
<artifact name="jdeb-1.14.jar">
4936+
<sha256 value="2b999a40b769f6cca3fb381b8f1118fc344b88abe2f38ba1b2d53257f89f3602" origin="Generated by Gradle"/>
4937+
</artifact>
4938+
</component>
48994939
<component group="org.vafer" name="jdeb" version="1.8">
49004940
<artifact name="jdeb-1.8.jar">
49014941
<sha256 value="374fe02a09314da6ec8219e005598e760323a1abe4b715cc33ce3e2a9bcda932" origin="Generated by Gradle"/>

x-pack/plugin/ml/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ esplugin.bundleSpec.from {
5151
configurations.nativeBundle.files.collect { zipTree(it) }
5252
}
5353

54+
// this is required due to https://github.com/nebula-plugins/gradle-ospackage-plugin/issues/472
55+
// those lib files should not be executable in the first place
56+
esplugin.bundleSpec.filesMatching("platform/**/lib/*") { details ->
57+
details.permissions {
58+
unix(0644)
59+
}
60+
}
61+
5462
// We don't ship the individual nativeBundle licenses - instead
5563
// they get combined into the top level NOTICES file we ship
5664
esplugin.bundleSpec.exclude 'platform/licenses/**'

0 commit comments

Comments
 (0)