| <?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> |
| <module>dubbo-spring-boot-interceptor</module> |
| </modules> |
| |
| <properties> |
| <spring-boot.version>2.7.18</spring-boot.version> |
| <!-- Spring boot buddy is lower than the delivery dependency package version and can only show the defined dependency version --> |
| <byte-buddy.version>1.15.0</byte-buddy.version> |
| <mockito_version>4.11.0</mockito_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> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-logging</artifactId> |
| <version>${spring-boot.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-to-slf4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>log4j-over-slf4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>log4j-to-slf4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito_version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-inline</artifactId> |
| <version>${mockito_version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API --> |
| <dependency> |
| <groupId>org.junit.vintage</groupId> |
| <artifactId>junit-vintage-engine</artifactId> |
| <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> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| <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> |
| </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> |
| |
| <profile> |
| <id>jdk-version-ge-17</id> |
| <activation> |
| <jdk>[17,)</jdk> |
| </activation> |
| <modules> |
| <module>dubbo-spring-boot-3-autoconfigure</module> |
| </modules> |
| </profile> |
| |
| <profile> |
| <id>release</id> |
| <modules> |
| <module>dubbo-spring-boot-3-autoconfigure</module> |
| </modules> |
| </profile> |
| </profiles> |
| </project> |