Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

Commit acc4fb2

Browse files
author
Mario Codes Sánchez
committed
spring: cleaned poms
1 parent e52cbd5 commit acc4fb2

File tree

5 files changed

+309
-368
lines changed

5 files changed

+309
-368
lines changed
+45-104
Original file line numberDiff line numberDiff line change
@@ -1,162 +1,103 @@
11
<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">
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>es.msanchez.frameworks</groupId>
4-
<version>0.0.1-SNAPSHOT</version>
5-
<name>spring-boot-web-app</name>
64
<artifactId>spring-boot-web-app</artifactId>
75

8-
<properties>
9-
<!-- maven plugins -->
10-
<maven-compiler-config.version>1.8</maven-compiler-config.version>
11-
<maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
12-
<maven-shade.version>3.1.0</maven-shade.version>
13-
14-
<!-- normal dependencies -->
15-
<slf4j.version>1.7.25</slf4j.version>
16-
<logback.version>1.2.3</logback.version>
17-
<spring.version>5.0.3.RELEASE</spring.version>
18-
<spring-boot.version>2.0.0.RELEASE</spring-boot.version>
19-
<lombok.version>1.16.20</lombok.version>
20-
21-
<!-- test dependencies -->
22-
<assertj.version>3.9.0</assertj.version>
23-
<mockito.version>2.13.0</mockito.version>
24-
<powermock.version>1.7.3</powermock.version>
25-
<catch-exception.version>1.4.6</catch-exception.version>
26-
<junit.version>4.12</junit.version>
27-
</properties>
28-
29-
<dependencies>
30-
<!-- Logger -->
31-
<dependency>
32-
<groupId>org.slf4j</groupId>
33-
<artifactId>slf4j-api</artifactId>
34-
<version>${slf4j.version}</version>
35-
</dependency>
6+
<parent>
7+
<groupId>es.msanchez.frameworks</groupId>
8+
<artifactId>spring-pom</artifactId>
9+
<version>1.0.0-RELEASE</version>
10+
<relativePath>../spring-pom/</relativePath>
11+
</parent>
3612

37-
<dependency>
38-
<groupId>ch.qos.logback</groupId>
39-
<artifactId>logback-classic</artifactId>
40-
<version>${logback.version}</version>
41-
</dependency>
42-
43-
<dependency>
44-
<groupId>ch.qos.logback</groupId>
45-
<artifactId>logback-core</artifactId>
46-
<version>${logback.version}</version>
47-
</dependency>
13+
<dependencies>
4814

49-
<dependency>
50-
<groupId>org.projectlombok</groupId>
51-
<artifactId>lombok</artifactId>
52-
<version>${lombok.version}</version>
53-
<scope>provided</scope>
54-
</dependency>
55-
5615
<!-- Spring -->
5716
<dependency>
5817
<groupId>org.springframework.boot</groupId>
5918
<artifactId>spring-boot-starter</artifactId>
60-
<version>${spring-boot.version}</version>
6119
</dependency>
6220

6321
<dependency>
6422
<groupId>org.springframework.boot</groupId>
6523
<artifactId>spring-boot-starter-web</artifactId>
66-
<version>${spring-boot.version}</version>
6724
</dependency>
6825

69-
7026
<dependency>
7127
<groupId>org.springframework</groupId>
7228
<artifactId>spring-context</artifactId>
73-
<version>${spring.version}</version>
7429
</dependency>
7530

7631
<dependency>
7732
<groupId>org.springframework</groupId>
7833
<artifactId>spring-core</artifactId>
79-
<version>${spring.version}</version>
8034
</dependency>
35+
36+
<!-- Logger -->
37+
<dependency>
38+
<groupId>org.slf4j</groupId>
39+
<artifactId>slf4j-api</artifactId>
40+
</dependency>
41+
42+
<dependency>
43+
<groupId>ch.qos.logback</groupId>
44+
<artifactId>logback-classic</artifactId>
45+
</dependency>
46+
47+
<dependency>
48+
<groupId>ch.qos.logback</groupId>
49+
<artifactId>logback-core</artifactId>
50+
</dependency>
51+
52+
<!-- other dependencies -->
53+
<dependency>
54+
<groupId>org.projectlombok</groupId>
55+
<artifactId>lombok</artifactId>
56+
<scope>provided</scope>
57+
</dependency>
8158

8259
<!-- Test Dependencies -->
8360
<dependency>
8461
<groupId>org.assertj</groupId>
8562
<artifactId>assertj-core</artifactId>
86-
<version>${assertj.version}</version>
8763
<scope>test</scope>
8864
</dependency>
8965

9066
<dependency>
9167
<groupId>org.mockito</groupId>
9268
<artifactId>mockito-core</artifactId>
93-
<version>${mockito.version}</version>
94-
<scope>test</scope>
95-
</dependency>
96-
97-
<dependency>
98-
<groupId>org.powermock</groupId>
99-
<artifactId>powermock-api-mockito2</artifactId>
100-
<version>${powermock.version}</version>
101-
<scope>test</scope>
102-
</dependency>
103-
104-
<dependency>
105-
<groupId>eu.codearte.catch-exception</groupId>
106-
<artifactId>catch-exception</artifactId>
107-
<version>${catch-exception.version}</version>
10869
<scope>test</scope>
10970
</dependency>
11071

11172
<dependency>
11273
<groupId>junit</groupId>
11374
<artifactId>junit</artifactId>
114-
<version>${junit.version}</version>
115-
<scope>test</scope>
116-
</dependency>
117-
118-
<dependency>
119-
<groupId>org.springframework</groupId>
120-
<artifactId>spring-test</artifactId>
121-
<version>${spring.version}</version>
12275
<scope>test</scope>
12376
</dependency>
12477

12578
<dependency>
12679
<groupId>org.springframework.boot</groupId>
12780
<artifactId>spring-boot-starter-test</artifactId>
128-
<version>${spring-boot.version}</version>
12981
<scope>test</scope>
13082
</dependency>
13183

13284
</dependencies>
13385

13486
<build>
135-
<plugins>
136-
<!-- Solves Manifest not found trouble -->
137-
<plugin>
138-
<groupId>org.springframework.boot</groupId>
139-
<artifactId>spring-boot-maven-plugin</artifactId>
140-
<version>${spring-boot.version}</version>
141-
<executions>
142-
<execution>
143-
<goals>
144-
<goal>repackage</goal>
145-
</goals>
146-
</execution>
147-
</executions>
148-
</plugin>
149-
150-
<!-- Sets the compiler version -->
151-
<plugin>
152-
<groupId>org.apache.maven.plugins</groupId>
153-
<artifactId>maven-compiler-plugin</artifactId>
154-
<version>${maven-compiler-plugin.version}</version>
155-
<configuration>
156-
<source>${maven-compiler-config.version}</source>
157-
<target>${maven-compiler-config.version}</target>
158-
</configuration>
159-
</plugin>
160-
</plugins>
87+
<plugins>
88+
<!-- Solves Manifest not found trouble -->
89+
<plugin>
90+
<groupId>org.springframework.boot</groupId>
91+
<artifactId>spring-boot-maven-plugin</artifactId>
92+
<executions>
93+
<execution>
94+
<goals>
95+
<goal>repackage</goal>
96+
</goals>
97+
</execution>
98+
</executions>
99+
</plugin>
100+
</plugins>
161101
</build>
102+
162103
</project>

0 commit comments

Comments
 (0)