2
2
<modelVersion >4.0.0</modelVersion >
3
3
<groupId >es.implementations.frameworks</groupId >
4
4
<artifactId >junit</artifactId >
5
- <version >0 .0.1-SNAPSHOT </version >
5
+ <version >1 .0.0-RELEASE </version >
6
6
<name >junit</name >
7
7
<description >Implementation of JUnit usage.</description >
8
8
9
- <build >
10
- < plugins >
11
- < plugin >
12
- < groupId >org.apache.maven.plugins</ groupId >
13
- < artifactId >maven-compiler-plugin</ artifactId >
14
- < version >3.6 .0</version >
15
- < configuration >
16
- < source >1.8</ source >
17
- < target >1.8</ target >
18
- </ configuration >
19
- </ plugin >
20
- </ plugins >
21
- </ build >
22
-
9
+ <properties >
10
+ <!-- General Versions -- >
11
+ < java .version>1.8</ java .version >
12
+
13
+ <!-- Maven Plugin Versions -- >
14
+ < maven .compiler.plugin. version>3.7 .0</maven .compiler.plugin. version>
15
+ < maven .shade.version>2.3</ maven .shade.version >
16
+
17
+ <!-- test versions -- >
18
+ < lombok .version>1.16.6</ lombok .version >
19
+ < junit .version>4.12</ junit .version >
20
+ < assertj .version>3.8.0</ assertj .version >
21
+ </ properties >
22
+
23
23
<dependencies >
24
- <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
24
+ <!-- other dependencies -->
25
25
<dependency >
26
26
<groupId >org.projectlombok</groupId >
27
27
<artifactId >lombok</artifactId >
28
- <version >1.16.6</version >
28
+ <version >${lombok.version} </version >
29
+ <scope >provided</scope >
29
30
</dependency >
30
-
31
- <!-- https://mvnrepository.com/artifact/junit/junit -->
31
+
32
+ <!-- test dependencies -->
32
33
<dependency >
33
34
<groupId >junit</groupId >
34
35
<artifactId >junit</artifactId >
35
- <version >4.12 </version >
36
+ <version >${junit.version} </version >
36
37
<scope >test</scope >
37
38
</dependency >
38
39
39
- <!-- https://mvnrepository.com/artifact/org.assertj/assertj-core -->
40
40
<dependency >
41
41
<groupId >org.assertj</groupId >
42
42
<artifactId >assertj-core</artifactId >
43
- <version >3.8.0 </version >
43
+ <version >${assertj.version} </version >
44
44
<scope >test</scope >
45
45
</dependency >
46
46
</dependencies >
47
+
48
+ <build >
49
+ <pluginManagement >
50
+ <plugins >
51
+
52
+ <!-- Sets the compiler version -->
53
+ <plugin >
54
+ <groupId >org.apache.maven.plugins</groupId >
55
+ <artifactId >maven-compiler-plugin</artifactId >
56
+ <version >${maven.compiler.plugin.version} </version >
57
+ <configuration >
58
+ <source >${java.version} </source >
59
+ <target >${java.version} </target >
60
+ </configuration >
61
+ </plugin >
62
+
63
+ </plugins >
64
+ </pluginManagement >
65
+ </build >
66
+
47
67
</project >
0 commit comments