|
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | 4 | <groupId>tech.ydb.spark</groupId> |
5 | 5 | <artifactId>ydb-spark-connector</artifactId> |
6 | | - <version>1.2-SNAPSHOT</version> |
| 6 | + <version>1.2</version> |
7 | 7 | <!-- <version>X.Y[-SNAPSHOT]</version> --> |
8 | 8 | <packaging>jar</packaging> |
9 | 9 | <developers> |
|
27 | 27 | <dependency> |
28 | 28 | <groupId>tech.ydb</groupId> |
29 | 29 | <artifactId>ydb-sdk-bom</artifactId> |
30 | | - <version>2.2.2</version> |
| 30 | + <version>2.2.6</version> |
31 | 31 | <type>pom</type> |
32 | 32 | <scope>import</scope> |
33 | 33 | </dependency> |
|
74 | 74 | <groupId>org.slf4j</groupId> |
75 | 75 | <artifactId>slf4j-api</artifactId> |
76 | 76 | <version>1.7.25</version> |
77 | | - <scope>provided</scope> |
78 | 77 | </dependency> |
79 | 78 | <dependency> |
80 | 79 | <groupId>org.apache.logging.log4j</groupId> |
|
102 | 101 | <dependency> |
103 | 102 | <groupId>org.apache.spark</groupId> |
104 | 103 | <artifactId>spark-catalyst_2.12</artifactId> |
105 | | - <version>3.3.2</version> |
| 104 | + <version>3.3.4</version> |
106 | 105 | <scope>provided</scope> |
107 | 106 | </dependency> |
108 | 107 | <dependency> |
109 | 108 | <groupId>org.apache.spark</groupId> |
110 | 109 | <artifactId>spark-sql_2.12</artifactId> |
111 | | - <version>3.3.2</version> |
| 110 | + <version>3.3.4</version> |
112 | 111 | <scope>provided</scope> |
113 | 112 | </dependency> |
114 | 113 | <dependency> |
|
129 | 128 | <plugin> |
130 | 129 | <groupId>org.apache.maven.plugins</groupId> |
131 | 130 | <artifactId>maven-dependency-plugin</artifactId> |
132 | | - <version>3.6.1</version> |
| 131 | + <version>3.7.1</version> |
133 | 132 | </plugin> |
134 | 133 | <plugin> |
135 | 134 | <groupId>org.apache.maven.plugins</groupId> |
136 | 135 | <artifactId>maven-compiler-plugin</artifactId> |
137 | | - <version>3.12.1</version> |
| 136 | + <version>3.13.0</version> |
138 | 137 | <configuration> |
139 | 138 | <target>1.8</target> |
140 | 139 | <source>1.8</source> |
|
149 | 148 | <plugin> |
150 | 149 | <groupId>org.apache.maven.plugins</groupId> |
151 | 150 | <artifactId>maven-source-plugin</artifactId> |
152 | | - <version>3.3.0</version> |
| 151 | + <version>3.3.1</version> |
153 | 152 | <executions> |
154 | 153 | <execution> |
155 | 154 | <id>attach-sources</id> |
|
162 | 161 | <plugin> |
163 | 162 | <groupId>org.apache.maven.plugins</groupId> |
164 | 163 | <artifactId>maven-checkstyle-plugin</artifactId> |
165 | | - <version>3.2.2</version> |
| 164 | + <version>3.4.0</version> |
166 | 165 | <configuration> |
167 | 166 | <configLocation>config/ydb.checkstyle.xml</configLocation> |
168 | 167 | <suppressionsFileExpression>config/ydb.suppressions.xml</suppressionsFileExpression> |
|
180 | 179 | <plugin> |
181 | 180 | <groupId>org.apache.maven.plugins</groupId> |
182 | 181 | <artifactId>maven-javadoc-plugin</artifactId> |
183 | | - <version>3.6.3</version> |
| 182 | + <version>3.7.0</version> |
184 | 183 | </plugin> |
185 | 184 | <plugin> |
186 | 185 | <groupId>org.apache.maven.plugins</groupId> |
187 | 186 | <artifactId>maven-deploy-plugin</artifactId> |
188 | | - <version>3.1.1</version> |
| 187 | + <version>3.1.2</version> |
189 | 188 | </plugin> |
190 | 189 | <plugin> |
191 | 190 | <groupId>org.apache.maven.plugins</groupId> |
192 | 191 | <artifactId>maven-shade-plugin</artifactId> |
193 | | - <version>3.5.1</version> |
| 192 | + <version>3.6.0</version> |
194 | 193 | <executions> |
195 | 194 | <execution> |
196 | 195 | <phase>package</phase> |
|
199 | 198 | </goals> |
200 | 199 | <configuration> |
201 | 200 | <minimizeJar>true</minimizeJar> |
| 201 | + <createSourcesJar>false</createSourcesJar> |
| 202 | + |
202 | 203 | <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
203 | 204 | <createDependencyReducedPom>true</createDependencyReducedPom> |
204 | 205 | <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation> |
| 206 | + |
205 | 207 | <transformers> |
206 | 208 | <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" /> |
207 | 209 | <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer" /> |
208 | 210 | <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
209 | 211 | <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
210 | 212 | <manifestEntries> |
211 | | - <Automatic-Module-Name>tech.ydb.spark.connector</Automatic-Module-Name> |
| 213 | + <Automatic-Module-Name>tech.ydb.spark</Automatic-Module-Name> |
212 | 214 | <Specification-Title>${spec.title}</Specification-Title> |
213 | 215 | <Specification-Version>${spec.version}</Specification-Version> |
214 | 216 | </manifestEntries> |
215 | 217 | </transformer> |
216 | 218 | </transformers> |
| 219 | + |
217 | 220 | <filters> |
218 | 221 | <filter> |
219 | | - <artifact>io.jsonwebtoken:jjwt-impl</artifact> |
| 222 | + <artifact>tech.ydb.spark:ydb-spark-connector</artifact> |
220 | 223 | <includes> |
221 | 224 | <include>**</include> |
222 | 225 | </includes> |
223 | 226 | </filter> |
| 227 | + <!-- jjwt-impl and jjwt-jackson have to be explicitly enabled, |
| 228 | + because there is no compiler-visible dependency --> |
224 | 229 | <filter> |
225 | | - <artifact>io.jsonwebtoken:jjwt-jackson</artifact> |
| 230 | + <artifact>io.jsonwebtoken:jjwt-impl</artifact> |
226 | 231 | <includes> |
227 | 232 | <include>**</include> |
228 | 233 | </includes> |
229 | 234 | </filter> |
230 | 235 | <filter> |
231 | | - <artifact>com.fasterxml.jackson.core:jackson-databind</artifact> |
| 236 | + <artifact>io.jsonwebtoken:jjwt-jackson</artifact> |
232 | 237 | <includes> |
233 | 238 | <include>**</include> |
234 | 239 | </includes> |
235 | 240 | </filter> |
236 | 241 | <filter> |
237 | | - <artifact>org.bouncycastle:bcprov-jdk15on</artifact> |
| 242 | + <artifact>com.fasterxml.jackson.core:jackson-databind</artifact> |
238 | 243 | <includes> |
239 | 244 | <include>**</include> |
240 | 245 | </includes> |
|
262 | 267 | <exclude>META-INF/*.SF</exclude> |
263 | 268 | <exclude>META-INF/*.DSA</exclude> |
264 | 269 | <exclude>META-INF/*.RSA</exclude> |
265 | | - <exclude>META-INF/license/*.txt</exclude> |
266 | 270 | </excludes> |
267 | 271 | </filter> |
268 | 272 | </filters> |
| 273 | + |
269 | 274 | <relocations> |
270 | 275 | <relocation> |
271 | | - <pattern>com.google</pattern> |
272 | | - <shadedPattern>yandex.shaded.google</shadedPattern> |
| 276 | + <pattern>android.annotation</pattern> |
| 277 | + <shadedPattern>tech.ydb.shaded.android.annotation</shadedPattern> |
273 | 278 | </relocation> |
274 | 279 | <relocation> |
275 | | - <pattern>io.grpc</pattern> |
276 | | - <shadedPattern>yandex.shaded.grpc</shadedPattern> |
| 280 | + <pattern>org.bouncycastle</pattern> |
| 281 | + <shadedPattern>tech.ydb.shaded.bouncycastle</shadedPattern> |
| 282 | + </relocation> |
| 283 | + <relocation> |
| 284 | + <pattern>org.checkerframework</pattern> |
| 285 | + <shadedPattern>tech.ydb.shaded.checkerframework</shadedPattern> |
| 286 | + </relocation> |
| 287 | + <relocation> |
| 288 | + <pattern>org.slf4j</pattern> |
| 289 | + <shadedPattern>tech.ydb.shaded.slf4j</shadedPattern> |
| 290 | + </relocation> |
| 291 | + <relocation> |
| 292 | + <pattern>javax.annotation</pattern> |
| 293 | + <shadedPattern>tech.ydb.shaded.javax.annotation</shadedPattern> |
| 294 | + </relocation> |
| 295 | + <relocation> |
| 296 | + <pattern>io.jsonwebtoken</pattern> |
| 297 | + <shadedPattern>tech.ydb.shaded.io.jsonwebtoken</shadedPattern> |
| 298 | + </relocation> |
| 299 | + <relocation> |
| 300 | + <pattern>io.perfmark</pattern> |
| 301 | + <shadedPattern>tech.ydb.shaded.io.perfmark</shadedPattern> |
| 302 | + </relocation> |
| 303 | + <relocation> |
| 304 | + <pattern>com.google</pattern> |
| 305 | + <shadedPattern>tech.ydb.shaded.google</shadedPattern> |
277 | 306 | </relocation> |
278 | 307 | <relocation> |
279 | 308 | <pattern>com.fasterxml.jackson</pattern> |
280 | | - <shadedPattern>yandex.shaded.jackson</shadedPattern> |
| 309 | + <shadedPattern>tech.ydb.shaded.jackson</shadedPattern> |
| 310 | + </relocation> |
| 311 | + <relocation> |
| 312 | + <pattern>io.grpc</pattern> |
| 313 | + <shadedPattern>tech.ydb.shaded.grpc</shadedPattern> |
281 | 314 | </relocation> |
282 | 315 | </relocations> |
283 | 316 | </configuration> |
|
287 | 320 | <plugin> |
288 | 321 | <groupId>org.apache.maven.plugins</groupId> |
289 | 322 | <artifactId>maven-jar-plugin</artifactId> |
290 | | - <version>3.3.0</version> |
| 323 | + <version>3.4.2</version> |
291 | 324 | <configuration> |
292 | 325 | <archive> |
293 | 326 | <compress>true</compress> |
|
0 commit comments