Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite83c52f

Browse files
committed
Consumer: add kafka and serialization data dependencies
1 parent6a0e22b commite83c52f

File tree

2 files changed

+91
-49
lines changed

2 files changed

+91
-49
lines changed

‎Consumer/Consumer.iml‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true"type="JAVA_MODULE"version="4">
3-
<componentname="NewModuleRootManager"LANGUAGE_LEVEL="JDK_1_5">
3+
<componentname="NewModuleRootManager"LANGUAGE_LEVEL="JDK_1_8">
44
<outputurl="file://$MODULE_DIR$/target/classes" />
55
<output-testurl="file://$MODULE_DIR$/target/test-classes" />
66
<contenturl="file://$MODULE_DIR$">
@@ -11,5 +11,17 @@
1111
<orderEntrytype="inheritedJdk" />
1212
<orderEntrytype="sourceFolder"forTests="false" />
1313
<orderEntrytype="library"scope="TEST"name="Maven: junit:junit:3.8.1"level="project" />
14+
<orderEntrytype="library"name="Maven: org.apache.kafka:kafka-clients:2.3.0"level="project" />
15+
<orderEntrytype="library"name="Maven: com.github.luben:zstd-jni:1.4.0-1"level="project" />
16+
<orderEntrytype="library"name="Maven: org.lz4:lz4-java:1.6.0"level="project" />
17+
<orderEntrytype="library"name="Maven: org.xerial.snappy:snappy-java:1.1.7.3"level="project" />
18+
<orderEntrytype="library"name="Maven: org.slf4j:slf4j-api:1.7.26"level="project" />
19+
<orderEntrytype="library"name="Maven: com.google.protobuf:protobuf-java:3.9.2"level="project" />
20+
<orderEntrytype="library"name="Maven: org.apache.avro:avro:1.9.1"level="project" />
21+
<orderEntrytype="library"name="Maven: com.fasterxml.jackson.core:jackson-core:2.9.9"level="project" />
22+
<orderEntrytype="library"name="Maven: com.fasterxml.jackson.core:jackson-databind:2.9.9.3"level="project" />
23+
<orderEntrytype="library"name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.9.0"level="project" />
24+
<orderEntrytype="library"name="Maven: org.apache.commons:commons-compress:1.19"level="project" />
25+
<orderEntrytype="library"name="Maven: com.google.code.gson:gson:2.8.5"level="project" />
1426
</component>
1527
</module>

‎Consumer/pom.xml‎

Lines changed: 78 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,81 @@
11
<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>
4823

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>
5181
</project>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp