Skip to content

Commit

Permalink
Adding asm to version file and upgrading (#2933) (#2951)
Browse files Browse the repository at this point in the history
Signed-off-by: Vacha Shah <[email protected]>
(cherry picked from commit fc378c7)

Co-authored-by: Vacha Shah <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and VachaShah authored Apr 18, 2022
1 parent b349851 commit 98af7e0
Show file tree
Hide file tree
Showing 20 changed files with 25 additions and 24 deletions.
1 change: 1 addition & 0 deletions buildSrc/version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ icu4j = 70.1
supercsv = 2.4.0
log4j = 2.17.1
slf4j = 1.6.2
asm = 9.3

# when updating the JNA version, also update the version in buildSrc/build.gradle
jna = 5.5.0
Expand Down
6 changes: 3 additions & 3 deletions modules/lang-expression/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ opensearchplugin {
dependencies {
api "org.apache.lucene:lucene-expressions:${versions.lucene}"
api 'org.antlr:antlr4-runtime:4.9.3'
api 'org.ow2.asm:asm:9.2'
api 'org.ow2.asm:asm-commons:9.2'
api 'org.ow2.asm:asm-tree:9.2'
api "org.ow2.asm:asm:${versions.asm}"
api "org.ow2.asm:asm-commons:${versions.asm}"
api "org.ow2.asm:asm-tree:${versions.asm}"
}
restResources {
restApi {
Expand Down
1 change: 0 additions & 1 deletion modules/lang-expression/licenses/asm-9.2.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions modules/lang-expression/licenses/asm-9.3.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8e6300ef51c1d801a7ed62d07cd221aca3a90640
1 change: 0 additions & 1 deletion modules/lang-expression/licenses/asm-commons-9.2.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions modules/lang-expression/licenses/asm-commons-9.3.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1f2a432d1212f5c352ae607d7b61dcae20c20af5
1 change: 0 additions & 1 deletion modules/lang-expression/licenses/asm-tree-9.2.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions modules/lang-expression/licenses/asm-tree-9.3.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
78d2ecd61318b5a58cd04fb237636c0e86b77d97
20 changes: 10 additions & 10 deletions modules/lang-painless/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ testClusters.all {

dependencies {
api 'org.antlr:antlr4-runtime:4.9.3'
api 'org.ow2.asm:asm-util:9.2'
api 'org.ow2.asm:asm-tree:9.2'
api 'org.ow2.asm:asm-commons:9.2'
api 'org.ow2.asm:asm-analysis:9.2'
api 'org.ow2.asm:asm:9.2'
api "org.ow2.asm:asm-util:${versions.asm}"
api "org.ow2.asm:asm-tree:${versions.asm}"
api "org.ow2.asm:asm-commons:${versions.asm}"
api "org.ow2.asm:asm-analysis:${versions.asm}"
api "org.ow2.asm:asm:${versions.asm}"
api project('spi')
}

Expand All @@ -69,11 +69,11 @@ shadowJar {
classifier = null
relocate 'org.objectweb', 'org.opensearch.repackage.org.objectweb'
dependencies {
include(dependency('org.ow2.asm:asm:9.2'))
include(dependency('org.ow2.asm:asm-util:9.2'))
include(dependency('org.ow2.asm:asm-tree:9.2'))
include(dependency('org.ow2.asm:asm-commons:9.2'))
include(dependency('org.ow2.asm:asm-analysis:9.2'))
include(dependency("org.ow2.asm:asm:${versions.asm}"))
include(dependency("org.ow2.asm:asm-util:${versions.asm}"))
include(dependency("org.ow2.asm:asm-tree:${versions.asm}"))
include(dependency("org.ow2.asm:asm-commons:${versions.asm}"))
include(dependency("org.ow2.asm:asm-analysis:${versions.asm}"))
}
}

Expand Down
1 change: 0 additions & 1 deletion modules/lang-painless/licenses/asm-9.2.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions modules/lang-painless/licenses/asm-9.3.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8e6300ef51c1d801a7ed62d07cd221aca3a90640
1 change: 0 additions & 1 deletion modules/lang-painless/licenses/asm-analysis-9.2.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions modules/lang-painless/licenses/asm-analysis-9.3.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4b071f211b37c38e0e9f5998550197c8593f6ad8
1 change: 0 additions & 1 deletion modules/lang-painless/licenses/asm-commons-9.2.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions modules/lang-painless/licenses/asm-commons-9.3.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1f2a432d1212f5c352ae607d7b61dcae20c20af5
1 change: 0 additions & 1 deletion modules/lang-painless/licenses/asm-tree-9.2.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions modules/lang-painless/licenses/asm-tree-9.3.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
78d2ecd61318b5a58cd04fb237636c0e86b77d97
1 change: 0 additions & 1 deletion modules/lang-painless/licenses/asm-util-9.2.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions modules/lang-painless/licenses/asm-util-9.3.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9595bc05510d0bd4b610188b77333fe4851a1975
6 changes: 3 additions & 3 deletions test/logger-usage/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
apply plugin: 'opensearch.java'

dependencies {
api 'org.ow2.asm:asm:9.2'
api 'org.ow2.asm:asm-tree:9.2'
api 'org.ow2.asm:asm-analysis:9.3'
api "org.ow2.asm:asm:${versions.asm}"
api "org.ow2.asm:asm-tree:${versions.asm}"
api "org.ow2.asm:asm-analysis:${versions.asm}"
api "org.apache.logging.log4j:log4j-api:${versions.log4j}"
testImplementation project(":test:framework")
}

0 comments on commit 98af7e0

Please sign in to comment.