1414
1515apply plugin : ' opensearch.internal-cluster-test'
1616
17- // SQL Unified Query API version (aligned with OpenSearch build version)
18- def sqlUnifiedQueryVersion = ' 3.6.0.0-SNAPSHOT'
19-
2017opensearchplugin {
2118 description = ' Analytics engine hub: discovers and wires query extensions via ExtensiblePlugin SPI.'
2219 classname = ' org.opensearch.analytics.AnalyticsPlugin'
@@ -28,6 +25,17 @@ opensearchplugin {
2825
2926java { sourceCompatibility = JavaVersion . toVersion(25 ); targetCompatibility = JavaVersion . toVersion(25 ) }
3027
28+ // Force mavenLocal to position 0 so the transitive unified-query SNAPSHOT (pulled in via the
29+ // `:sandbox:plugins:test-ppl-frontend` project dep) resolves against a freshly-published
30+ // local SQL plugin checkout instead of ci.opensearch.org. Sandbox-only; CI's empty `~/.m2/`
31+ // makes this a no-op there. Transitive resolution uses the consumer's repo list, not the
32+ // dependee's, so test-ppl-frontend's own mavenLocal precedence isn't enough.
33+ repositories {
34+ def local = mavenLocal()
35+ remove(local)
36+ add(0 , local)
37+ }
38+
3139// Guava comes transitively from calcite-core and unified-query — forbidden on
3240// compile classpaths by OpenSearch. Main sources don't need it; test sources do
3341// (Calcite API exposes ImmutableList, Predicate). Bypass via custom config.
@@ -133,17 +141,6 @@ dependencies {
133141 testRuntimeOnly " com.fasterxml.jackson.core:jackson-databind:${ versions.jackson_databind} "
134142 testRuntimeOnly " com.fasterxml.jackson.core:jackson-annotations:${ versions.jackson_annotations} "
135143
136- // SQL Unified Query API for PPL parsing
137- testImplementation(" org.opensearch.query:unified-query-api:${ sqlUnifiedQueryVersion} " ) {
138- exclude group : ' org.opensearch'
139- }
140- testImplementation(" org.opensearch.query:unified-query-core:${ sqlUnifiedQueryVersion} " ) {
141- exclude group : ' org.opensearch'
142- }
143- testImplementation(" org.opensearch.query:unified-query-ppl:${ sqlUnifiedQueryVersion} " ) {
144- exclude group : ' org.opensearch'
145- }
146-
147144 // Arrow Flight streaming transport for ITs
148145 internalClusterTestImplementation project(' :plugins:arrow-flight-rpc' )
149146
0 commit comments