[KYUUBI #3847] Add jdbc-shaded profile to support IDE debug

### _Why are the changes needed?_
1. `mvn antrun:runbuild-info -pl kyuubi-common`
2. debug engine suite

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #3847 from cxzl25/profile_jdbc_debug.

Closes #3847

e1c32067 [Cheng Pan] Merge branch 'master' into profile_jdbc_debug
f41d3cd9 [sychen] use jdbc-shaded
25b54b18 [sychen] use jdbc-shaded
dd23f864 [sychen] use kyuubi-hive-jdbc as default
79b0ffcb [sychen] add jdbc profile

Lead-authored-by: sychen <sychen@ctrip.com>
Co-authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
sychen 2022-11-30 22:33:28 +08:00 committed by Cheng Pan
parent d2463e2a81
commit e49f775431
No known key found for this signature in database
GPG Key ID: 8001952629BCC75D
15 changed files with 24 additions and 14 deletions

View File

@ -32,7 +32,7 @@ concurrency:
cancel-in-progress: true
env:
MVN_OPT: -Dmaven.javadoc.skip=true -Drat.skip=true -Dscalastyle.skip=true -Dspotless.check.skip -Dorg.slf4j.simpleLogger.defaultLogLevel=warn
MVN_OPT: -Dmaven.javadoc.skip=true -Drat.skip=true -Dscalastyle.skip=true -Dspotless.check.skip -Dorg.slf4j.simpleLogger.defaultLogLevel=warn -Pjdbc-shaded
jobs:
default:

View File

@ -122,7 +122,7 @@
<dependency>
<groupId>org.apache.kyuubi</groupId>
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
<artifactId>${hive.jdbc.artifact}</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

View File

@ -153,7 +153,7 @@
<dependency>
<groupId>org.apache.kyuubi</groupId>
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
<artifactId>${hive.jdbc.artifact}</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

View File

@ -60,7 +60,7 @@
<dependency>
<groupId>org.apache.kyuubi</groupId>
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
<artifactId>${hive.jdbc.artifact}</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

View File

@ -122,7 +122,7 @@
<dependency>
<groupId>org.apache.kyuubi</groupId>
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
<artifactId>${hive.jdbc.artifact}</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

View File

@ -89,7 +89,7 @@
<dependency>
<groupId>org.apache.kyuubi</groupId>
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
<artifactId>${hive.jdbc.artifact}</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

View File

@ -55,7 +55,7 @@
<dependency>
<groupId>org.apache.kyuubi</groupId>
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
<artifactId>${hive.jdbc.artifact}</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

View File

@ -55,7 +55,7 @@
<dependency>
<groupId>org.apache.kyuubi</groupId>
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
<artifactId>${hive.jdbc.artifact}</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

View File

@ -68,7 +68,7 @@
<dependency>
<groupId>org.apache.kyuubi</groupId>
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
<artifactId>${hive.jdbc.artifact}</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

View File

@ -89,7 +89,7 @@
<!-- for hive driver related dependency -->
<dependency>
<groupId>org.apache.kyuubi</groupId>
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
<artifactId>${hive.jdbc.artifact}</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

View File

@ -55,7 +55,7 @@
<dependency>
<groupId>org.apache.kyuubi</groupId>
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
<artifactId>${hive.jdbc.artifact}</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

View File

@ -60,7 +60,7 @@
<dependency>
<groupId>org.apache.kyuubi</groupId>
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
<artifactId>${hive.jdbc.artifact}</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

View File

@ -30,7 +30,8 @@ package object kyuubi {
if (buildFileStream == null) {
throw new KyuubiException(s"Can not load the core build file: $buildFile, if you meet " +
s"this exception when running unit tests " +
s"please make sure you have run the `mvn package` or `mvn generate-resources` command.")
s"please make sure you have run the `mvn package` or " +
s"`mvn antrun:run@build-info -pl kyuubi-common` command.")
}
private val unknown = "<unknown>"

View File

@ -266,7 +266,7 @@
<dependency>
<groupId>org.apache.kyuubi</groupId>
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
<artifactId>${hive.jdbc.artifact}</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

View File

@ -203,6 +203,8 @@
<hive.client.jline.version>2.12</hive.client.jline.version>
<hive.client.supercsv.version>2.2.0</hive.client.supercsv.version>
<hive.jdbc.artifact>kyuubi-hive-jdbc</hive.jdbc.artifact>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jars.target.dir>${project.build.directory}/scala-${scala.binary.version}/jars</jars.target.dir>
@ -2348,6 +2350,13 @@
</properties>
</profile>
<profile>
<id>jdbc-shaded</id>
<properties>
<hive.jdbc.artifact>kyuubi-hive-jdbc-shaded</hive.jdbc.artifact>
</properties>
</profile>
<profile>
<id>fast</id>
<properties>