Skip to content

Commit 242df90

Browse files
committed
Import Spring Boot Dependency BOM
1 parent 8cd63d6 commit 242df90

File tree

1 file changed

+12
-57
lines changed

1 file changed

+12
-57
lines changed

pom.xml

+12-57
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,12 @@
4040
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4141

4242
<spring-boot.version>2.4.3</spring-boot.version>
43-
<spring-javamail.version>5.3.4</spring-javamail.version>
4443
<utils-mail-dkim.version>1.4.0</utils-mail-dkim.version>
45-
<slf4j.version>1.7.30</slf4j.version>
4644

47-
<junit-jupiter.version>5.7.1</junit-jupiter.version>
48-
<mockito.version>3.6.28</mockito.version>
49-
<assertj.version>3.18.1</assertj.version>
5045
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
46+
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
47+
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
48+
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
5149
</properties>
5250

5351
<modules>
@@ -59,26 +57,19 @@
5957
<dependencyManagement>
6058
<dependencies>
6159
<dependency>
62-
<groupId>org.springframework</groupId>
63-
<artifactId>spring-context-support</artifactId>
64-
<version>${spring-javamail.version}</version>
60+
<groupId>org.springframework.boot</groupId>
61+
<artifactId>spring-boot-dependencies</artifactId>
62+
<version>${spring-boot.version}</version>
63+
<scope>import</scope>
64+
<type>pom</type>
6565
</dependency>
66+
6667
<dependency>
6768
<groupId>net.markenwerk</groupId>
6869
<artifactId>utils-mail-dkim</artifactId>
6970
<version>${utils-mail-dkim.version}</version>
7071
</dependency>
71-
<dependency>
72-
<groupId>org.slf4j</groupId>
73-
<artifactId>slf4j-nop</artifactId>
74-
<version>${slf4j.version}</version>
75-
</dependency>
7672

77-
<dependency>
78-
<groupId>org.springframework.boot</groupId>
79-
<artifactId>spring-boot-starter</artifactId>
80-
<version>${spring-boot.version}</version>
81-
</dependency>
8273
<dependency>
8374
<groupId>de.vinado.boot</groupId>
8475
<artifactId>spring-boot-autoconfigure-dkim-javamail</artifactId>
@@ -89,42 +80,6 @@
8980
<artifactId>dkim-javamail</artifactId>
9081
<version>${project.version}</version>
9182
</dependency>
92-
<dependency>
93-
<groupId>org.springframework.boot</groupId>
94-
<artifactId>spring-boot</artifactId>
95-
<version>${spring-boot.version}</version>
96-
</dependency>
97-
<dependency>
98-
<groupId>org.springframework.boot</groupId>
99-
<artifactId>spring-boot-autoconfigure</artifactId>
100-
<version>${spring-boot.version}</version>
101-
</dependency>
102-
<dependency>
103-
<groupId>org.springframework.boot</groupId>
104-
<artifactId>spring-boot-configuration-processor</artifactId>
105-
<version>${spring-boot.version}</version>
106-
</dependency>
107-
108-
<dependency>
109-
<groupId>org.springframework.boot</groupId>
110-
<artifactId>spring-boot-test</artifactId>
111-
<version>${spring-boot.version}</version>
112-
</dependency>
113-
<dependency>
114-
<groupId>org.junit.jupiter</groupId>
115-
<artifactId>junit-jupiter</artifactId>
116-
<version>${junit-jupiter.version}</version>
117-
</dependency>
118-
<dependency>
119-
<groupId>org.mockito</groupId>
120-
<artifactId>mockito-junit-jupiter</artifactId>
121-
<version>${mockito.version}</version>
122-
</dependency>
123-
<dependency>
124-
<groupId>org.assertj</groupId>
125-
<artifactId>assertj-core</artifactId>
126-
<version>${assertj.version}</version>
127-
</dependency>
12883
</dependencies>
12984
</dependencyManagement>
13085

@@ -138,7 +93,7 @@
13893
<plugin>
13994
<groupId>org.apache.maven.plugins</groupId>
14095
<artifactId>maven-compiler-plugin</artifactId>
141-
<version>3.8.1</version>
96+
<version>${maven-compiler-plugin.version}</version>
14297
<configuration>
14398
<source>${maven.java.source}</source>
14499
<target>${maven.java.target}</target>
@@ -152,7 +107,7 @@
152107
<plugin>
153108
<groupId>org.apache.maven.plugins</groupId>
154109
<artifactId>maven-source-plugin</artifactId>
155-
<version>3.2.1</version>
110+
<version>${maven-source-plugin.version}</version>
156111
<executions>
157112
<execution>
158113
<id>attach-sources</id>
@@ -165,7 +120,7 @@
165120
<plugin>
166121
<groupId>org.apache.maven.plugins</groupId>
167122
<artifactId>maven-javadoc-plugin</artifactId>
168-
<version>3.2.0</version>
123+
<version>${maven-javadoc-plugin.version}</version>
169124
<configuration>
170125
<links>
171126
<link>https://docs.spring.io/spring-framework/docs/current/javadoc-api/</link>

0 commit comments

Comments
 (0)