Registry / config / spring-cloud-commons-dependencies

spring-cloud-commons-dependencies

JSON →
library5.0.1javamavenunverified

Spring Cloud Commons Dependencies BOM for managing common Spring Cloud library versions.

<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-commons-dependencies</artifactId> <version>5.0.1</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-CLOUD-COMMO
S
spring-cloud-commons-dependencies
configjavav5.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DiscoveryClient
org.springframework.cloud.client.discovery.DiscoveryClient

Uses DiscoveryClient to list registered services.

import org.springframework.cloud.client.discovery.DiscoveryClient; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @Component public class Quickstart { @Autowired private DiscoveryClient discoveryClient; public void listServices() { discoveryClient.getServices().forEach(System.out::println); } }
Debug
Known issues
gotchaThis is a BOM artifact; do not add it as a direct dependency.
fix
Import it in the dependencyManagement section of your pom.xml.
affects: all
Upgrade
Version history
5.0.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
38
Resources
spring-cloud-commons-dependencies — mvn dependency:get spring-cloud-commons-dependencies · libregistry