Okta on-prem provisioning: Java SDK without Spring dependencies

Is there an EASY way to declare a maven dependency in the custom SCIM connector that excludes the default Spring classes provided in the SDK? We are interested in developing our own REST layer using JAX-RS or even explore a serverless deployment.