| <!-- |
| 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"> |
| <parent> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>ons-parent</artifactId> |
| <version>1.8.1-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <inceptionYear>2012</inceptionYear> |
| <artifactId>ons-all</artifactId> |
| <packaging>pom</packaging> |
| <name>ons-all ${project.version}</name> |
| <url>https://github.org.apache.rocketmq</url> |
| <description>https://github.com/alibaba/RocketMQ/blob/develop/README.md</description> |
| <modules> |
| <module>ons-client</module> |
| <module>ons-api</module> |
| <module>ons-trace-core</module> |
| <module>ons-auth4client</module> |
| </modules> |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <!--maven properties --> |
| <maven.test.skip>true</maven.test.skip> |
| <maven.jdoc.skip>true</maven.jdoc.skip> |
| <downloadSources>true</downloadSources> |
| <!-- compiler settings properties --> |
| <java_source_version>1.6</java_source_version> |
| <java_target_version>1.6</java_target_version> |
| <file_encoding>UTF-8</file_encoding> |
| <!-- Always use stable version of RocketMQ --> |
| <rocketmq.version>4.5.1</rocketmq.version> |
| <auth.version>${project.version}</auth.version> |
| <spring.version>4.1.2.RELEASE</spring.version> |
| <diamond.version>3.7.4</diamond.version> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.3.2</version> |
| <configuration> |
| <source>${java_source_version}</source> |
| <target>${java_target_version}</target> |
| <encoding>${file_encoding}</encoding> |
| <showDeprecation>true</showDeprecation> |
| <showWarnings>true</showWarnings> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.3</version> |
| <configuration> |
| <skip>${maven.test.skip}</skip> |
| <argLine>-Xms512m -Xmx1024m</argLine> |
| <forkMode>once</forkMode> |
| <includes> |
| <include>**/*Test.java</include> |
| </includes> |
| <excludes> |
| <exclude>org.apache.rocketmq/remoting/ExceptionTest.java</exclude> |
| <exclude>org.apache.rocketmq/remoting/SyncInvokeTest.java</exclude> |
| <exclude>org.apache.rocketmq/remoting/NettyIdleTest.java</exclude> |
| <exclude>org.apache.rocketmq/remoting/NettyConnectionTest.java</exclude> |
| <exclude>org.apache.rocketmq/common/filter/PolishExprTest.java</exclude> |
| <exclude>org.apache.rocketmq/common/protocol/MQProtosHelperTest.java</exclude> |
| <exclude> |
| org.apache.rocketmq/client/consumer/loadbalance/AllocateMessageQueueAveragelyTest.java |
| </exclude> |
| <exclude>org.apache.rocketmq/store/RecoverTest.java</exclude> |
| <exclude>org.apache.rocketmq/broker/api/SendMessageTest.java</exclude> |
| <exclude>org.apache.rocketmq/test/integration/*/*.java</exclude> |
| <exclude>org.apache.rocketmq/test/integration/BaseTest.java</exclude> |
| <exclude>org.apache.rocketmq/test/*/*.java</exclude> |
| <exclude>org.apache.rocketmq/test/BaseTest.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.10.4</version> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <skip>${maven.jdoc.skip}</skip> |
| <encoding>${file_encoding}</encoding> |
| <charset>${file_encoding}</charset> |
| <doclet>org.jboss.apiviz.APIviz</doclet> |
| <docletArtifact> |
| <groupId>org.jboss.apiviz</groupId> |
| <artifactId>apiviz</artifactId> |
| <version>1.3.2.GA</version> |
| </docletArtifact> |
| <useStandardDocletOptions>true</useStandardDocletOptions> |
| <breakiterator>true</breakiterator> |
| <version>true</version> |
| <author>true</author> |
| <keywords>true</keywords> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.1.2</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>false</filtering> |
| </resource> |
| </resources> |
| </build> |
| <profiles> |
| <profile> |
| <id>release-sign-artifacts</id> |
| <activation> |
| <property> |
| <name>performRelease</name> |
| <value>true</value> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>1.1</version> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>rmq</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <finalName>rmq</finalName> |
| <descriptors> |
| <descriptor>release.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>ons-client</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <finalName>rocketmq-ons-client</finalName> |
| <descriptors> |
| <descriptor>release-client.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.7.7</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ons-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ons-client</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ons-trace-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>rocketmq-client</artifactId> |
| <version>${rocketmq.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>rocketmq-remoting</artifactId> |
| <version>${rocketmq.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>rocketmq-common</artifactId> |
| <version>${rocketmq.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>rocketmq-tools</artifactId> |
| <version>${rocketmq.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ons-auth4client</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>1.1.11</version> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-core</artifactId> |
| <version>1.1.11</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| </project> |