-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
114 lines (98 loc) · 4.04 KB
/
pom.xml
File metadata and controls
114 lines (98 loc) · 4.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.froyo</groupId>
<artifactId>java-practice</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<name>java-practice</name>
<description>Java Practice</description>
<modules>
<module>java-custom-validation</module>
<module>java-design-patterns</module>
<module>java-ejercicios</module>
<module>java-filemanager</module>
<module>java-generics</module>
<module>java-java9</module>
<module>java-junit5</module>
<module>java-java17</module>
</modules>
<dependencyManagement>
<dependencies>
<!-- Esta dependencia es una dependencia transitiva, osea-->
<!-- que se encuentra dentro de:-->
<!-- junit-jupiter-params & mockito-junit-jupiter con diferentes-->
<!-- versiones, para forzar a que se use la especificada sin basarnos-->
<!-- en el orden tree, es recomendable usar maven-enforcer-plugin, pero-->
<!-- como todavía no lo se aplicar bien jaja, entoces esta es otra forma-->
<!-- locktable maven-->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit-plataform.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- JUnit5 -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit-plataform.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>${junit-plataform.version}</version>
<scope>test</scope>
</dependency>
<!-- Third-party assertion libraries -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito-junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>${hamcrest.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>25</source>
<target>25</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<argLine>-Dnet.bytebuddy.experimental=true</argLine>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>25</java.version>
<maven.compiler.source>25</maven.compiler.source>
<maven.compiler.target>25</maven.compiler.target>
<junit-plataform.version>5.11.4</junit-plataform.version>
<mockito-junit-jupiter.version>5.15.2</mockito-junit-jupiter.version>
<hamcrest.version>3.0</hamcrest.version>
<validation-api.version>2.0.1.Final</validation-api.version>
</properties>
</project>