File tree 1 file changed +12
-8
lines changed
1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 77
77
78
78
<dependency >
79
79
<groupId >org.apache.kyuubi</groupId >
80
- <artifactId >kyuubi- hive- jdbc</artifactId >
80
+ <artifactId >${ hive. jdbc.artifact} </artifactId >
81
81
<version >${project.version} </version >
82
82
</dependency >
83
83
269
269
<scope >test</scope >
270
270
</dependency >
271
271
272
- <dependency >
273
- <groupId >org.apache.kyuubi</groupId >
274
- <artifactId >${hive.jdbc.artifact}</artifactId >
275
- <version >${project.version} </version >
276
- <scope >test</scope >
277
- </dependency >
278
-
272
+ <!--
273
+ The server module does not consume the spark-sql-engine classes, but it supposes that
274
+ spark-sql-engine's jar existed on the target folder, so here we declare it as a dependency
275
+ to make sure that Maven always process spark-sql-engine module before the server module.
276
+ IntelliJ IDEA 2024.1 fixed the IDEA-93855, thus the relocated classes inside the
277
+ spark-sql-engine's shaded jar are visible in the server module in IDEA, for example,
278
+ `org.apache.kyuubi.shaded.spark.connect.proto.ExecutePlanRequest`, which silently breaks
279
+ the IDEA code analysis and jumping capabilities. This seems could be workaround by changing
280
+ the dependency type from `jar`(default value) to `pom`.
281
+ -->
279
282
<dependency >
280
283
<groupId >org.apache.kyuubi</groupId >
281
284
<artifactId >kyuubi-spark-sql-engine_${scala.binary.version}</artifactId >
282
285
<version >${project.version} </version >
286
+ <type >pom</type >
283
287
<scope >test</scope >
284
288
</dependency >
285
289
You can’t perform that action at this time.
0 commit comments