Rename bom to dependencies

This commit is contained in:
varunu28
2024-10-19 15:00:33 -07:00
committed by Dave Syer
parent 213d1f9bd8
commit 434e26dcec
6 changed files with 12 additions and 12 deletions

View File

@@ -33,7 +33,7 @@ For convenience, you can use the Spring gRPC BOM to manage dependencies. With Ma
<dependencies>
<dependency>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc-bom</artifactId>
<artifactId>spring-grpc-dependencies</artifactId>
<version>0.1.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
@@ -47,7 +47,7 @@ or Gradle:
```groovy
dependencyManagement {
imports {
mavenBom 'org.springframework.grpc:spring-grpc-bom:0.1.0-SNAPSHOT'
mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.1.0-SNAPSHOT'
}
}
```

View File

@@ -15,7 +15,7 @@
<modules>
<module>spring-grpc-docs</module>
<module>spring-grpc-bom</module>
<module>spring-grpc-dependencies</module>
<module>spring-grpc-core</module>
<module>spring-grpc-test</module>
<module>spring-grpc-spring-boot-autoconfigure</module>

View File

@@ -24,7 +24,7 @@ repositories {
dependencyManagement {
imports {
mavenBom 'org.springframework.grpc:spring-grpc-bom:0.1.0-SNAPSHOT'
mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.1.0-SNAPSHOT'
}
}

View File

@@ -37,8 +37,8 @@
<dependencies>
<dependency>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc-bom</artifactId>
<version>${project.version}</version>
<artifactId>spring-grpc-dependencies</artifactId>
<version>0.1.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@@ -182,4 +182,4 @@
</pluginRepositories>
</project>
</project>

View File

@@ -10,11 +10,11 @@
<version>0.1.0-SNAPSHOT</version>
</parent>
<artifactId>spring-grpc-bom</artifactId>
<artifactId>spring-grpc-dependencies</artifactId>
<packaging>pom</packaging>
<name>Spring gRPC BOM</name>
<description>Bill of Materials POM (BOM) for the Spring gRPC modules</description>
<name>Spring gRPC dependencies</name>
<description>Dependencies for the Spring gRPC modules</description>
<url>https://github.com/spring-projects-experimental/spring-grpc</url>

View File

@@ -66,7 +66,7 @@ If youre a Maven user, you can use the BOM by adding the following to your po
<dependencies>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-grpc-bom</artifactId>
<artifactId>spring-grpc-dependencies</artifactId>
<version>1.0.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
@@ -82,7 +82,7 @@ As shown in the snippet below this can then be followed by version-less declarat
[source,gradle]
----
dependencies {
implementation platform("org.springframework.ai:spring-grpc-bom:1.0.0-SNAPSHOT")
implementation platform("org.springframework.ai:spring-grpc-dependencies:1.0.0-SNAPSHOT")
// Replace the following with the starter dependencies of specific modules you wish to use
implementation 'org.springframework.ai:spring-grpc-openai'
}