Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-49504][BUILD] Add
jjwt
profile
### What changes were proposed in this pull request? This PR aims to add a new profile `jjwt` to provide `jjwt-impl` and `jjwt-jackson` jars files in a Spark distribution. ### Why are the changes needed? To provide an easy way to build a Spark distribution. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manually. **BEFORE** ``` $ mvn dependency:tree --pl assembly --am | grep jjwt-impl [INFO] +- io.jsonwebtoken:jjwt-impl:jar:0.12.6:test ``` **AFTER** ``` $ mvn dependency:tree --pl assembly --am -Pjjwt | grep jjwt-impl [INFO] +- io.jsonwebtoken:jjwt-impl:jar:0.12.6:compile [INFO] | +- io.jsonwebtoken:jjwt-impl:jar:0.12.6:test [INFO] | +- io.jsonwebtoken:jjwt-impl:jar:0.12.6:test [INFO] | +- io.jsonwebtoken:jjwt-impl:jar:0.12.6:test [INFO] | +- io.jsonwebtoken:jjwt-impl:jar:0.12.6:test [INFO] | +- io.jsonwebtoken:jjwt-impl:jar:0.12.6:test [INFO] | +- io.jsonwebtoken:jjwt-impl:jar:0.12.6:test [INFO] | +- io.jsonwebtoken:jjwt-impl:jar:0.12.6:test [INFO] | +- io.jsonwebtoken:jjwt-impl:jar:0.12.6:test [INFO] | +- io.jsonwebtoken:jjwt-impl:jar:0.12.6:test [INFO] | +- io.jsonwebtoken:jjwt-impl:jar:0.12.6:test [INFO] | +- io.jsonwebtoken:jjwt-impl:jar:0.12.6:compile ``` Or, build the distribution. ``` $ dev/make-distribution.sh -Pjjwt $ ls dist/jars/jj* dist/jars/jjwt-api-0.12.6.jar dist/jars/jjwt-impl-0.12.6.jar dist/jars/jjwt-jackson-0.12.6.jar ``` ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#47979 from dongjoon-hyun/SPARK-49504. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
- Loading branch information