diff --git a/doc/config-schema.md b/doc/config-schema.md index 3cb47adb72f..83f3159191d 100644 --- a/doc/config-schema.md +++ b/doc/config-schema.md @@ -373,7 +373,6 @@ This document describes the schema for the librarian.yaml. | `artifact_id` | string | Is the Maven artifact ID. | | `client_documentation_override` | string | Allows the "client_documentation" field in .repo-metadata.json to be overridden. | | `codeowner_team` | string | Is the GitHub team that owns the code. | -| `excluded_dependencies` | string | Is a list of dependencies to exclude. | | `excluded_poms` | list of string | Is a list of artifact ids, whose module should be excluded when updating pom.xml and are omitted when counting new modules. | | `extra_versioned_modules` | string | Is a list of extra versioned modules. | | `group_id` | string | Is the Maven group ID, defaults to "com.google.cloud". | diff --git a/internal/config/language.go b/internal/config/language.go index 66660f22bc9..e394198f047 100644 --- a/internal/config/language.go +++ b/internal/config/language.go @@ -500,9 +500,6 @@ type JavaModule struct { // CodeownerTeam is the GitHub team that owns the code. CodeownerTeam string `yaml:"codeowner_team,omitempty"` - // ExcludedDependencies is a list of dependencies to exclude. - ExcludedDependencies string `yaml:"excluded_dependencies,omitempty"` - // ExcludedPOMs is a list of artifact ids, whose module should be excluded // when updating pom.xml and are omitted when counting new modules. ExcludedPOMs []string `yaml:"excluded_poms,omitempty"` diff --git a/internal/librarian/library.go b/internal/librarian/library.go index 85798e95006..37fd76aa047 100644 --- a/internal/librarian/library.go +++ b/internal/librarian/library.go @@ -611,9 +611,6 @@ func mergeJava(dst, src *config.JavaModule) *config.JavaModule { if src.CodeownerTeam != "" { res.CodeownerTeam = src.CodeownerTeam } - if src.ExcludedDependencies != "" { - res.ExcludedDependencies = src.ExcludedDependencies - } if src.ExcludedPOMs != nil { res.ExcludedPOMs = src.ExcludedPOMs } diff --git a/internal/librarian/library_test.go b/internal/librarian/library_test.go index 1e1c9cd9430..d0136350197 100644 --- a/internal/librarian/library_test.go +++ b/internal/librarian/library_test.go @@ -1468,7 +1468,6 @@ func TestMergeJava(t *testing.T) { ArtifactID: "new-artifact", ClientDocumentationOverride: "doc", CodeownerTeam: "team", - ExcludedDependencies: "ex-dep", ExcludedPOMs: []string{"ex-pom"}, ExtraVersionedModules: "extra", GroupID: "com.new", @@ -1493,7 +1492,6 @@ func TestMergeJava(t *testing.T) { ArtifactID: "new-artifact", ClientDocumentationOverride: "doc", CodeownerTeam: "team", - ExcludedDependencies: "ex-dep", ExcludedPOMs: []string{"ex-pom"}, ExtraVersionedModules: "extra", GroupID: "com.new",