|
30 | 30 | <name>Kyuubi Project Engine Data Agent</name> |
31 | 31 | <url>https://kyuubi.apache.org/</url> |
32 | 32 |
|
| 33 | + <properties> |
| 34 | + <!-- Versions transitively pulled by openai-java; pinned here so any drift |
| 35 | + across openai-java upgrades is a deliberate change. --> |
| 36 | + <kotlin.stdlib.version>1.8.0</kotlin.stdlib.version> |
| 37 | + <kotlin.reflect.version>2.0.21</kotlin.reflect.version> |
| 38 | + <okhttp.version>4.12.0</okhttp.version> |
| 39 | + <okio.version>3.6.0</okio.version> |
| 40 | + </properties> |
| 41 | + |
33 | 42 | <dependencies> |
34 | 43 | <!-- kyuubi dependency --> |
35 | 44 | <dependency> |
|
50 | 59 | <version>${project.version}</version> |
51 | 60 | </dependency> |
52 | 61 |
|
| 62 | + <!-- OpenAI official Java SDK --> |
53 | 63 | <dependency> |
54 | 64 | <groupId>com.openai</groupId> |
55 | 65 | <artifactId>openai-java</artifactId> |
| 66 | + <version>${openai.sdk.version}</version> |
56 | 67 | </dependency> |
57 | 68 |
|
| 69 | + <!-- kotlin / okhttp / okio versions transitively introduced by openai-java; pinned for visibility. --> |
| 70 | + <dependency> |
| 71 | + <groupId>org.jetbrains.kotlin</groupId> |
| 72 | + <artifactId>kotlin-stdlib</artifactId> |
| 73 | + <version>${kotlin.stdlib.version}</version> |
| 74 | + </dependency> |
| 75 | + <dependency> |
| 76 | + <groupId>org.jetbrains.kotlin</groupId> |
| 77 | + <artifactId>kotlin-stdlib-common</artifactId> |
| 78 | + <version>${kotlin.stdlib.version}</version> |
| 79 | + </dependency> |
| 80 | + <dependency> |
| 81 | + <groupId>org.jetbrains.kotlin</groupId> |
| 82 | + <artifactId>kotlin-stdlib-jdk7</artifactId> |
| 83 | + <version>${kotlin.stdlib.version}</version> |
| 84 | + </dependency> |
| 85 | + <dependency> |
| 86 | + <groupId>org.jetbrains.kotlin</groupId> |
| 87 | + <artifactId>kotlin-stdlib-jdk8</artifactId> |
| 88 | + <version>${kotlin.stdlib.version}</version> |
| 89 | + </dependency> |
| 90 | + <dependency> |
| 91 | + <groupId>org.jetbrains.kotlin</groupId> |
| 92 | + <artifactId>kotlin-reflect</artifactId> |
| 93 | + <version>${kotlin.reflect.version}</version> |
| 94 | + </dependency> |
| 95 | + <dependency> |
| 96 | + <groupId>com.squareup.okhttp3</groupId> |
| 97 | + <artifactId>okhttp</artifactId> |
| 98 | + <version>${okhttp.version}</version> |
| 99 | + </dependency> |
| 100 | + <dependency> |
| 101 | + <groupId>com.squareup.okhttp3</groupId> |
| 102 | + <artifactId>logging-interceptor</artifactId> |
| 103 | + <version>${okhttp.version}</version> |
| 104 | + </dependency> |
| 105 | + <dependency> |
| 106 | + <groupId>com.squareup.okio</groupId> |
| 107 | + <artifactId>okio</artifactId> |
| 108 | + <version>${okio.version}</version> |
| 109 | + </dependency> |
| 110 | + <dependency> |
| 111 | + <groupId>com.squareup.okio</groupId> |
| 112 | + <artifactId>okio-jvm</artifactId> |
| 113 | + <version>${okio.version}</version> |
| 114 | + </dependency> |
| 115 | + |
| 116 | + <!-- JSON Schema generation from Jackson-annotated classes --> |
58 | 117 | <dependency> |
59 | 118 | <groupId>com.github.victools</groupId> |
60 | 119 | <artifactId>jsonschema-generator</artifactId> |
| 120 | + <version>${victools.jsonschema.version}</version> |
61 | 121 | </dependency> |
62 | | - |
63 | 122 | <dependency> |
64 | 123 | <groupId>com.github.victools</groupId> |
65 | 124 | <artifactId>jsonschema-module-jackson</artifactId> |
| 125 | + <version>${victools.jsonschema.version}</version> |
66 | 126 | </dependency> |
67 | 127 |
|
68 | | - <!-- test dependencies --> |
| 128 | + <!-- JDBC drivers are not bundled; users provide them at runtime via extra classpath. |
| 129 | + SQLite and MySQL drivers are kept here in test scope only. --> |
69 | 130 | <dependency> |
70 | | - <groupId>org.apache.kyuubi</groupId> |
71 | | - <artifactId>kyuubi-common_${scala.binary.version}</artifactId> |
72 | | - <version>${project.version}</version> |
73 | | - <type>test-jar</type> |
| 131 | + <groupId>org.xerial</groupId> |
| 132 | + <artifactId>sqlite-jdbc</artifactId> |
| 133 | + <version>${sqlite.version}</version> |
74 | 134 | <scope>test</scope> |
75 | 135 | </dependency> |
76 | 136 |
|
77 | 137 | <dependency> |
78 | | - <groupId>org.xerial</groupId> |
79 | | - <artifactId>sqlite-jdbc</artifactId> |
| 138 | + <groupId>com.mysql</groupId> |
| 139 | + <artifactId>mysql-connector-j</artifactId> |
80 | 140 | <scope>test</scope> |
81 | 141 | </dependency> |
82 | 142 |
|
| 143 | + <!-- Trino JDBC driver --> |
83 | 144 | <dependency> |
84 | | - <groupId>org.testcontainers</groupId> |
85 | | - <artifactId>testcontainers-mysql</artifactId> |
| 145 | + <groupId>io.trino</groupId> |
| 146 | + <artifactId>trino-jdbc</artifactId> |
| 147 | + </dependency> |
| 148 | + |
| 149 | + <!-- Connection pool --> |
| 150 | + <dependency> |
| 151 | + <groupId>com.zaxxer</groupId> |
| 152 | + <artifactId>HikariCP</artifactId> |
| 153 | + </dependency> |
| 154 | + |
| 155 | + <!-- test dependencies --> |
| 156 | + <dependency> |
| 157 | + <groupId>org.apache.kyuubi</groupId> |
| 158 | + <artifactId>kyuubi-common_${scala.binary.version}</artifactId> |
| 159 | + <version>${project.version}</version> |
| 160 | + <type>test-jar</type> |
86 | 161 | <scope>test</scope> |
87 | 162 | </dependency> |
88 | 163 |
|
89 | 164 | <dependency> |
90 | | - <groupId>com.mysql</groupId> |
91 | | - <artifactId>mysql-connector-j</artifactId> |
| 165 | + <groupId>org.testcontainers</groupId> |
| 166 | + <artifactId>testcontainers-mysql</artifactId> |
92 | 167 | <scope>test</scope> |
93 | 168 | </dependency> |
94 | 169 |
|
|
0 commit comments