-
-
Notifications
You must be signed in to change notification settings - Fork 44
/
pom.xml
78 lines (72 loc) · 2.84 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.ivanfranchin</groupId>
<artifactId>spring-cloud-stream-kafka-elasticsearch</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<name>spring-cloud-stream-kafka-elasticsearch</name>
<description>News Pipeline</description>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.1</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<properties>
<java.version>17</java.version>
<spring-cloud.version>2023.0.2</spring-cloud.version>
<jib-maven-plugin.version>3.4.3</jib-maven-plugin.version>
<jdk-image.version>17.0.11</jdk-image.version>
<docker-image.prefix>ivanfranchin</docker-image.prefix>
</properties>
<modules>
<module>eureka-server</module>
<module>producer-api</module>
<module>categorizer-service</module>
<module>collector-service</module>
<module>publisher-api</module>
<module>news-client</module>
<module>commons-news</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<id>build-info</id>
<goals>
<goal>build-info</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>${jib-maven-plugin.version}</version>
<configuration>
<from>
<image>amazoncorretto:${jdk-image.version}</image>
</from>
<to>
<image>${docker-image.prefix}/${project.artifactId}:${project.version}</image>
</to>
</configuration>
</plugin>
</plugins>
</build>
</project>