| <?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> |
| |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>rocketmq-redis-replicator</artifactId> |
| <version>1.0.0</version> |
| |
| <name>redis-replicator</name> |
| <description>Redis Replicator is a redis RDB and Command parser written in java. |
| It can parse,filter,broadcast the RDB and Command events in a real time manner |
| and resent to Apache RocketMQ, then consumer could subscribe topic to receive data. |
| </description> |
| <url>https://github.com/apache/incubator-rocketmq-externals/tree/master/rocketmq-redis</url> |
| |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| </license> |
| </licenses> |
| |
| <developers> |
| <developer> |
| <name>Leon Chen</name> |
| <email>chen.bao.yi@gmail.com</email> |
| <organization>moilioncircle</organization> |
| <organizationUrl>http://www.moilioncircle.com/</organizationUrl> |
| <roles> |
| <role>Developer</role> |
| </roles> |
| <timezone>+8</timezone> |
| </developer> |
| |
| <developer> |
| <name>Adrian Yao</name> |
| <email>adrianyaofly@gmail.com</email> |
| <organization>unstudy</organization> |
| <timezone>+8</timezone> |
| </developer> |
| |
| <developer> |
| <name>Rick Zhang</name> |
| <email>zhangke.huangshan@gmail.com</email> |
| <organization>treefinance.com.cn</organization> |
| <roles> |
| <role>Developer</role> |
| </roles> |
| <timezone>+8</timezone> |
| </developer> |
| </developers> |
| |
| <issueManagement> |
| <system>jira</system> |
| <url>https://issues.apache.org/jira/browse/RocketMQ</url> |
| </issueManagement> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| <kryo.version>4.0.2</kryo.version> |
| <curator.version>4.0.1</curator.version> |
| <logback.version>1.1.3</logback.version> |
| <rocketmq.client.version>4.2.0</rocketmq.client.version> |
| <redis.replicator.version>3.4.0</redis.replicator.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>rocketmq-client</artifactId> |
| <version>${rocketmq.client.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>${logback.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.esotericsoftware</groupId> |
| <artifactId>kryo-shaded</artifactId> |
| <version>${kryo.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.moilioncircle</groupId> |
| <artifactId>redis-replicator</artifactId> |
| <version>${redis.replicator.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-recipes</artifactId> |
| <version>${curator.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <!-- test --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>redis.clients</groupId> |
| <artifactId>jedis</artifactId> |
| <version>2.9.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>rocketmq-test</artifactId> |
| <version>4.2.0</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <finalName>rocketmq-redis</finalName> |
| <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory> |
| <outputDirectory>${project.basedir}/target/classes</outputDirectory> |
| <resources> |
| <resource> |
| <directory>${project.basedir}/src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>clirr-maven-plugin</artifactId> |
| <version>2.8</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>1.4.1</version> |
| <executions> |
| <execution> |
| <id>enforce-ban-circular-dependencies</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <rules> |
| <banCircularDependencies/> |
| </rules> |
| <fail>true</fail> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>extra-enforcer-rules</artifactId> |
| <version>1.0-beta-6</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.5.1</version> |
| <configuration> |
| <source>${maven.compiler.source}</source> |
| <target>${maven.compiler.target}</target> |
| <compilerVersion>${maven.compiler.source}</compilerVersion> |
| <showDeprecation>true</showDeprecation> |
| <showWarnings>true</showWarnings> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.10.4</version> |
| <configuration> |
| <charset>UTF-8</charset> |
| </configuration> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>3.0.1</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>3.0.4</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.12</version> |
| <configuration> |
| <excludes> |
| <exclude>README.md</exclude> |
| <exclude>CHANGELOG.md</exclude> |
| <exclude>CONTRIBUTING.md</exclude> |
| <exclude>NOTICE-BIN</exclude> |
| <exclude>INTEGRATION-TEST</exclude> |
| <exclude>doc/image1.png</exclude> |
| <exclude>src/main/assembly/scripts/start.sh</exclude> |
| <exclude>src/main/assembly/scripts/stop.sh</exclude> |
| <exclude>src/main/resources/replicator.conf</exclude> |
| <exclude>src/test/resources/appendonly5.aof</exclude> |
| <exclude>src/test/resources/appendonly6.aof</exclude> |
| <exclude>src/test/resources/keystore/stunnel.conf</exclude> |
| <exclude>src/test/resources/low-comp-120k.txt</exclude> |
| <exclude>src/test/resources/zoo.cfg</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.17</version> |
| <executions> |
| <execution> |
| <id>verify</id> |
| <phase>verify</phase> |
| <configuration> |
| <configLocation>style/rmq_checkstyle.xml</configLocation> |
| <encoding>UTF-8</encoding> |
| <consoleOutput>true</consoleOutput> |
| <failsOnError>true</failsOnError> |
| <includeTestSourceDirectory>false</includeTestSourceDirectory> |
| <includeTestResources>false</includeTestResources> |
| </configuration> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.4</version> |
| <configuration> |
| <archive> |
| <addMavenDescriptor>false</addMavenDescriptor> |
| <manifest> |
| <addClasspath>true</addClasspath> |
| <classpathPrefix>lib/</classpathPrefix> |
| </manifest> |
| <manifestEntries> |
| <Automatic-Module-Name>org.apache.rocketmq.redis.replicator</Automatic-Module-Name> |
| </manifestEntries> |
| </archive> |
| <excludes> |
| <exclude>replicator.conf</exclude> |
| <exclude>logback.xml</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.4</version> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/assembly.xml</descriptor> |
| </descriptors> |
| </configuration> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |