|
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
5 | 5 |
|
6 | 6 | <groupId>org.apache.rocketmq</groupId>
|
7 |
| - <packaging>pom</packaging> |
8 | 7 | <version>0.0.1-SNAPSHOT</version>
|
9 | 8 | <modelVersion>4.0.0</modelVersion>
|
10 | 9 |
|
11 | 10 | <artifactId>rocketmq-connect-redis</artifactId>
|
12 | 11 |
|
13 | 12 | <properties>
|
| 13 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 14 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
14 | 15 | <redis.replicator.version>3.4.0</redis.replicator.version>
|
15 | 16 | <!-- Compiler settings properties -->
|
16 | 17 | <maven.compiler.source>1.8</maven.compiler.source>
|
17 | 18 | <maven.compiler.target>1.8</maven.compiler.target>
|
| 19 | + <rocketmq.version>4.5.2</rocketmq.version> |
18 | 20 | </properties>
|
19 | 21 |
|
| 22 | + <build> |
| 23 | + <plugins> |
| 24 | + <plugin> |
| 25 | + <groupId>org.codehaus.mojo</groupId> |
| 26 | + <artifactId>versions-maven-plugin</artifactId> |
| 27 | + <version>2.3</version> |
| 28 | + </plugin> |
| 29 | + <plugin> |
| 30 | + <groupId>org.codehaus.mojo</groupId> |
| 31 | + <artifactId>clirr-maven-plugin</artifactId> |
| 32 | + <version>2.7</version> |
| 33 | + </plugin> |
| 34 | + <plugin> |
| 35 | + <artifactId>maven-dependency-plugin</artifactId> |
| 36 | + <configuration> |
| 37 | + <outputDirectory>${project.build.directory}/lib</outputDirectory> |
| 38 | + <excludeTransitive>false</excludeTransitive> |
| 39 | + <stripVersion>true</stripVersion> |
| 40 | + </configuration> |
| 41 | + </plugin> |
| 42 | + <plugin> |
| 43 | + <artifactId>maven-compiler-plugin</artifactId> |
| 44 | + <version>3.6.1</version> |
| 45 | + <configuration> |
| 46 | + <source>${maven.compiler.source}</source> |
| 47 | + <target>${maven.compiler.target}</target> |
| 48 | + <compilerVersion>${maven.compiler.source}</compilerVersion> |
| 49 | + <showDeprecation>true</showDeprecation> |
| 50 | + <showWarnings>true</showWarnings> |
| 51 | + </configuration> |
| 52 | + </plugin> |
| 53 | + <plugin> |
| 54 | + <artifactId>maven-surefire-plugin</artifactId> |
| 55 | + <version>2.19.1</version> |
| 56 | + <configuration> |
| 57 | + <argLine>-Xms512m -Xmx1024m</argLine> |
| 58 | + <forkMode>always</forkMode> |
| 59 | + <includes> |
| 60 | + <include>**/*Test.java</include> |
| 61 | + </includes> |
| 62 | + </configuration> |
| 63 | + </plugin> |
| 64 | + <plugin> |
| 65 | + <artifactId>maven-site-plugin</artifactId> |
| 66 | + <version>3.6</version> |
| 67 | + <configuration> |
| 68 | + <locales>en_US</locales> |
| 69 | + <outputEncoding>UTF-8</outputEncoding> |
| 70 | + <inputEncoding>UTF-8</inputEncoding> |
| 71 | + </configuration> |
| 72 | + </plugin> |
| 73 | + <plugin> |
| 74 | + <artifactId>maven-source-plugin</artifactId> |
| 75 | + <version>3.0.1</version> |
| 76 | + <executions> |
| 77 | + <execution> |
| 78 | + <id>attach-sources</id> |
| 79 | + <goals> |
| 80 | + <goal>jar</goal> |
| 81 | + </goals> |
| 82 | + </execution> |
| 83 | + </executions> |
| 84 | + </plugin> |
| 85 | + <plugin> |
| 86 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 87 | + <version>2.10.4</version> |
| 88 | + <configuration> |
| 89 | + <charset>UTF-8</charset> |
| 90 | + <locale>en_US</locale> |
| 91 | + <excludePackageNames>io.openmessaging.internal</excludePackageNames> |
| 92 | + </configuration> |
| 93 | + <executions> |
| 94 | + <execution> |
| 95 | + <id>aggregate</id> |
| 96 | + <goals> |
| 97 | + <goal>aggregate</goal> |
| 98 | + </goals> |
| 99 | + <phase>site</phase> |
| 100 | + </execution> |
| 101 | + </executions> |
| 102 | + </plugin> |
| 103 | + <plugin> |
| 104 | + <artifactId>maven-resources-plugin</artifactId> |
| 105 | + <version>3.0.2</version> |
| 106 | + <configuration> |
| 107 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 108 | + </configuration> |
| 109 | + </plugin> |
| 110 | + <plugin> |
| 111 | + <groupId>org.codehaus.mojo</groupId> |
| 112 | + <artifactId>findbugs-maven-plugin</artifactId> |
| 113 | + <version>3.0.4</version> |
| 114 | + </plugin> |
| 115 | + <plugin> |
| 116 | + <artifactId>maven-assembly-plugin</artifactId> |
| 117 | + <version>3.0.0</version> |
| 118 | + <configuration> |
| 119 | + <archive> |
| 120 | + <manifest> |
| 121 | + <mainClass>org.apache.rocketmq.connect.redis.connector.RedisSourceConnector</mainClass> |
| 122 | + </manifest> |
| 123 | + </archive> |
| 124 | + <descriptorRefs> |
| 125 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 126 | + </descriptorRefs> |
| 127 | + </configuration> |
| 128 | + <executions> |
| 129 | + <execution> |
| 130 | + <id>make-assembly</id> |
| 131 | + <phase>package</phase> |
| 132 | + <goals> |
| 133 | + <goal>single</goal> |
| 134 | + </goals> |
| 135 | + </execution> |
| 136 | + </executions> |
| 137 | + </plugin> |
| 138 | + </plugins> |
| 139 | + </build> |
| 140 | + |
20 | 141 | <dependencies>
|
21 | 142 | <dependency>
|
22 | 143 | <groupId>commons-lang</groupId>
|
|
84 | 205 | </dependencies>
|
85 | 206 |
|
86 | 207 |
|
87 |
| - <build> |
88 |
| - <plugins> |
89 |
| - <plugin> |
90 |
| - <artifactId>maven-compiler-plugin</artifactId> |
91 |
| - <version>3.6.1</version> |
92 |
| - <configuration> |
93 |
| - <source>${maven.compiler.source}</source> |
94 |
| - <target>${maven.compiler.target}</target> |
95 |
| - <compilerVersion>${maven.compiler.source}</compilerVersion> |
96 |
| - <showDeprecation>true</showDeprecation> |
97 |
| - <showWarnings>true</showWarnings> |
98 |
| - </configuration> |
99 |
| - </plugin> |
100 |
| - </plugins> |
101 |
| - </build> |
102 |
| - |
103 | 208 | </project>
|
0 commit comments