Skip to content

Commit 434e26d

Browse files
varunu28Dave Syer
authored andcommitted
Rename bom to dependencies
1 parent 213d1f9 commit 434e26d

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ For convenience, you can use the Spring gRPC BOM to manage dependencies. With Ma
3333
<dependencies>
3434
<dependency>
3535
<groupId>org.springframework.grpc</groupId>
36-
<artifactId>spring-grpc-bom</artifactId>
36+
<artifactId>spring-grpc-dependencies</artifactId>
3737
<version>0.1.0-SNAPSHOT</version>
3838
<type>pom</type>
3939
<scope>import</scope>
@@ -47,7 +47,7 @@ or Gradle:
4747
```groovy
4848
dependencyManagement {
4949
imports {
50-
mavenBom 'org.springframework.grpc:spring-grpc-bom:0.1.0-SNAPSHOT'
50+
mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.1.0-SNAPSHOT'
5151
}
5252
}
5353
```

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<modules>
1717
<module>spring-grpc-docs</module>
18-
<module>spring-grpc-bom</module>
18+
<module>spring-grpc-dependencies</module>
1919
<module>spring-grpc-core</module>
2020
<module>spring-grpc-test</module>
2121
<module>spring-grpc-spring-boot-autoconfigure</module>

samples/grpc-server/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repositories {
2424

2525
dependencyManagement {
2626
imports {
27-
mavenBom 'org.springframework.grpc:spring-grpc-bom:0.1.0-SNAPSHOT'
27+
mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.1.0-SNAPSHOT'
2828
}
2929
}
3030

samples/grpc-server/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
<dependencies>
3838
<dependency>
3939
<groupId>org.springframework.grpc</groupId>
40-
<artifactId>spring-grpc-bom</artifactId>
41-
<version>${project.version}</version>
40+
<artifactId>spring-grpc-dependencies</artifactId>
41+
<version>0.1.0-SNAPSHOT</version>
4242
<type>pom</type>
4343
<scope>import</scope>
4444
</dependency>
@@ -182,4 +182,4 @@
182182
</pluginRepositories>
183183

184184

185-
</project>
185+
</project>

spring-grpc-bom/pom.xml renamed to spring-grpc-dependencies/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
<version>0.1.0-SNAPSHOT</version>
1111
</parent>
1212

13-
<artifactId>spring-grpc-bom</artifactId>
13+
<artifactId>spring-grpc-dependencies</artifactId>
1414
<packaging>pom</packaging>
1515

16-
<name>Spring gRPC BOM</name>
17-
<description>Bill of Materials POM (BOM) for the Spring gRPC modules</description>
16+
<name>Spring gRPC dependencies</name>
17+
<description>Dependencies for the Spring gRPC modules</description>
1818

1919
<url>https://github.com/spring-projects-experimental/spring-grpc</url>
2020

spring-grpc-docs/src/main/antora/modules/ROOT/pages/getting-started.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ If you’re a Maven user, you can use the BOM by adding the following to your po
6666
<dependencies>
6767
<dependency>
6868
<groupId>org.springframework.ai</groupId>
69-
<artifactId>spring-grpc-bom</artifactId>
69+
<artifactId>spring-grpc-dependencies</artifactId>
7070
<version>1.0.0-SNAPSHOT</version>
7171
<type>pom</type>
7272
<scope>import</scope>
@@ -82,7 +82,7 @@ As shown in the snippet below this can then be followed by version-less declarat
8282
[source,gradle]
8383
----
8484
dependencies {
85-
implementation platform("org.springframework.ai:spring-grpc-bom:1.0.0-SNAPSHOT")
85+
implementation platform("org.springframework.ai:spring-grpc-dependencies:1.0.0-SNAPSHOT")
8686
// Replace the following with the starter dependencies of specific modules you wish to use
8787
implementation 'org.springframework.ai:spring-grpc-openai'
8888
}

0 commit comments

Comments
 (0)