|
1 | 1 | <projectxmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | | -xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | | - <modelVersion>4.0.0</modelVersion> |
4 | | - <groupId>com.telkomdev.consumer</groupId> |
5 | | - <artifactId>Consumer</artifactId> |
6 | | - <packaging>jar</packaging> |
7 | | - <version>1.0-SNAPSHOT</version> |
8 | | - <name>Consumer</name> |
9 | | - <url>http://maven.apache.org</url> |
10 | | - <properties> |
11 | | -<!-- https://maven.apache.org/general.html#encoding-warning--> |
12 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
13 | | - <maven.compiler.source>1.8</maven.compiler.source> |
14 | | - <maven.compiler.target>1.8</maven.compiler.target> |
15 | | - </properties> |
16 | | - <dependencies> |
17 | | - <dependency> |
18 | | - <groupId>junit</groupId> |
19 | | - <artifactId>junit</artifactId> |
20 | | - <version>3.8.1</version> |
21 | | - <scope>test</scope> |
22 | | - </dependency> |
23 | | - </dependencies> |
24 | | - <build> |
25 | | - <plugins> |
26 | | - <plugin> |
27 | | - <groupId>org.apache.maven.plugins</groupId> |
28 | | - <artifactId>maven-shade-plugin</artifactId> |
29 | | - <version>3.2.0</version> |
30 | | - <executions> |
31 | | -<!-- Attach the shade into the package phase--> |
32 | | - <execution> |
33 | | - <phase>package</phase> |
34 | | - <goals> |
35 | | - <goal>shade</goal> |
36 | | - </goals> |
37 | | - <configuration> |
38 | | - <transformers> |
39 | | - <transformer |
40 | | -implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
41 | | - <mainClass>com.telkomdev.consumer.App</mainClass> |
42 | | - </transformer> |
43 | | - </transformers> |
44 | | - </configuration> |
45 | | - </execution> |
46 | | - </executions> |
47 | | - </plugin> |
| 2 | +xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>com.telkomdev.consumer</groupId> |
| 5 | + <artifactId>Consumer</artifactId> |
| 6 | + <packaging>jar</packaging> |
| 7 | + <version>1.0-SNAPSHOT</version> |
| 8 | + <name>Consumer</name> |
| 9 | + <url>http://maven.apache.org</url> |
| 10 | + <properties> |
| 11 | +<!-- https://maven.apache.org/general.html#encoding-warning--> |
| 12 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 13 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 14 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 15 | + </properties> |
| 16 | + <dependencies> |
| 17 | + <dependency> |
| 18 | + <groupId>junit</groupId> |
| 19 | + <artifactId>junit</artifactId> |
| 20 | + <version>3.8.1</version> |
| 21 | + <scope>test</scope> |
| 22 | + </dependency> |
48 | 23 |
|
49 | | - </plugins> |
50 | | - </build> |
| 24 | +<!-- https://mvnrepository.com/artifact/org.apache.kafka/kafka-clients--> |
| 25 | + <dependency> |
| 26 | + <groupId>org.apache.kafka</groupId> |
| 27 | + <artifactId>kafka-clients</artifactId> |
| 28 | + <version>2.3.0</version> |
| 29 | + </dependency> |
| 30 | + |
| 31 | +<!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java--> |
| 32 | + <dependency> |
| 33 | + <groupId>com.google.protobuf</groupId> |
| 34 | + <artifactId>protobuf-java</artifactId> |
| 35 | + <version>3.9.2</version> |
| 36 | + </dependency> |
| 37 | + |
| 38 | +<!-- https://mvnrepository.com/artifact/org.apache.avro/avro--> |
| 39 | + <dependency> |
| 40 | + <groupId>org.apache.avro</groupId> |
| 41 | + <artifactId>avro</artifactId> |
| 42 | + <version>1.9.1</version> |
| 43 | + </dependency> |
| 44 | + |
| 45 | + |
| 46 | +<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson--> |
| 47 | + <dependency> |
| 48 | + <groupId>com.google.code.gson</groupId> |
| 49 | + <artifactId>gson</artifactId> |
| 50 | + <version>2.8.5</version> |
| 51 | + </dependency> |
| 52 | + |
| 53 | + </dependencies> |
| 54 | + <build> |
| 55 | + <plugins> |
| 56 | + <plugin> |
| 57 | + <groupId>org.apache.maven.plugins</groupId> |
| 58 | + <artifactId>maven-shade-plugin</artifactId> |
| 59 | + <version>3.2.0</version> |
| 60 | + <executions> |
| 61 | +<!-- Attach the shade into the package phase--> |
| 62 | + <execution> |
| 63 | + <phase>package</phase> |
| 64 | + <goals> |
| 65 | + <goal>shade</goal> |
| 66 | + </goals> |
| 67 | + <configuration> |
| 68 | + <transformers> |
| 69 | + <transformer |
| 70 | +implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 71 | + <mainClass>com.telkomdev.consumer.App</mainClass> |
| 72 | + </transformer> |
| 73 | + </transformers> |
| 74 | + </configuration> |
| 75 | + </execution> |
| 76 | + </executions> |
| 77 | + </plugin> |
| 78 | + |
| 79 | + </plugins> |
| 80 | + </build> |
51 | 81 | </project> |