shoothzj commented on issue #4756:
URL: https://github.com/apache/opendal/issues/4756#issuecomment-2267223187
@Xuanwo Sorry for my late, recently I was kind of busy. But I still want to
work on this :). I think in the short term, we will not be putting the spring
starter opendal into the Spring repository. Therefore, we are facing the issue
of maintaining OpenDAL with multiple versions of Spring in the OpenDAL
repository. I suggest the following strategy:
`opendal-spring-xx` will adapt to the corresponding Spring Boot version. For
example, `opendal-33` will adapt to Spring Boot 3.3:
```bash
<dependency>
<groupId>org.apache.opendal</groupId>
<artifactId>opendal-spring-33</artifactId>
<version>${latest.version}</version>
</dependency>
```
```bash
<dependency>
<groupId>org.apache.opendal</groupId>
<artifactId>opendal-spring-27</artifactId>
<version>${latest.version}</version>
</dependency>
```
`opendal-spring-boot-starter` will by default depend on the adapted latest
version of Spring Boot. If you need to run it in a lower version of a Spring
Boot project, you can replace it in the following way:
```bash
<dependency>
<groupId>org.apache.opendal</groupId>
<artifactId>opendal-spring-boot-starter</artifactId>
<version>${latest.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.opendal</groupId>
<artifactId>opendal-spring-33</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.opendal</groupId>
<artifactId>opendal-spring-27</artifactId>
<version>${latest.version}</version>
</dependency>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]