Rename bom to dependencies
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
2
pom.xml
2
pom.xml
@@ -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>
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
@@ -66,7 +66,7 @@ If you’re 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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user