|
41 | 41 | <dependency>
|
42 | 42 | <groupId>org.bouncycastle</groupId>
|
43 | 43 | <artifactId>bcprov-jdk15on</artifactId>
|
44 |
| - <version>1.61</version> |
| 44 | + <version>1.64</version> |
45 | 45 | <!-- see maven-shade-plugin; we don't want this as a transitive dependency in other projects -->
|
46 | 46 | <optional>true</optional>
|
47 | 47 | </dependency>
|
|
50 | 50 | <dependency>
|
51 | 51 | <groupId>org.junit.jupiter</groupId>
|
52 | 52 | <artifactId>junit-jupiter</artifactId>
|
53 |
| - <version>5.4.2</version> |
| 53 | + <version>5.6.0</version> |
54 | 54 | <scope>test</scope>
|
55 | 55 | </dependency>
|
56 | 56 | <dependency>
|
57 | 57 | <groupId>org.mockito</groupId>
|
58 | 58 | <artifactId>mockito-core</artifactId>
|
59 |
| - <version>2.27.0</version> |
| 59 | + <version>3.2.4</version> |
60 | 60 | <scope>test</scope>
|
61 | 61 | </dependency>
|
62 | 62 | <dependency>
|
63 | 63 | <groupId>org.hamcrest</groupId>
|
64 | 64 | <artifactId>hamcrest</artifactId>
|
65 |
| - <version>2.1</version> |
| 65 | + <version>2.2</version> |
66 | 66 | <scope>test</scope>
|
67 | 67 | </dependency>
|
68 | 68 | <dependency>
|
69 | 69 | <groupId>com.google.guava</groupId>
|
70 | 70 | <artifactId>guava</artifactId>
|
71 |
| - <version>27.1-jre</version> |
| 71 | + <version>28.2-jre</version> |
72 | 72 | <scope>test</scope>
|
73 | 73 | </dependency>
|
74 | 74 | <dependency>
|
75 | 75 | <groupId>org.openjdk.jmh</groupId>
|
76 | 76 | <artifactId>jmh-core</artifactId>
|
77 |
| - <version>1.21</version> |
| 77 | + <version>1.23</version> |
78 | 78 | <scope>test</scope>
|
79 | 79 | </dependency>
|
80 | 80 | <dependency>
|
81 | 81 | <groupId>org.openjdk.jmh</groupId>
|
82 | 82 | <artifactId>jmh-generator-annprocess</artifactId>
|
83 |
| - <version>1.21</version> |
| 83 | + <version>1.23</version> |
84 | 84 | <scope>test</scope>
|
85 | 85 | </dependency>
|
86 | 86 | </dependencies>
|
|
90 | 90 | <plugin>
|
91 | 91 | <groupId>org.apache.maven.plugins</groupId>
|
92 | 92 | <artifactId>maven-enforcer-plugin</artifactId>
|
93 |
| - <version>3.0.0-M2</version> |
| 93 | + <version>3.0.0-M3</version> |
94 | 94 | <executions>
|
95 | 95 | <execution>
|
96 | 96 | <id>enforce-java</id>
|
|
100 | 100 | <configuration>
|
101 | 101 | <rules>
|
102 | 102 | <requireJavaVersion>
|
103 |
| - <message>You need at least JDK 9 to build this project.</message> |
104 |
| - <version>[9,)</version> |
| 103 | + <message>You need at least JDK 11.0.3 to build this project.</message> |
| 104 | + <version>[11.0.3,)</version> |
105 | 105 | </requireJavaVersion>
|
106 | 106 | </rules>
|
107 | 107 | </configuration>
|
|
113 | 113 | <version>3.8.1</version>
|
114 | 114 | <configuration>
|
115 | 115 | <release>7</release>
|
116 |
| - <source>1.7</source> <!-- redundant to <release> but needed until https://bugs.openjdk.java.net/browse/JDK-8219474 is fixed (see javadoc config) --> |
117 |
| - <target>1.7</target> |
118 | 116 | <testRelease>8</testRelease>
|
119 | 117 | <encoding>UTF-8</encoding>
|
120 | 118 | <showWarnings>true</showWarnings>
|
121 | 119 | </configuration>
|
| 120 | + <executions> |
| 121 | + <execution> |
| 122 | + <id>java9</id> |
| 123 | + <phase>compile</phase> |
| 124 | + <goals> |
| 125 | + <goal>compile</goal> |
| 126 | + </goals> |
| 127 | + <configuration> |
| 128 | + <release>9</release> |
| 129 | + <compileSourceRoots> |
| 130 | + <compileSourceRoot>${project.basedir}/src/main/java9</compileSourceRoot> |
| 131 | + </compileSourceRoots> |
| 132 | + <multiReleaseOutput>true</multiReleaseOutput> |
| 133 | + </configuration> |
| 134 | + </execution> |
| 135 | + </executions> |
122 | 136 | </plugin>
|
123 | 137 | <plugin>
|
124 | 138 | <groupId>org.apache.maven.plugins</groupId>
|
125 | 139 | <artifactId>maven-surefire-plugin</artifactId>
|
126 |
| - <version>2.22.2</version> |
| 140 | + <version>3.0.0-M4</version> |
127 | 141 | </plugin>
|
128 | 142 | <plugin>
|
129 | 143 | <artifactId>maven-jar-plugin</artifactId>
|
130 |
| - <version>3.1.1</version> |
| 144 | + <version>3.2.0</version> |
131 | 145 | <configuration>
|
132 | 146 | <archive>
|
133 | 147 | <manifestEntries>
|
| 148 | + <Multi-Release>true</Multi-Release> |
134 | 149 | <Sealed>true</Sealed>
|
135 | 150 | </manifestEntries>
|
136 | 151 | </archive>
|
137 | 152 | </configuration>
|
138 | 153 | </plugin>
|
139 | 154 | <plugin>
|
140 | 155 | <artifactId>maven-shade-plugin</artifactId>
|
141 |
| - <version>3.2.1</version> |
| 156 | + <version>3.2.2</version> |
142 | 157 | <executions>
|
143 | 158 | <execution>
|
144 | 159 | <phase>package</phase>
|
|
165 | 180 | <filter>
|
166 | 181 | <artifact>*:*</artifact>
|
167 | 182 | <excludes>
|
| 183 | + <exclude>META-INF/MANIFEST.MF</exclude> |
168 | 184 | <exclude>META-INF/*.SF</exclude>
|
169 | 185 | <exclude>META-INF/*.DSA</exclude>
|
170 | 186 | <exclude>META-INF/*.RSA</exclude>
|
| 187 | + <exclude>META-INF/services/**</exclude> |
171 | 188 | </excludes>
|
172 | 189 | </filter>
|
173 | 190 | </filters>
|
174 | 191 | </configuration>
|
175 | 192 | </execution>
|
176 | 193 | </executions>
|
177 | 194 | </plugin>
|
178 |
| - <plugin> |
179 |
| - <groupId>org.moditect</groupId> |
180 |
| - <artifactId>moditect-maven-plugin</artifactId> |
181 |
| - <version>1.0.0.Beta2</version> |
182 |
| - <executions> |
183 |
| - <execution> |
184 |
| - <id>add-module-infos</id> |
185 |
| - <phase>package</phase> |
186 |
| - <goals> |
187 |
| - <goal>add-module-info</goal> |
188 |
| - </goals> |
189 |
| - <configuration> |
190 |
| - <module> |
191 |
| - <moduleInfoSource> |
192 |
| - module org.cryptomator.siv { |
193 |
| - exports org.cryptomator.siv; |
194 |
| - } |
195 |
| - </moduleInfoSource> |
196 |
| - </module> |
197 |
| - </configuration> |
198 |
| - </execution> |
199 |
| - </executions> |
200 |
| - </plugin> |
201 | 195 | </plugins>
|
202 | 196 | </build>
|
203 | 197 |
|
|
234 | 228 | <plugin>
|
235 | 229 | <groupId>org.owasp</groupId>
|
236 | 230 | <artifactId>dependency-check-maven</artifactId>
|
237 |
| - <version>4.0.2</version> |
| 231 | + <version>5.3.0</version> |
238 | 232 | <configuration>
|
239 | 233 | <cveValidForHours>24</cveValidForHours>
|
240 | 234 | <failBuildOnCVSS>0</failBuildOnCVSS>
|
|
258 | 252 | <plugin>
|
259 | 253 | <groupId>org.jacoco</groupId>
|
260 | 254 | <artifactId>jacoco-maven-plugin</artifactId>
|
261 |
| - <version>0.8.3</version> |
| 255 | + <version>0.8.5</version> |
262 | 256 | <executions>
|
263 | 257 | <execution>
|
264 | 258 | <id>prepare-agent</id>
|
|
284 | 278 | <plugins>
|
285 | 279 | <plugin>
|
286 | 280 | <artifactId>maven-source-plugin</artifactId>
|
287 |
| - <version>3.0.1</version> |
| 281 | + <version>3.2.1</version> |
288 | 282 | <executions>
|
289 | 283 | <execution>
|
290 | 284 | <id>attach-sources</id>
|
|
296 | 290 | </plugin>
|
297 | 291 | <plugin>
|
298 | 292 | <artifactId>maven-javadoc-plugin</artifactId>
|
299 |
| - <version>3.1.0</version> |
| 293 | + <version>3.1.1</version> |
300 | 294 | <executions>
|
301 | 295 | <execution>
|
302 | 296 | <id>attach-javadocs</id>
|
|
305 | 299 | </goals>
|
306 | 300 | </execution>
|
307 | 301 | </executions>
|
308 |
| - <configuration> |
309 |
| - <source>1.7</source> <!-- workaround for https://bugs.openjdk.java.net/browse/JDK-8219474 --> |
310 |
| - </configuration> |
311 | 302 | </plugin>
|
312 | 303 | </plugins>
|
313 | 304 | </build>
|
|
0 commit comments