| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one | |
| or more contributor license agreements. See the NOTICE file | |
| distributed with this work for additional information | |
| regarding copyright ownership. The ASF licenses this file | |
| to you under the Apache License, Version 2.0 (the | |
| "License"); you may not use this file except in compliance | |
| with the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, | |
| software distributed under the License is distributed on an | |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| KIND, either express or implied. See the License for the | |
| specific language governing permissions and limitations | |
| under the License. | |
| --> | |
| <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>opendal-spring-parent</artifactId> | |
| <version>0.1.0-SNAPSHOT</version> | |
| <packaging>pom</packaging> | |
| <modules> | |
| <module>opendal-spring</module> | |
| <module>opendal-spring-boot-starter</module> | |
| <module>opendal-spring-boot-starter-reactive</module> | |
| </modules> | |
| <properties> | |
| <maven.compiler.release>21</maven.compiler.release> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | |
| <!-- dependency --> | |
| <lombok.version>1.18.42</lombok.version> | |
| <opendal.version>0.50.0</opendal.version> | |
| <spring-boot.version>4.0.3</spring-boot.version> | |
| <!-- plugin --> | |
| <maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version> | |
| <os-maven-plugin.version>1.7.1</os-maven-plugin.version> | |
| <spotless-maven-plugin.version>3.2.0</spotless-maven-plugin.version> | |
| </properties> | |
| <dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-dependencies</artifactId> | |
| <version>${spring-boot.version}</version> | |
| <type>pom</type> | |
| <scope>import</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.projectlombok</groupId> | |
| <artifactId>lombok</artifactId> | |
| <version>${lombok.version}</version> | |
| </dependency> | |
| </dependencies> | |
| </dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.projectlombok</groupId> | |
| <artifactId>lombok</artifactId> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.opendal</groupId> | |
| <artifactId>opendal</artifactId> | |
| <version>${opendal.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.opendal</groupId> | |
| <artifactId>opendal</artifactId> | |
| <version>${opendal.version}</version> | |
| <classifier>${os.detected.classifier}</classifier> | |
| <scope>test</scope> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <extensions> | |
| <extension> | |
| <groupId>kr.motd.maven</groupId> | |
| <artifactId>os-maven-plugin</artifactId> | |
| <version>${os-maven-plugin.version}</version> | |
| </extension> | |
| </extensions> | |
| <plugins> | |
| <plugin> | |
| <groupId>com.diffplug.spotless</groupId> | |
| <artifactId>spotless-maven-plugin</artifactId> | |
| <version>${spotless-maven-plugin.version}</version> | |
| <configuration> | |
| <java> | |
| <importOrder> | |
| <order>,java,static others</order> | |
| </importOrder> | |
| <removeUnusedImports/> | |
| <trimTrailingWhitespace/> | |
| <endWithNewline/> | |
| <indent> | |
| <spaces>true</spaces> | |
| <spacesPerTab>4</spacesPerTab> | |
| </indent> | |
| </java> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>${maven-compiler-plugin.version}</version> | |
| <configuration> | |
| <annotationProcessorPaths> | |
| <path> | |
| <groupId>org.projectlombok</groupId> | |
| <artifactId>lombok</artifactId> | |
| <version>${lombok.version}</version> | |
| </path> | |
| </annotationProcessorPaths> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |