|
2 | 2 | <modelVersion>4.0.0</modelVersion> |
3 | 3 | <groupId>org.cryptomator</groupId> |
4 | 4 | <artifactId>cryptolib</artifactId> |
5 | | - <version>2.1.2</version> |
| 5 | + <version>2.2.0</version> |
6 | 6 | <name>Cryptomator Crypto Library</name> |
7 | 7 | <description>This library contains all cryptographic functions that are used by Cryptomator.</description> |
8 | 8 | <url>https://github.com/cryptomator/cryptolib</url> |
|
18 | 18 | <maven.compiler.release>8</maven.compiler.release> |
19 | 19 |
|
20 | 20 | <!-- dependencies --> |
21 | | - <gson.version>2.8.9</gson.version> |
22 | | - <guava.version>31.0.1-jre</guava.version> |
23 | | - <siv-mode.version>1.4.4</siv-mode.version> |
24 | | - <bouncycastle.version>1.70</bouncycastle.version> |
25 | | - <slf4j.version>1.7.35</slf4j.version> |
| 21 | + <gson.version>2.10.1</gson.version> |
| 22 | + <guava.version>33.1.0-jre</guava.version> |
| 23 | + <siv-mode.version>1.5.2</siv-mode.version> |
| 24 | + <bouncycastle.version>1.78.1</bouncycastle.version> |
| 25 | + <slf4j.version>2.0.13</slf4j.version> |
26 | 26 |
|
27 | 27 | <!-- test dependencies --> |
28 | | - <junit.jupiter.version>5.8.2</junit.jupiter.version> |
29 | | - <mockito.version>4.3.1</mockito.version> |
| 28 | + <junit.jupiter.version>5.10.2</junit.jupiter.version> |
| 29 | + <mockito.version>5.11.0</mockito.version> |
30 | 30 | <hamcrest.version>2.2</hamcrest.version> |
31 | | - <jmh.version>1.34</jmh.version> |
| 31 | + <jmh.version>1.37</jmh.version> |
32 | 32 |
|
33 | 33 | <!-- build plugin dependencies --> |
34 | | - <dependency-check.version>6.5.3</dependency-check.version> |
35 | | - <jacoco.version>0.8.7</jacoco.version> |
36 | | - <nexus-staging.version>1.6.8</nexus-staging.version> |
| 34 | + <dependency-check.version>9.1.0</dependency-check.version> |
| 35 | + <jacoco.version>0.8.12</jacoco.version> |
| 36 | + <nexus-staging.version>1.6.13</nexus-staging.version> |
37 | 37 | </properties> |
38 | 38 |
|
39 | 39 | <licenses> |
|
63 | 63 |
|
64 | 64 | <dependency> |
65 | 65 | <groupId>org.bouncycastle</groupId> |
66 | | - <artifactId>bcpkix-jdk15on</artifactId> |
| 66 | + <artifactId>bcpkix-jdk18on</artifactId> |
67 | 67 | <version>${bouncycastle.version}</version> |
68 | 68 | <!-- see maven-shade-plugin; we don't want this as a transitive dependency in other projects --> |
69 | 69 | <optional>true</optional> |
|
131 | 131 | <plugin> |
132 | 132 | <groupId>org.apache.maven.plugins</groupId> |
133 | 133 | <artifactId>maven-enforcer-plugin</artifactId> |
134 | | - <version>3.0.0</version> |
| 134 | + <version>3.4.1</version> |
135 | 135 | <executions> |
136 | 136 | <execution> |
137 | 137 | <id>enforce-java</id> |
|
141 | 141 | <configuration> |
142 | 142 | <rules> |
143 | 143 | <requireJavaVersion> |
144 | | - <message>You need at least JDK 11.0.3 to build this project.</message> |
145 | | - <version>[11.0.3,)</version> |
| 144 | + <message>You need at least JDK 22 to build this project.</message> |
| 145 | + <version>[22,)</version> |
146 | 146 | </requireJavaVersion> |
147 | 147 | </rules> |
148 | 148 | </configuration> |
|
151 | 151 | </plugin> |
152 | 152 | <plugin> |
153 | 153 | <artifactId>maven-compiler-plugin</artifactId> |
154 | | - <version>3.9.0</version> |
| 154 | + <version>3.13.0</version> |
155 | 155 | <configuration> |
156 | 156 | <encoding>UTF-8</encoding> |
157 | 157 | <showWarnings>true</showWarnings> |
|
171 | 171 | <multiReleaseOutput>true</multiReleaseOutput> |
172 | 172 | </configuration> |
173 | 173 | </execution> |
| 174 | + <execution> |
| 175 | + <id>java22</id> |
| 176 | + <phase>compile</phase> |
| 177 | + <goals> |
| 178 | + <goal>compile</goal> |
| 179 | + </goals> |
| 180 | + <configuration> |
| 181 | + <release>22</release> |
| 182 | + <compileSourceRoots> |
| 183 | + <compileSourceRoot>${project.basedir}/src/main/java22</compileSourceRoot> |
| 184 | + </compileSourceRoots> |
| 185 | + <multiReleaseOutput>true</multiReleaseOutput> |
| 186 | + </configuration> |
| 187 | + </execution> |
174 | 188 | </executions> |
175 | 189 | </plugin> |
176 | 190 | <plugin> |
177 | 191 | <artifactId>maven-shade-plugin</artifactId> |
178 | | - <version>3.4.0</version> |
| 192 | + <version>3.5.3</version> |
179 | 193 | <executions> |
180 | 194 | <execution> |
181 | 195 | <phase>package</phase> |
|
213 | 227 | <plugin> |
214 | 228 | <groupId>org.codehaus.mojo</groupId> |
215 | 229 | <artifactId>exec-maven-plugin</artifactId> |
216 | | - <version>3.1.0</version> |
| 230 | + <version>3.2.0</version> |
217 | 231 | <executions> |
218 | 232 | <execution> |
219 | 233 | <phase>package</phase> |
|
228 | 242 | <argument>--update</argument> |
229 | 243 | <argument>--file=${project.build.directory}/${project.build.finalName}.jar</argument> |
230 | 244 | <argument>META-INF/versions/9/module-info.class</argument> |
| 245 | + <argument>META-INF/versions/22/module-info.class</argument> |
231 | 246 | </arguments> |
232 | 247 | </configuration> |
233 | 248 | </execution> |
|
236 | 251 | <plugin> |
237 | 252 | <groupId>org.apache.maven.plugins</groupId> |
238 | 253 | <artifactId>maven-surefire-plugin</artifactId> |
239 | | - <version>3.0.0-M5</version> |
| 254 | + <version>3.2.5</version> |
240 | 255 | </plugin> |
241 | 256 | <plugin> |
242 | 257 | <groupId>org.apache.maven.plugins</groupId> |
243 | 258 | <artifactId>maven-jar-plugin</artifactId> |
244 | | - <version>3.2.2</version> |
| 259 | + <version>3.4.1</version> |
245 | 260 | <configuration> |
246 | 261 | <archive> |
247 | 262 | <manifestEntries> |
|
253 | 268 | </plugin> |
254 | 269 | <plugin> |
255 | 270 | <artifactId>maven-source-plugin</artifactId> |
256 | | - <version>3.2.1</version> |
| 271 | + <version>3.3.1</version> |
257 | 272 | <executions> |
258 | 273 | <execution> |
259 | 274 | <id>attach-sources</id> |
|
265 | 280 | </plugin> |
266 | 281 | <plugin> |
267 | 282 | <artifactId>maven-javadoc-plugin</artifactId> |
268 | | - <version>3.3.1</version> |
| 283 | + <version>3.6.3</version> |
269 | 284 | <executions> |
270 | 285 | <execution> |
271 | 286 | <id>attach-javadocs</id> |
|
317 | 332 | <artifactId>dependency-check-maven</artifactId> |
318 | 333 | <version>${dependency-check.version}</version> |
319 | 334 | <configuration> |
320 | | - <cveValidForHours>24</cveValidForHours> |
| 335 | + <nvdValidForHours>24</nvdValidForHours> |
321 | 336 | <failBuildOnCVSS>0</failBuildOnCVSS> |
322 | 337 | <skipTestScope>true</skipTestScope> |
323 | 338 | <detail>true</detail> |
324 | 339 | <suppressionFile>suppression.xml</suppressionFile> |
| 340 | + <nvdApiKey>${env.NVD_API_KEY}</nvdApiKey> |
325 | 341 | </configuration> |
326 | 342 | <executions> |
327 | 343 | <execution> |
328 | 344 | <goals> |
329 | 345 | <goal>check</goal> |
330 | 346 | </goals> |
| 347 | + <phase>validate</phase> |
331 | 348 | </execution> |
332 | 349 | </executions> |
333 | 350 | </plugin> |
|
368 | 385 | <plugins> |
369 | 386 | <plugin> |
370 | 387 | <artifactId>maven-gpg-plugin</artifactId> |
371 | | - <version>3.0.1</version> |
| 388 | + <version>3.2.4</version> |
372 | 389 | <executions> |
373 | 390 | <execution> |
374 | 391 | <id>sign-artifacts</id> |
|
0 commit comments