Skip to content

Commit

Permalink
feat(integrations/spring): add spring project module
Browse files Browse the repository at this point in the history
Signed-off-by: ZhangJian He <[email protected]>
  • Loading branch information
hezhangjian committed Aug 9, 2024
1 parent fac74d4 commit c5fe039
Show file tree
Hide file tree
Showing 6 changed files with 144 additions and 0 deletions.
20 changes: 20 additions & 0 deletions integrations/spring/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# file system
.DS_Store

# ide
.idea/**
!.idea/icon.svg
!.idea/vcs.xml

# Project exclude paths
**.log
**/target
**/.classpath
**/.project
**/.factorypath

# mvn
dependency-reduced-pom.xml

# log file
logs/
1 change: 1 addition & 0 deletions integrations/spring/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Spring OpenDAL
44 changes: 44 additions & 0 deletions integrations/spring/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.apache.opendal</groupId>
<artifactId>spring-opendal-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>spring-opendal</module>
<module>spring-starter-opendal</module>
<module>spring-starter-opendal-reactive</module>
</modules>

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>3.3.1</version>
</parent>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- dependency -->
<opendal.version>0.46.4</opendal.version>
</properties>

<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.opendal</groupId>
<artifactId>opendal-java</artifactId>
<version>${opendal.version}</version>
</dependency>
</dependencies>

</project>
26 changes: 26 additions & 0 deletions integrations/spring/spring-opendal/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.opendal</groupId>
<artifactId>spring-opendal-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>spring-opendal</artifactId>

<dependencies>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
</dependency>
</dependencies>

</project>
27 changes: 27 additions & 0 deletions integrations/spring/spring-starter-opendal-reactive/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.opendal</groupId>
<artifactId>spring-opendal-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>spring-starter-opendal-reactive</artifactId>

<dependencies>
<dependency>
<groupId>org.apache.opendal</groupId>
<artifactId>spring-opendal</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
</dependency>
</dependencies>

</project>

26 changes: 26 additions & 0 deletions integrations/spring/spring-starter-opendal/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.opendal</groupId>
<artifactId>spring-opendal-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>spring-starter-opendal</artifactId>

<dependencies>
<dependency>
<groupId>org.apache.opendal</groupId>
<artifactId>spring-opendal</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
</dependency>
</dependencies>

</project>

0 comments on commit c5fe039

Please sign in to comment.