|
33 | 33 | <version>1.26.0-SNAPSHOT</version>
|
34 | 34 | </parent>
|
35 | 35 |
|
36 |
| - <groupId>com.iluwatar</groupId> |
37 | 36 | <artifactId>polling-publisher</artifactId>
|
38 |
| - <version>1.26.0-SNAPSHOT</version> |
39 | 37 | <packaging>pom</packaging>
|
40 | 38 |
|
41 |
| - |
| 39 | + <modules> |
| 40 | + <module>polling-service</module> |
| 41 | + <module>subscriber-service</module> |
| 42 | + </modules> |
| 43 | + |
42 | 44 | <properties>
|
43 | 45 | <java.version>21</java.version>
|
44 |
| - <spring.boot.version>3.2.0</spring.boot.version> |
| 46 | + <spring.boot.version>3.4.0</spring.boot.version> |
45 | 47 | </properties>
|
46 | 48 |
|
47 |
| - <dependencyManagement> |
48 |
| - <dependencies> |
49 |
| - <dependency> |
50 |
| - <groupId>org.springframework.boot</groupId> |
51 |
| - <artifactId>spring-boot-dependencies</artifactId> |
52 |
| - <version>${spring.boot.version}</version> |
53 |
| - <type>pom</type> |
54 |
| - <scope>import</scope> |
55 |
| - </dependency> |
56 |
| - |
57 |
| - <dependency> |
| 49 | + <dependencies> |
| 50 | + <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api --> |
| 51 | + <dependency> |
| 52 | + <groupId>org.junit.jupiter</groupId> |
| 53 | + <artifactId>junit-jupiter-api</artifactId> |
| 54 | + <version>5.10.1</version> |
| 55 | + <scope>test</scope> |
| 56 | + </dependency> |
| 57 | + <dependency> |
58 | 58 | <groupId>org.junit.jupiter</groupId>
|
59 | 59 | <artifactId>junit-jupiter-engine</artifactId>
|
| 60 | + <version>5.9.2</version> |
60 | 61 | <scope>test</scope>
|
61 |
| - </dependency> |
| 62 | + </dependency> |
| 63 | + <dependency> |
| 64 | + <groupId>org.springframework.boot</groupId> |
| 65 | + <artifactId>spring-boot-dependencies</artifactId> |
| 66 | + <version>${spring.boot.version}</version> |
| 67 | + <type>pom</type> |
| 68 | + <scope>import</scope> |
| 69 | + </dependency> |
| 70 | + <dependency> |
| 71 | + <groupId>org.springframework.boot</groupId> |
| 72 | + <artifactId>spring-boot-starter-web</artifactId> |
| 73 | + <version>${spring.boot.version}</version> |
| 74 | + </dependency> |
62 | 75 |
|
63 |
| - <dependency> |
| 76 | + <dependency> |
| 77 | + <groupId>org.springframework.boot</groupId> |
| 78 | + <artifactId>spring-boot-starter</artifactId> |
| 79 | + <version>${spring.boot.version}</version> |
| 80 | + </dependency> |
| 81 | + |
| 82 | + <!-- Spring Boot Test --> |
| 83 | + <dependency> |
| 84 | + <groupId>org.springframework.boot</groupId> |
| 85 | + <artifactId>spring-boot-starter-test</artifactId> |
| 86 | + <version>${spring.boot.version}</version> |
| 87 | + <scope>test</scope> |
| 88 | + </dependency> |
| 89 | + |
| 90 | + <!-- https://mvnrepository.com/artifact/org.springframework.kafka/spring-kafka --> |
| 91 | + <dependency> |
| 92 | + <groupId>org.springframework.kafka</groupId> |
| 93 | + <artifactId>spring-kafka</artifactId> |
| 94 | + <version>3.3.2</version> |
| 95 | + </dependency> |
| 96 | + |
| 97 | + <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot --> |
| 98 | + <dependency> |
| 99 | + <groupId>org.springframework.boot</groupId> |
| 100 | + <artifactId>spring-boot</artifactId> |
| 101 | + <version>${spring.boot.version}</version> |
| 102 | + </dependency> |
| 103 | + |
| 104 | + <dependency> |
64 | 105 | <groupId>org.mockito</groupId>
|
65 | 106 | <artifactId>mockito-core</artifactId>
|
66 | 107 | <scope>test</scope>
|
67 |
| - </dependency> |
68 |
| - </dependencies> |
69 |
| - </dependencyManagement> |
70 |
| - |
71 |
| - <!-- <build> |
72 |
| - <plugins> |
73 |
| - <plugin> |
74 |
| - <groupId>org.apache.maven.plugins</groupId> |
75 |
| - <artifactId>maven-assembly-plugin</artifactId> |
76 |
| - <executions> |
77 |
| - <execution> |
78 |
| - <configuration> |
79 |
| - <archive> |
80 |
| - <manifest> |
81 |
| - <mainClass>com.iluwatar.polling-publisher.App</mainClass> |
82 |
| - </manifest> |
83 |
| - </archive> |
84 |
| - </configuration> |
85 |
| - </execution> |
86 |
| - </executions> |
87 |
| - </plugin> |
88 |
| - </plugins> |
89 |
| - </build> --> |
| 108 | + </dependency> |
| 109 | + </dependencies> |
| 110 | + |
| 111 | + <build> |
| 112 | + <pluginManagement> |
| 113 | + <plugins> |
| 114 | + <plugin> |
| 115 | + <groupId>org.apache.maven.plugins</groupId> |
| 116 | + <artifactId>maven-compiler-plugin</artifactId> |
| 117 | +<!-- <artifactId>maven-assembly-plugin</artifactId>--> |
| 118 | + <version>3.8.1</version> |
| 119 | + <configuration> |
| 120 | + <source>21</source> |
| 121 | + <target>21</target> |
| 122 | + </configuration> |
| 123 | + </plugin> |
| 124 | + </plugins> |
| 125 | + </pluginManagement> |
| 126 | + </build> |
90 | 127 |
|
91 | 128 | </project>
|
0 commit comments