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

Commit 676fa9b

Browse files
author
Mario Codes Sánchez
committed
junit: cleaned pom
1 parent f885ce9 commit 676fa9b

File tree

1 file changed

+42
-22
lines changed

1 file changed

+42
-22
lines changed

junit/pom.xml

Lines changed: 42 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,66 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>es.implementations.frameworks</groupId>
44
<artifactId>junit</artifactId>
5-
<version>0.0.1-SNAPSHOT</version>
5+
<version>1.0.0-RELEASE</version>
66
<name>junit</name>
77
<description>Implementation of JUnit usage.</description>
88

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+
2323
<dependencies>
24-
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
24+
<!-- other dependencies -->
2525
<dependency>
2626
<groupId>org.projectlombok</groupId>
2727
<artifactId>lombok</artifactId>
28-
<version>1.16.6</version>
28+
<version>${lombok.version}</version>
29+
<scope>provided</scope>
2930
</dependency>
30-
31-
<!-- https://mvnrepository.com/artifact/junit/junit -->
31+
32+
<!-- test dependencies -->
3233
<dependency>
3334
<groupId>junit</groupId>
3435
<artifactId>junit</artifactId>
35-
<version>4.12</version>
36+
<version>${junit.version}</version>
3637
<scope>test</scope>
3738
</dependency>
3839

39-
<!-- https://mvnrepository.com/artifact/org.assertj/assertj-core -->
4040
<dependency>
4141
<groupId>org.assertj</groupId>
4242
<artifactId>assertj-core</artifactId>
43-
<version>3.8.0</version>
43+
<version>${assertj.version}</version>
4444
<scope>test</scope>
4545
</dependency>
4646
</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+
4767
</project>

0 commit comments

Comments
 (0)