|
22 | 22 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
23 | 23 | <inceptionYear>2023</inceptionYear> |
24 | 24 |
|
25 | | - <junit.version>5.10.1</junit.version> |
| 25 | + <junit.version>5.11.3</junit.version> |
| 26 | + <mockito.version>5.14.2</mockito.version> |
26 | 27 | </properties> |
27 | 28 |
|
28 | 29 | <dependencies> |
29 | 30 | <dependency> |
30 | 31 | <groupId>info.picocli</groupId> |
31 | 32 | <artifactId>picocli</artifactId> |
32 | | - <version>4.7.5</version> |
| 33 | + <version>4.7.6</version> |
33 | 34 | </dependency> |
34 | 35 |
|
35 | 36 | <dependency> |
36 | 37 | <groupId>com.fasterxml.jackson.core</groupId> |
37 | 38 | <artifactId>jackson-databind</artifactId> |
38 | | - <version>2.16.1</version> |
| 39 | + <version>2.18.1</version> |
39 | 40 | </dependency> |
40 | 41 |
|
41 | 42 | <dependency> |
|
47 | 48 | <dependency> |
48 | 49 | <groupId>org.apache.commons</groupId> |
49 | 50 | <artifactId>commons-lang3</artifactId> |
50 | | - <version>3.14.0</version> |
| 51 | + <version>3.17.0</version> |
51 | 52 | </dependency> |
52 | 53 |
|
53 | 54 | <dependency> |
54 | 55 | <groupId>com.squareup.okhttp3</groupId> |
55 | 56 | <artifactId>okhttp</artifactId> |
56 | 57 | <version>4.12.0</version> |
| 58 | + <exclusions> |
| 59 | + <exclusion> |
| 60 | + <artifactId>kotlin-stdlib-jdk8</artifactId> |
| 61 | + <groupId>org.jetbrains.kotlin</groupId> |
| 62 | + </exclusion> |
| 63 | + </exclusions> |
57 | 64 | </dependency> |
58 | 65 |
|
59 | 66 | <dependency> |
60 | 67 | <groupId>org.freemarker</groupId> |
61 | 68 | <artifactId>freemarker</artifactId> |
62 | | - <version>2.3.32</version> |
| 69 | + <version>2.3.33</version> |
63 | 70 | </dependency> |
64 | 71 |
|
65 | 72 | <dependency> |
|
72 | 79 | <dependency> |
73 | 80 | <groupId>org.assertj</groupId> |
74 | 81 | <artifactId>assertj-core</artifactId> |
75 | | - <version>3.25.1</version> |
| 82 | + <version>3.26.3</version> |
76 | 83 | <scope>test</scope> |
77 | 84 | </dependency> |
78 | 85 |
|
79 | 86 | <dependency> |
80 | 87 | <groupId>org.mockito</groupId> |
81 | 88 | <artifactId>mockito-junit-jupiter</artifactId> |
82 | | - <version>5.9.0</version> |
| 89 | + <version>${mockito.version}</version> |
83 | 90 | <scope>test</scope> |
| 91 | + <exclusions> |
| 92 | + <exclusion> |
| 93 | + <artifactId>junit-jupiter-api</artifactId> |
| 94 | + <groupId>org.junit.jupiter</groupId> |
| 95 | + </exclusion> |
| 96 | + <exclusion> |
| 97 | + <artifactId>mockito-core</artifactId> |
| 98 | + <groupId>org.mockito</groupId> |
| 99 | + </exclusion> |
| 100 | + </exclusions> |
84 | 101 | </dependency> |
85 | 102 |
|
86 | 103 | </dependencies> |
87 | 104 |
|
88 | | - <dependencyManagement> |
89 | | - <dependencies> |
90 | | - <dependency> |
91 | | - <!-- to remove dependency conflict in com.squareup.okhttp3 (not really a problem, but why not) --> |
92 | | - <artifactId>kotlin-stdlib-jdk8</artifactId> |
93 | | - <groupId>org.jetbrains.kotlin</groupId> |
94 | | - <version>1.9.10</version> |
95 | | - </dependency> |
96 | | - </dependencies> |
97 | | - </dependencyManagement> |
98 | | - |
99 | 105 | <build> |
100 | 106 | <resources> |
101 | 107 | <resource> |
|
115 | 121 | <plugin> <!-- In order to run tests when building --> |
116 | 122 | <groupId>org.apache.maven.plugins</groupId> |
117 | 123 | <artifactId>maven-surefire-plugin</artifactId> |
118 | | - <version>3.2.5</version> |
| 124 | + <version>3.5.2</version> |
119 | 125 | <dependencies> |
120 | 126 | <dependency> |
121 | 127 | <groupId>org.junit.jupiter</groupId> |
|
124 | 130 | </dependency> |
125 | 131 | </dependencies> |
126 | 132 | <configuration> |
127 | | - <!-- Removes warning: "Dynamic loading of agents will be disallowed by default in a future release" --> |
128 | | - <argLine>-XX:+EnableDynamicAgentLoading</argLine> |
| 133 | + <!-- Explicitly setting up instrumentation for inline mocking (Java 21+) --> |
| 134 | + <argLine>-javaagent:${settings.localRepository}/org/mockito/mockito-core/${mockito.version}/mockito-core-${mockito.version}.jar</argLine> |
129 | 135 | </configuration> |
130 | 136 | </plugin> |
131 | 137 |
|
132 | 138 | <plugin> <!-- Generates code coverage report --> |
133 | 139 | <groupId>org.jacoco</groupId> |
134 | 140 | <artifactId>jacoco-maven-plugin</artifactId> |
135 | | - <version>0.8.11</version> |
| 141 | + <version>0.8.12</version> |
136 | 142 | <executions> |
137 | 143 | <execution> |
138 | 144 | <goals> |
|
152 | 158 | <plugin> <!-- To create the application jar and all dependencies --> |
153 | 159 | <groupId>org.apache.maven.plugins</groupId> |
154 | 160 | <artifactId>maven-assembly-plugin</artifactId> |
155 | | - <version>3.6.0</version> |
| 161 | + <version>3.7.1</version> |
156 | 162 | <executions> |
157 | 163 | <execution> |
158 | 164 | <phase>package</phase> |
|
198 | 204 | <plugin> <!-- To create an .exe file for Windows platform --> |
199 | 205 | <groupId>com.akathist.maven.plugins.launch4j</groupId> |
200 | 206 | <artifactId>launch4j-maven-plugin</artifactId> |
201 | | - <version>2.5.0</version> |
| 207 | + <version>2.5.2</version> |
202 | 208 | <executions> |
203 | 209 | <execution> |
204 | 210 | <id>l4j-clui</id> |
|
0 commit comments