wangyum opened a new pull request, #11097:
URL: https://github.com/apache/incubator-gluten/pull/11097
## What changes are proposed in this pull request?
Adds Scala binary version suffix to the published artifactId and fixes
shaded jar classifier attachment to include OS, architecture, Spark version.
Example usage of the new shaded classifiers.
Maven (choose one classifier matching your platform / build variant):
```xml
<dependency>
<groupId>org.apache.gluten</groupId>
<artifactId>gluten-package_2.12</artifactId>
<version>1.6.0-SNAPSHOT</version>
<classifier>velox-spark3.5-darwin_aarch64</classifier>
</dependency>
```
SBT:
```scala
libraryDependencies += "org.apache.gluten" % "gluten-package_2.12" %
"1.6.0-SNAPSHOT" classifier "velox-spark3.5-darwin_aarch64"
```
Gradle (Groovy DSL):
```groovy
dependencies {
implementation("org.apache.gluten:gluten-package_2.12:1.6.0-SNAPSHOT:velox-spark3.5-darwin_aarch64")
}
```
## How was this patch tested?
Manual test. Examples now generated:
```
-rw-r--r--@ 1 wangyum staff 10249 Nov 15 23:55
gluten-package_2.12-1.6.0-SNAPSHOT-3.5.jar
-rw-r--r--@ 1 wangyum staff 10116530 Nov 15 23:43
gluten-package_2.12-1.6.0-SNAPSHOT-darwin_aarch64-spark3.5-sources.jar
-rw-r--r--@ 1 wangyum staff 36496314 Nov 15 23:43
gluten-package_2.12-1.6.0-SNAPSHOT-darwin_aarch64-spark3.5.jar
-rw-r--r--@ 1 wangyum staff 10116530 Nov 15 23:55
gluten-package_2.12-1.6.0-SNAPSHOT-velox-spark3.5-darwin_aarch64-sources.jar
-rw-r--r--@ 1 wangyum staff 36496315 Nov 15 23:55
gluten-package_2.12-1.6.0-SNAPSHOT-velox-spark3.5-darwin_aarch64.jar
-rw-r--r--@ 1 wangyum staff 10249 Nov 15 23:54
gluten-package_2.12-1.6.0-SNAPSHOT.jar
-rw-r--r--@ 1 wangyum staff 36496315 Nov 15 23:55
gluten-velox-bundle-spark3.5_2.12-darwin_aarch64-1.6.0-SNAPSHOT.jar
drwxr-xr-x@ 3 wangyum staff 96 Nov 15 23:54 maven-archiver
drwxr-xr-x@ 3 wangyum staff 96 Nov 15 23:54
maven-shared-archive-resources
drwxr-xr-x@ 4 wangyum staff 128 Nov 15 23:54 scala-2.12
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]