public LockFile.Builder repositories(Set<MavenRepository> repositories) {
            this.repositories.clear();
            for (MavenRepository repository : repositories) {
                this.repositories.get().add(repository.getUrl());
            }
            return this;
        }
Saves lockfile to current working directory.
smithy-cli/src/main/java/software/amazon/smithy/cli/commands/LockFile.java