|
2 | 2 | <modelVersion>4.0.0</modelVersion> |
3 | 3 | <groupId>org.cryptomator</groupId> |
4 | 4 | <artifactId>cryptofs</artifactId> |
5 | | - <version>2.0.0-SNAPSHOT</version> |
| 5 | + <version>2.1.0-SNAPSHOT</version> |
6 | 6 | <name>Cryptomator Crypto Filesystem</name> |
7 | 7 | <description>This library provides the Java filesystem provider used by Cryptomator.</description> |
8 | 8 | <url>https://github.com/cryptomator/cryptofs</url> |
|
15 | 15 |
|
16 | 16 | <properties> |
17 | 17 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 18 | + <maven.compiler.release>16</maven.compiler.release> |
18 | 19 |
|
19 | 20 | <!-- dependencies --> |
20 | | - <cryptolib.version>2.0.0-beta2</cryptolib.version> |
21 | | - <jwt.version>3.12.0</jwt.version> |
22 | | - <dagger.version>2.31</dagger.version> |
23 | | - <guava.version>30.1-jre</guava.version> |
24 | | - <slf4j.version>1.7.30</slf4j.version> |
| 21 | + <cryptolib.version>2.0.0</cryptolib.version> |
| 22 | + <jwt.version>3.18.1</jwt.version> |
| 23 | + <dagger.version>2.37</dagger.version> |
| 24 | + <guava.version>30.1.1-jre</guava.version> |
| 25 | + <slf4j.version>1.7.31</slf4j.version> |
25 | 26 |
|
26 | 27 | <!-- test dependencies --> |
27 | | - <junit.jupiter.version>5.7.0</junit.jupiter.version> |
28 | | - <mockito.version>3.7.7</mockito.version> |
| 28 | + <junit.jupiter.version>5.7.2</junit.jupiter.version> |
| 29 | + <mockito.version>3.11.2</mockito.version> |
29 | 30 | <hamcrest.version>2.2</hamcrest.version> |
| 31 | + |
| 32 | + <!-- build plugin dependencies --> |
| 33 | + <dependency-check.version>6.2.2</dependency-check.version> |
| 34 | + <jacoco.version>0.8.7</jacoco.version> |
| 35 | + <nexus-staging.version>1.6.8</nexus-staging.version> |
30 | 36 | </properties> |
31 | 37 |
|
32 | 38 | <licenses> |
|
116 | 122 |
|
117 | 123 | <build> |
118 | 124 | <plugins> |
119 | | - <plugin> |
120 | | - <groupId>org.apache.maven.plugins</groupId> |
121 | | - <artifactId>maven-enforcer-plugin</artifactId> |
122 | | - <version>3.0.0-M3</version> |
123 | | - <executions> |
124 | | - <execution> |
125 | | - <id>enforce-java</id> |
126 | | - <goals> |
127 | | - <goal>enforce</goal> |
128 | | - </goals> |
129 | | - <configuration> |
130 | | - <rules> |
131 | | - <requireJavaVersion> |
132 | | - <message>You need at least JDK 11.0.3 to build this project.</message> |
133 | | - <version>[11.0.3,)</version> |
134 | | - </requireJavaVersion> |
135 | | - </rules> |
136 | | - </configuration> |
137 | | - </execution> |
138 | | - </executions> |
139 | | - </plugin> |
140 | 125 | <plugin> |
141 | 126 | <groupId>org.apache.maven.plugins</groupId> |
142 | 127 | <artifactId>maven-compiler-plugin</artifactId> |
143 | 128 | <version>3.8.1</version> |
144 | 129 | <configuration> |
145 | | - <release>8</release> |
146 | 130 | <showWarnings>true</showWarnings> |
147 | 131 | <annotationProcessorPaths> |
148 | 132 | <path> |
|
156 | 140 | <plugin> |
157 | 141 | <groupId>org.apache.maven.plugins</groupId> |
158 | 142 | <artifactId>maven-surefire-plugin</artifactId> |
159 | | - <version>2.22.2</version> |
| 143 | + <version>3.0.0-M5</version> |
160 | 144 | </plugin> |
161 | 145 | <plugin> |
162 | 146 | <groupId>org.apache.maven.plugins</groupId> |
163 | 147 | <artifactId>maven-jar-plugin</artifactId> |
164 | 148 | <version>3.2.0</version> |
165 | | - <configuration> |
166 | | - <archive> |
167 | | - <manifestEntries> |
168 | | - <Automatic-Module-Name>org.cryptomator.cryptofs</Automatic-Module-Name> |
169 | | - </manifestEntries> |
170 | | - </archive> |
171 | | - </configuration> |
172 | 149 | </plugin> |
173 | 150 | <plugin> |
174 | 151 | <artifactId>maven-source-plugin</artifactId> |
|
184 | 161 | </plugin> |
185 | 162 | <plugin> |
186 | 163 | <artifactId>maven-javadoc-plugin</artifactId> |
187 | | - <version>3.2.0</version> |
| 164 | + <version>3.3.0</version> |
188 | 165 | <executions> |
189 | 166 | <execution> |
190 | 167 | <id>attach-javadocs</id> |
|
219 | 196 | <tag><name>serialData</name></tag> |
220 | 197 | <tag><name>see</name></tag> |
221 | 198 | </tags> |
222 | | - <!-- Used for javax.annotation.Generated in dagger-generated code. Can be removed when using JDK 11+ --> |
223 | | - <additionalDependencies> |
224 | | - <additionalDependency> |
225 | | - <groupId>javax.annotation</groupId> |
226 | | - <artifactId>jsr250-api</artifactId> |
227 | | - <version>1.0</version> |
228 | | - </additionalDependency> |
229 | | - </additionalDependencies> |
230 | 199 | </configuration> |
231 | 200 | </plugin> |
232 | 201 | </plugins> |
|
240 | 209 | <plugin> |
241 | 210 | <groupId>org.owasp</groupId> |
242 | 211 | <artifactId>dependency-check-maven</artifactId> |
243 | | - <version>6.1.0</version> |
| 212 | + <version>${dependency-check.version}</version> |
244 | 213 | <configuration> |
245 | 214 | <cveValidForHours>24</cveValidForHours> |
246 | 215 | <failBuildOnCVSS>0</failBuildOnCVSS> |
|
267 | 236 | <plugin> |
268 | 237 | <groupId>org.jacoco</groupId> |
269 | 238 | <artifactId>jacoco-maven-plugin</artifactId> |
270 | | - <version>0.8.6</version> |
| 239 | + <version>${jacoco.version}</version> |
271 | 240 | <executions> |
272 | 241 | <execution> |
273 | 242 | <id>prepare-agent</id> |
|
293 | 262 | <plugins> |
294 | 263 | <plugin> |
295 | 264 | <artifactId>maven-gpg-plugin</artifactId> |
296 | | - <version>1.6</version> |
| 265 | + <version>3.0.1</version> |
297 | 266 | <executions> |
298 | 267 | <execution> |
299 | 268 | <id>sign-artifacts</id> |
|
328 | 297 | <plugin> |
329 | 298 | <groupId>org.sonatype.plugins</groupId> |
330 | 299 | <artifactId>nexus-staging-maven-plugin</artifactId> |
331 | | - <version>1.6.8</version> |
| 300 | + <version>${nexus-staging.version}</version> |
332 | 301 | <extensions>true</extensions> |
333 | 302 | <configuration> |
334 | 303 | <serverId>ossrh</serverId> |
|
0 commit comments