| <!-- 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"> | |
| <groupId>org.apache.rocketmq</groupId> | |
| <artifactId>eventbridge-connect-standard</artifactId> | |
| <version>1.0.0-SNAPSHOT</version> | |
| <modelVersion>4.0.0</modelVersion> | |
| <properties> | |
| <maven.compiler.source>8</maven.compiler.source> | |
| <maven.compiler.target>8</maven.compiler.target> | |
| <openmessaging-connector.version>0.1.2</openmessaging-connector.version> | |
| <gson.version>2.8.9</gson.version> | |
| </properties> | |
| <dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>com.google.code.gson</groupId> | |
| <artifactId>gson</artifactId> | |
| <version>${gson.version}</version> | |
| </dependency> | |
| </dependencies> | |
| </dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>io.openmessaging</groupId> | |
| <artifactId>openmessaging-connector</artifactId> | |
| <version>${openmessaging-connector.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.code.gson</groupId> | |
| <artifactId>gson</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <version>RELEASE</version> | |
| <scope>test</scope> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>versions-maven-plugin</artifactId> | |
| <version>2.3</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>clirr-maven-plugin</artifactId> | |
| <version>2.7</version> | |
| </plugin> | |
| <plugin> | |
| <artifactId>maven-dependency-plugin</artifactId> | |
| <configuration> | |
| <outputDirectory>${project.build.directory}/lib</outputDirectory> | |
| <excludeTransitive>false</excludeTransitive> | |
| <stripVersion>true</stripVersion> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.6.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-surefire-plugin</artifactId> | |
| <version>2.19.1</version> | |
| <configuration> | |
| <argLine>-Xms512m -Xmx1024m</argLine> | |
| <forkMode>always</forkMode> | |
| <includes> | |
| <include>**/*Test.java</include> | |
| </includes> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <artifactId>maven-site-plugin</artifactId> | |
| <version>3.6</version> | |
| <configuration> | |
| <locales>en_US</locales> | |
| <outputEncoding>UTF-8</outputEncoding> | |
| <inputEncoding>UTF-8</inputEncoding> | |
| </configuration> | |
| </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> | |
| <artifactId>maven-javadoc-plugin</artifactId> | |
| <version>2.10.4</version> | |
| <configuration> | |
| <charset>UTF-8</charset> | |
| <locale>en_US</locale> | |
| <excludePackageNames>io.openmessaging.internal</excludePackageNames> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>aggregate</id> | |
| <goals> | |
| <goal>aggregate</goal> | |
| </goals> | |
| <phase>site</phase> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <artifactId>maven-resources-plugin</artifactId> | |
| <version>3.0.2</version> | |
| <configuration> | |
| <encoding>${project.build.sourceEncoding}</encoding> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>findbugs-maven-plugin</artifactId> | |
| <version>3.0.4</version> | |
| </plugin> | |
| <plugin> | |
| <artifactId>maven-assembly-plugin</artifactId> | |
| <version>3.0.0</version> | |
| <configuration> | |
| <archive> | |
| <manifest> | |
| <mainClass>org.apache.rocketmq.connect.sink.FileSinkTask | |
| </mainClass> | |
| </manifest> | |
| </archive> | |
| <descriptorRefs> | |
| <descriptorRef>jar-with-dependencies</descriptorRef> | |
| </descriptorRefs> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>make-assembly</id> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>single</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |