mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-04 22:03:10 +02:00
92 lines
3.3 KiB
XML
92 lines
3.3 KiB
XML
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
<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>com.example</groupId>
|
||
|
|
<artifactId>temperature-monitoring</artifactId>
|
||
|
|
<version>1.0-SNAPSHOT</version>
|
||
|
|
<packaging>jar</packaging>
|
||
|
|
|
||
|
|
<properties>
|
||
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
|
<flink.version>1.14.0</flink.version>
|
||
|
|
<kafka.version>2.8.0</kafka.version>
|
||
|
|
<java.version>1.8</java.version>
|
||
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
||
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
||
|
|
</properties>
|
||
|
|
|
||
|
|
<dependencies>
|
||
|
|
<!-- Apache Flink dependencies -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.flink</groupId>
|
||
|
|
<artifactId>flink-java</artifactId>
|
||
|
|
<version>${flink.version}</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.flink</groupId>
|
||
|
|
<artifactId>flink-streaming-java_2.12</artifactId>
|
||
|
|
<version>${flink.version}</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.flink</groupId>
|
||
|
|
<artifactId>flink-clients_2.12</artifactId>
|
||
|
|
<version>${flink.version}</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.flink</groupId>
|
||
|
|
<artifactId>flink-connector-kafka_2.12</artifactId>
|
||
|
|
<version>${flink.version}</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- Apache Kafka dependencies -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.kafka</groupId>
|
||
|
|
<artifactId>kafka-clients</artifactId>
|
||
|
|
<version>${kafka.version}</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- Jackson for JSON processing -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||
|
|
<artifactId>jackson-databind</artifactId>
|
||
|
|
<version>2.12.5</version>
|
||
|
|
</dependency>
|
||
|
|
</dependencies>
|
||
|
|
|
||
|
|
<build>
|
||
|
|
<plugins>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
|
<version>3.8.1</version>
|
||
|
|
<configuration>
|
||
|
|
<source>${java.version}</source>
|
||
|
|
<target>${java.version}</target>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
||
|
|
<version>3.3.0</version>
|
||
|
|
<configuration>
|
||
|
|
<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>
|