| <?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> |
| <parent> |
| <groupId>org.apache.dubbo</groupId> |
| <artifactId>dubbo-parent</artifactId> |
| <version>${revision}</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>dubbo-spring-boot</artifactId> |
| |
| <packaging>pom</packaging> |
| <description>Apache Dubbo Spring Boot Parent</description> |
| |
| <modules> |
| <module>dubbo-spring-boot-actuator</module> |
| <module>dubbo-spring-boot-autoconfigure</module> |
| <module>dubbo-spring-boot-compatible</module> |
| <module>dubbo-spring-boot-starter</module> |
| <module>dubbo-spring-boot-starters</module> |
| </modules> |
| |
| <properties> |
| <spring-boot.version>2.7.18</spring-boot.version> |
| <dubbo.version>${revision}</dubbo.version> |
| <!-- Fix the bug of log4j refer:https://github.com/apache/logging-log4j2/pull/608 --> |
| <log4j2_version>2.23.1</log4j2_version> |
| <!-- Spring boot buddy is lower than the delivery dependency package version and can only show the defined dependency version --> |
| <byte-buddy.version>1.14.14</byte-buddy.version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <!-- Spring Boot --> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-dependencies</artifactId> |
| <version>${spring-boot.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API --> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-engine</artifactId> |
| <version>${junit_jupiter_version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-params</artifactId> |
| <version>${junit_jupiter_version}</version> |
| <scope>test</scope> |
| </dependency> |
| <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API --> |
| <dependency> |
| <groupId>org.junit.vintage</groupId> |
| <artifactId>junit-vintage-engine</artifactId> |
| <version>${junit_jupiter_version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>net.bytebuddy</groupId> |
| <artifactId>byte-buddy</artifactId> |
| <version>${byte-buddy.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>net.bytebuddy</groupId> |
| <artifactId>byte-buddy-agent</artifactId> |
| <version>${byte-buddy.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.dubbo</groupId> |
| <artifactId>dubbo-test-check</artifactId> |
| <version>${project.parent.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <!-- Used for packaging NOTICE & LICENSE to each sub-module jar--> |
| <resources> |
| <resource> |
| <filtering>false</filtering> |
| <directory>src/main/resources/</directory> |
| </resource> |
| <resource> |
| <targetPath>META-INF/</targetPath> |
| <filtering>false</filtering> |
| <directory>../</directory> |
| <includes> |
| <include>NOTICE</include> |
| <include>LICENSE</include> |
| </includes> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>${maven_jar_version}</version> |
| <configuration> |
| <archive> |
| <addMavenDescriptor>true</addMavenDescriptor> |
| <index>true</index> |
| <manifest> |
| <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| </manifest> |
| <manifestEntries> |
| <Specification-Version>${project.version}</Specification-Version> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven_compiler_version}</version> |
| <configuration> |
| <compilerArgs> |
| <compilerArg>-parameters</compilerArg> |
| </compilerArgs> |
| <fork>true</fork> |
| <source>${java_source_version}</source> |
| <target>${java_target_version}</target> |
| <encoding>${file_encoding}</encoding> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <!-- Spring Boot 2.0 --> |
| <id>spring-boot-2.0</id> |
| <properties> |
| <spring-boot.version>2.0.9.RELEASE</spring-boot.version> |
| </properties> |
| </profile> |
| |
| <profile> |
| <!-- Spring Boot 2.1 --> |
| <id>spring-boot-2.1</id> |
| <properties> |
| <spring-boot.version>2.1.15.RELEASE</spring-boot.version> |
| </properties> |
| </profile> |
| |
| <profile> |
| <!-- Spring Boot 2.2 --> |
| <id>spring-boot-2.2</id> |
| <properties> |
| <spring-boot.version>2.2.8.RELEASE</spring-boot.version> |
| </properties> |
| </profile> |
| </profiles> |
| </project> |