| <!-- |
| 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> |
| |
| <groupId>org.apache.dubbo.spi</groupId> |
| <artifactId>dubbo-spi-extensions</artifactId> |
| <version>${revision}</version> |
| <packaging>pom</packaging> |
| |
| <properties> |
| <revision>3.0.0-SNAPSHOT</revision> |
| <!-- Test libs --> |
| <junit_jupiter_version>5.6.0</junit_jupiter_version> |
| <hazelcast_version>3.11.1</hazelcast_version> |
| <hamcrest_version>1.3</hamcrest_version> |
| <hibernate_validator_version>5.2.4.Final</hibernate_validator_version> |
| <el_api_version>2.2.4</el_api_version> |
| <jaxb_api_version>2.2.7</jaxb_api_version> |
| <cglib_version>2.2</cglib_version> |
| <mockito_version>2.23.4</mockito_version> |
| <!-- for maven compiler plugin --> |
| <java_source_version>1.8</java_source_version> |
| <java_target_version>1.8</java_target_version> |
| <file_encoding>UTF-8</file_encoding> |
| |
| <maven_jar_version>3.2.0</maven_jar_version> |
| <maven_surefire_version>2.22.1</maven_surefire_version> |
| <maven_deploy_version>2.8.2</maven_deploy_version> |
| <maven_compiler_version>3.6.0</maven_compiler_version> |
| <maven_source_version>3.2.1</maven_source_version> |
| <maven_javadoc_version>3.0.1</maven_javadoc_version> |
| </properties> |
| |
| <dependencies> |
| <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> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-all</artifactId> |
| <version>${hamcrest_version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito_version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>cglib</groupId> |
| <artifactId>cglib-nodep</artifactId> |
| <version>${cglib_version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <!-- Used for packaging NOTICE & LICENSE to each sub-module jar--> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>false</filtering> |
| </resource> |
| <resource> |
| <directory>${maven.multiModuleProjectDirectory}</directory> |
| <targetPath>META-INF/</targetPath> |
| <filtering>false</filtering> |
| <includes> |
| <include>NOTICE</include> |
| <include>LICENSE</include> |
| </includes> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven_compiler_version}</version> |
| <configuration> |
| <compilerArgs> |
| <compilerArg>-proc:none</compilerArg> |
| <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> |
| <id>default</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <modules> |
| <module>dubbo-all</module> |
| <module>dubbo-spi-container</module> |
| <module>dubbo-spi-remoting</module> |
| <module>dubbo-spi-rpc</module> |
| <module>dubbo-spi-registry</module> |
| <module>dubbo-spi-serialization</module> |
| <module>dubbo-spi-configcenter</module> |
| <module>dubbo-spi-metadata</module> |
| <module>dubbo-api-docs</module> |
| <module>dubbo-test</module> |
| </modules> |
| |
| </profile> |
| <profile> |
| <id>release</id> |
| <modules> |
| <module>dubbo-api-docs</module> |
| <module>distribution</module> |
| </modules> |
| |
| <properties> |
| <log4j2_version>2.11.1</log4j2_version> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>${maven_source_version}</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${maven_javadoc_version}</version> |
| <executions> |
| <execution> |
| <id>attach-javadoc</id> |
| <goals> |
| <goal>jar</goal> |
| <goal>aggregate</goal> |
| </goals> |
| <configuration> |
| <additionalDependencies> |
| <additionalDependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>${log4j2_version}</version> |
| </additionalDependency> |
| <additionalDependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>${log4j2_version}</version> |
| </additionalDependency> |
| </additionalDependencies> |
| </configuration> |
| </execution> |
| </executions> |
| <configuration> |
| <show>public</show> |
| <charset>UTF-8</charset> |
| <encoding>UTF-8</encoding> |
| <docencoding>UTF-8</docencoding> |
| <links> |
| <link>http://docs.oracle.com/javase/8/docs/api</link> |
| </links> |
| <doclint>none</doclint> |
| <excludePackageNames> |
| org.apache.dubbo.apidocs.examples.* |
| </excludePackageNames> |
| <doctitle>Apache Dubbo Extensions ${project.version} API</doctitle> |
| <windowtitle>Apache Dubbo Extensions ${project.version} API</windowtitle> |
| </configuration> |
| </plugin> |
| <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> |