Skip to content

Commit 042e3d8

Browse files
fix(geral): update .gitignore to exclude target directories and refactor pom.xml for dependency version management
1 parent 08a0195 commit 042e3d8

File tree

4 files changed

+37
-43
lines changed

4 files changed

+37
-43
lines changed

spring-batch-db-examples/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<h2.version>2.4.240</h2.version>
2424
<spring.boot.version>3.5.8</spring.boot.version>
2525
<spring.batch.version>5.2.4</spring.batch.version>
26-
<maven.compiler.plugin.version>3.14.1</maven.compiler.plugin.version>
26+
<maven.plugin.version>3.14.1</maven.plugin.version>
2727
<instancio.version>5.5.1</instancio.version>
2828
<jacoco.version>0.8.14</jacoco.version>
2929
</properties>
@@ -77,8 +77,8 @@
7777
<dependency>
7878
<groupId>org.springframework.boot</groupId>
7979
<artifactId>spring-boot-starter-test</artifactId>
80-
<version>${spring.boot.version}</version>
8180
<scope>test</scope>
81+
<version>${spring.boot.version}</version>
8282
</dependency>
8383

8484
<dependency>
@@ -96,7 +96,7 @@
9696
<plugin>
9797
<groupId>org.apache.maven.plugins</groupId>
9898
<artifactId>maven-compiler-plugin</artifactId>
99-
<version>${maven.compiler.plugin.version}</version>
99+
<version>${maven.plugin.version}</version>
100100
<configuration>
101101
<annotationProcessorPaths>
102102
<path>

spring-multimodule-example/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
target/
2+
**/target/
3+
14
!**/src/main/**/target/
25
!**/src/test/**/target/
36
!**/.idea

spring-multimodule-example/pom.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,5 @@
2525
<module>module-b-example</module>
2626
</modules>
2727

28-
<dependencies>
29-
30-
<dependency>
31-
<groupId>org.springframework.boot</groupId>
32-
<artifactId>spring-boot-starter-test</artifactId>
33-
<scope>test</scope>
34-
<version>${spring.boot.version}</version>
35-
</dependency>
36-
37-
</dependencies>
38-
3928
</project>
4029

spring-wolf-example/pom.xml

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -19,75 +19,77 @@
1919

2020
<properties>
2121
<java.version>21</java.version>
22-
</properties>
22+
<spring.boot.version>3.5.8</spring.boot.version>
23+
<maven.plugin.version>3.14.1</maven.plugin.version>
24+
<spring.cloud.kafka>5.0.0</spring.cloud.kafka>
25+
<lombok.version>1.18.42</lombok.version>
26+
<springwolf.version>1.20.0</springwolf.version>
27+
</properties>
2328

2429
<dependencies>
2530

2631
<dependency>
2732
<groupId>org.springframework.boot</groupId>
2833
<artifactId>spring-boot-starter-web</artifactId>
34+
<version>${spring.boot.version}</version>
2935
</dependency>
3036

3137
<dependency>
3238
<groupId>org.springframework.cloud</groupId>
3339
<artifactId>spring-cloud-starter-stream-kafka</artifactId>
34-
<version>5.0.0</version>
40+
<version>${spring.cloud.kafka}</version>
3541
</dependency>
3642

3743
<dependency>
3844
<groupId>org.projectlombok</groupId>
3945
<artifactId>lombok</artifactId>
4046
<optional>true</optional>
47+
<version>${lombok.version}</version>
4148
</dependency>
4249

4350
<dependency>
4451
<groupId>io.github.springwolf</groupId>
4552
<artifactId>springwolf-ui</artifactId>
46-
<version>1.20.0</version>
53+
<version>${springwolf.version}</version>
4754
</dependency>
4855

4956
<dependency>
5057
<groupId>io.github.springwolf</groupId>
5158
<artifactId>springwolf-kafka</artifactId>
52-
<version>1.20.0</version>
59+
<version>${springwolf.version}</version>
5360
</dependency>
5461

5562
<dependency>
5663
<groupId>org.springframework.boot</groupId>
5764
<artifactId>spring-boot-starter-test</artifactId>
5865
<scope>test</scope>
66+
<version>${spring.boot.version}</version>
5967
</dependency>
6068

6169
</dependencies>
6270

6371
<build>
6472
<plugins>
6573

66-
<plugin>
67-
<groupId>org.apache.maven.plugins</groupId>
68-
<artifactId>maven-compiler-plugin</artifactId>
69-
<configuration>
70-
<annotationProcessorPaths>
71-
<path>
72-
<groupId>org.projectlombok</groupId>
73-
<artifactId>lombok</artifactId>
74-
</path>
75-
</annotationProcessorPaths>
76-
</configuration>
77-
</plugin>
78-
79-
<plugin>
80-
<groupId>org.springframework.boot</groupId>
81-
<artifactId>spring-boot-maven-plugin</artifactId>
82-
<configuration>
83-
<excludes>
84-
<exclude>
85-
<groupId>org.projectlombok</groupId>
86-
<artifactId>lombok</artifactId>
87-
</exclude>
88-
</excludes>
89-
</configuration>
90-
</plugin>
74+
<plugin>
75+
<groupId>org.apache.maven.plugins</groupId>
76+
<artifactId>maven-compiler-plugin</artifactId>
77+
<version>${maven.plugin.version}</version>
78+
<configuration>
79+
<annotationProcessorPaths>
80+
<path>
81+
<groupId>org.projectlombok</groupId>
82+
<artifactId>lombok</artifactId>
83+
</path>
84+
</annotationProcessorPaths>
85+
</configuration>
86+
</plugin>
87+
88+
<plugin>
89+
<groupId>org.springframework.boot</groupId>
90+
<artifactId>spring-boot-maven-plugin</artifactId>
91+
<version>${spring.boot.version}</version>
92+
</plugin>
9193

9294
</plugins>
9395
</build>

0 commit comments

Comments
 (0)