This PR updates the Language Server to resolve Maven dependencies using DependencyResolver from smithy-cli, including its MavenDependencyResolver and FileCacheResolver. By using these resolvers, Coursier can be removed since its Fetch API is no longer needed.
This change also updates the Language Server to respect the SMITHY_MAVEN_REPOS environment variable. httpCredentials can now also be set on repositories in smithy-build.json, including the use of build-envars.
This PR updates the Language Server to resolve Maven dependencies using
DependencyResolver
from smithy-cli, including itsMavenDependencyResolver
andFileCacheResolver
. By using these resolvers, Coursier can be removed since itsFetch
API is no longer needed.This change also updates the Language Server to respect the SMITHY_MAVEN_REPOS environment variable.
httpCredentials
can now also be set on repositories in smithy-build.json, including the use of build-envars.Resolves https://github.com/awslabs/smithy-language-server/issues/107
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.