| <!-- |
| 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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.dubbo.extensions</groupId> |
| <artifactId>extensions-parent</artifactId> |
| <version>${revision}</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>dubbo-api-docs</artifactId> |
| <version>${revision}</version> |
| <packaging>pom</packaging> |
| |
| <name>${project.artifactId}</name> |
| <description>Dubbo interface documentation, testing tools</description> |
| <inceptionYear>2020</inceptionYear> |
| |
| <properties> |
| <project.build.jdkVersion>1.8</project.build.jdkVersion> |
| <argLine>-Dfile.encoding=UTF-8</argLine> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <skip_maven_deploy>false</skip_maven_deploy> |
| |
| <maven-flatten-version>1.1.0</maven-flatten-version> |
| <maven-checkstyle-plugin-version>3.0.0</maven-checkstyle-plugin-version> |
| |
| <spring-boot.version>2.3.4.RELEASE</spring-boot.version> |
| <dubbo.version>2.7.8</dubbo.version> |
| <dubbo_version>2.7.8</dubbo_version> |
| <commons-beanutils.version>1.9.4</commons-beanutils.version> |
| <commons-collections.version>4.2</commons-collections.version> |
| <disruptor.version>3.4.2</disruptor.version> |
| <springfox.version>3.0.0</springfox.version> |
| <nacos.version>1.4.0</nacos.version> |
| |
| <spring-cloud.version>Hoxton.SR8</spring-cloud.version> |
| <spring-cloud-alibaba-dependencies.version>2.2.3.RELEASE</spring-cloud-alibaba-dependencies.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.apache.dubbo</groupId> |
| <artifactId>dubbo-parent</artifactId> |
| <version>${dubbo.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| |
| <!-- Internal libs --> |
| <dependency> |
| <groupId>org.apache.dubbo.extensions</groupId> |
| <artifactId>dubbo-api-docs-annotations</artifactId> |
| <version>${revision}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.dubbo.extensions</groupId> |
| <artifactId>dubbo-api-docs-core</artifactId> |
| <version>${revision}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.dubbo</groupId> |
| <artifactId>dubbo</artifactId> |
| <version>${dubbo.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.dubbo</groupId> |
| <artifactId>dubbo-registry-nacos</artifactId> |
| <version>${dubbo.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.dubbo</groupId> |
| <artifactId>dubbo-registry-consul</artifactId> |
| <version>${dubbo.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.dubbo</groupId> |
| <artifactId>dubbo-registry-default</artifactId> |
| <version>${dubbo.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.dubbo</groupId> |
| <artifactId>dubbo-registry-etcd3</artifactId> |
| <version>${dubbo.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.dubbo</groupId> |
| <artifactId>dubbo-registry-multicast</artifactId> |
| <version>${dubbo.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.dubbo</groupId> |
| <artifactId>dubbo-registry-multiple</artifactId> |
| <version>${dubbo.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.dubbo</groupId> |
| <artifactId>dubbo-registry-redis</artifactId> |
| <version>${dubbo.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.dubbo</groupId> |
| <artifactId>dubbo-registry-sofa</artifactId> |
| <version>${dubbo.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.dubbo</groupId> |
| <artifactId>dubbo-registry-zookeeper</artifactId> |
| <version>${dubbo.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.dubbo</groupId> |
| <artifactId>dubbo-spring-boot-starter</artifactId> |
| <version>${dubbo.version}</version> |
| </dependency> |
| |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| </dependencies> |
| |
| <modules> |
| <module>dubbo-api-docs-annotations</module> |
| <module>dubbo-api-docs-core</module> |
| <module>dubbo-api-docs-examples</module> |
| </modules> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${maven-checkstyle-plugin-version}</version> |
| <dependencies> |
| <dependency> |
| <groupId>com.puppycrawl.tools</groupId> |
| <artifactId>checkstyle</artifactId> |
| <version>8.18</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>checkstyle-validation</id> |
| <phase>validate</phase> |
| <configuration> |
| <configLocation>codestyle/checkstyle.xml</configLocation> |
| <encoding>UTF-8</encoding> |
| <consoleOutput>true</consoleOutput> |
| <failOnViolation>true</failOnViolation> |
| </configuration> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>flatten-maven-plugin</artifactId> |
| <version>${maven-flatten-version}</version> |
| <configuration> |
| <updatePomFile>true</updatePomFile> |
| <flattenMode>resolveCiFriendliesOnly</flattenMode> |
| <pomElements> |
| <dependencies>expand</dependencies> |
| </pomElements> |
| </configuration> |
| <executions> |
| <execution> |
| <id>flatten</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>flatten</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>flatten.clean</id> |
| <phase>clean</phase> |
| <goals> |
| <goal>clean</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <configuration> |
| <!-- We are not suppose to setup the customer resources here --> |
| <encoding>${project.build.sourceEncoding}</encoding> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>2.8.2</version> |
| <configuration> |
| <skip>${skip_maven_deploy}</skip> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>release</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |