fix(bazel): fixes for pipeline
@@ -151,9 +151,10 @@ public enum DetectProperty {
@HelpGroup(primary = GROUP_BAZEL, additional = GROUP_SOURCE_SCAN)
@HelpDescription("The Bazel workspace rule used to pull in external dependencies. If not set, Detect will attempt to determine the rule from the contents of the WORKSPACE file.")
- @AcceptableValues(value = { "maven_jar", "maven_install", "UNSPECIFIED" }, caseSensitive = true, strict = true)
- DETECT_BAZEL_DEPENDENCY_RULE("detect.bazel.dependency.rule", "Bazel workspace external dependency rule", "6.0.0", PropertyType.STRING, PropertyAuthority.NONE, "UNSPECIFIED"),
+ @AcceptableValues(value = { "maven_jar", "maven_install" }, caseSensitive = true)
+ DETECT_BAZEL_DEPENDENCY_RULE("detect.bazel.dependency.type", "Bazel workspace external dependency rule", "6.0.0", PropertyType.STRING, PropertyAuthority.NONE),
+ // TODO Deprecate this property
@HelpGroup(primary = GROUP_BAZEL, additional = GROUP_SOURCE_SCAN)
@HelpDescription("The path to a file containing a list of BazelExternalIdExtractionXPathRule objects in json for overriding the default behavior).")
@HelpDetailed("This property is normally not set, but could potentially be used to customize the Bazel detector.")
