|
3 | 3 | <modelVersion>4.0.0</modelVersion>
|
4 | 4 | <groupId>org.cryptomator</groupId>
|
5 | 5 | <artifactId>siv-mode</artifactId>
|
6 |
| - <version>1.3.1</version> |
| 6 | + <version>1.3.2</version> |
7 | 7 |
|
8 | 8 | <name>SIV Mode</name>
|
9 | 9 | <description>RFC 5297 SIV mode: deterministic authenticated encryption</description>
|
|
41 | 41 | <dependency>
|
42 | 42 | <groupId>org.bouncycastle</groupId>
|
43 | 43 | <artifactId>bcprov-jdk15on</artifactId>
|
44 |
| - <version>1.60</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>
|
48 | 48 |
|
49 | 49 | <!-- Tests -->
|
50 | 50 | <dependency>
|
51 |
| - <groupId>junit</groupId> |
52 |
| - <artifactId>junit</artifactId> |
53 |
| - <version>4.12</version> |
| 51 | + <groupId>org.junit.jupiter</groupId> |
| 52 | + <artifactId>junit-jupiter</artifactId> |
| 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.16.0</version> |
| 59 | + <version>3.2.4</version> |
| 60 | + <scope>test</scope> |
| 61 | + </dependency> |
| 62 | + <dependency> |
| 63 | + <groupId>org.hamcrest</groupId> |
| 64 | + <artifactId>hamcrest</artifactId> |
| 65 | + <version>2.2</version> |
60 | 66 | <scope>test</scope>
|
61 | 67 | </dependency>
|
62 | 68 | <dependency>
|
63 | 69 | <groupId>com.google.guava</groupId>
|
64 | 70 | <artifactId>guava</artifactId>
|
65 |
| - <version>24.0-jre</version> |
| 71 | + <version>28.2-jre</version> |
66 | 72 | <scope>test</scope>
|
67 | 73 | </dependency>
|
68 | 74 | <dependency>
|
69 | 75 | <groupId>org.openjdk.jmh</groupId>
|
70 | 76 | <artifactId>jmh-core</artifactId>
|
71 |
| - <version>1.20</version> |
| 77 | + <version>1.23</version> |
72 | 78 | <scope>test</scope>
|
73 | 79 | </dependency>
|
74 | 80 | <dependency>
|
75 | 81 | <groupId>org.openjdk.jmh</groupId>
|
76 | 82 | <artifactId>jmh-generator-annprocess</artifactId>
|
77 |
| - <version>1.20</version> |
| 83 | + <version>1.23</version> |
78 | 84 | <scope>test</scope>
|
79 | 85 | </dependency>
|
80 | 86 | </dependencies>
|
81 | 87 |
|
82 | 88 | <build>
|
83 | 89 | <plugins>
|
| 90 | + <plugin> |
| 91 | + <groupId>org.apache.maven.plugins</groupId> |
| 92 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 93 | + <version>3.0.0-M3</version> |
| 94 | + <executions> |
| 95 | + <execution> |
| 96 | + <id>enforce-java</id> |
| 97 | + <goals> |
| 98 | + <goal>enforce</goal> |
| 99 | + </goals> |
| 100 | + <configuration> |
| 101 | + <rules> |
| 102 | + <requireJavaVersion> |
| 103 | + <message>You need at least JDK 11.0.3 to build this project.</message> |
| 104 | + <version>[11.0.3,)</version> |
| 105 | + </requireJavaVersion> |
| 106 | + </rules> |
| 107 | + </configuration> |
| 108 | + </execution> |
| 109 | + </executions> |
| 110 | + </plugin> |
84 | 111 | <plugin>
|
85 | 112 | <artifactId>maven-compiler-plugin</artifactId>
|
86 |
| - <version>3.7.0</version> |
| 113 | + <version>3.8.1</version> |
87 | 114 | <configuration>
|
88 |
| - <source>1.7</source> |
89 |
| - <target>1.7</target> |
90 | 115 | <release>7</release>
|
| 116 | + <testRelease>8</testRelease> |
91 | 117 | <encoding>UTF-8</encoding>
|
92 | 118 | <showWarnings>true</showWarnings>
|
93 | 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> |
| 136 | + </plugin> |
| 137 | + <plugin> |
| 138 | + <groupId>org.apache.maven.plugins</groupId> |
| 139 | + <artifactId>maven-surefire-plugin</artifactId> |
| 140 | + <version>3.0.0-M4</version> |
94 | 141 | </plugin>
|
95 | 142 | <plugin>
|
96 | 143 | <artifactId>maven-jar-plugin</artifactId>
|
97 |
| - <version>3.0.2</version> |
| 144 | + <version>3.2.0</version> |
98 | 145 | <configuration>
|
99 | 146 | <archive>
|
100 | 147 | <manifestEntries>
|
| 148 | + <Multi-Release>true</Multi-Release> |
101 | 149 | <Sealed>true</Sealed>
|
102 | 150 | </manifestEntries>
|
103 | 151 | </archive>
|
104 | 152 | </configuration>
|
105 | 153 | </plugin>
|
106 | 154 | <plugin>
|
107 | 155 | <artifactId>maven-shade-plugin</artifactId>
|
108 |
| - <version>3.1.0</version> |
| 156 | + <version>3.2.2</version> |
109 | 157 | <executions>
|
110 | 158 | <execution>
|
111 | 159 | <phase>package</phase>
|
|
132 | 180 | <filter>
|
133 | 181 | <artifact>*:*</artifact>
|
134 | 182 | <excludes>
|
| 183 | + <exclude>META-INF/MANIFEST.MF</exclude> |
135 | 184 | <exclude>META-INF/*.SF</exclude>
|
136 | 185 | <exclude>META-INF/*.DSA</exclude>
|
137 | 186 | <exclude>META-INF/*.RSA</exclude>
|
| 187 | + <exclude>META-INF/services/**</exclude> |
138 | 188 | </excludes>
|
139 | 189 | </filter>
|
140 | 190 | </filters>
|
141 | 191 | </configuration>
|
142 | 192 | </execution>
|
143 | 193 | </executions>
|
144 | 194 | </plugin>
|
145 |
| - <plugin> |
146 |
| - <groupId>org.moditect</groupId> |
147 |
| - <artifactId>moditect-maven-plugin</artifactId> |
148 |
| - <version>1.0.0.Beta1</version> |
149 |
| - <executions> |
150 |
| - <execution> |
151 |
| - <id>add-module-infos</id> |
152 |
| - <phase>package</phase> |
153 |
| - <goals> |
154 |
| - <goal>add-module-info</goal> |
155 |
| - </goals> |
156 |
| - <configuration> |
157 |
| - <module> |
158 |
| - <moduleInfoSource> |
159 |
| - module org.cryptomator.siv { |
160 |
| - exports org.cryptomator.siv; |
161 |
| - } |
162 |
| - </moduleInfoSource> |
163 |
| - </module> |
164 |
| - </configuration> |
165 |
| - </execution> |
166 |
| - </executions> |
167 |
| - </plugin> |
168 | 195 | </plugins>
|
169 | 196 | </build>
|
170 | 197 |
|
171 | 198 | <profiles>
|
| 199 | + <profile> |
| 200 | + <id>intellij</id> |
| 201 | + <!-- workaround for intellij bug: https://youtrack.jetbrains.com/issue/IDEA-85478 --> |
| 202 | + <activation> |
| 203 | + <activeByDefault>false</activeByDefault> |
| 204 | + <property> |
| 205 | + <name>idea.maven.embedder.version</name> |
| 206 | + </property> |
| 207 | + </activation> |
| 208 | + <build> |
| 209 | + <plugins> |
| 210 | + <plugin> |
| 211 | + <groupId>org.apache.maven.plugins</groupId> |
| 212 | + <artifactId>maven-compiler-plugin</artifactId> |
| 213 | + <version>3.8.1</version> |
| 214 | + <configuration> |
| 215 | + <release>8</release> |
| 216 | + <source>1.8</source> |
| 217 | + <target>1.8</target> |
| 218 | + </configuration> |
| 219 | + </plugin> |
| 220 | + </plugins> |
| 221 | + </build> |
| 222 | + </profile> |
| 223 | + |
172 | 224 | <profile>
|
173 | 225 | <id>dependency-check</id>
|
174 | 226 | <build>
|
175 | 227 | <plugins>
|
176 | 228 | <plugin>
|
177 | 229 | <groupId>org.owasp</groupId>
|
178 | 230 | <artifactId>dependency-check-maven</artifactId>
|
179 |
| - <version>3.1.1</version> |
| 231 | + <version>5.3.0</version> |
180 | 232 | <configuration>
|
181 | 233 | <cveValidForHours>24</cveValidForHours>
|
182 | 234 | <failBuildOnCVSS>0</failBuildOnCVSS>
|
|
200 | 252 | <plugin>
|
201 | 253 | <groupId>org.jacoco</groupId>
|
202 | 254 | <artifactId>jacoco-maven-plugin</artifactId>
|
203 |
| - <version>0.8.0</version> |
| 255 | + <version>0.8.5</version> |
204 | 256 | <executions>
|
205 | 257 | <execution>
|
206 | 258 | <id>prepare-agent</id>
|
|
226 | 278 | <plugins>
|
227 | 279 | <plugin>
|
228 | 280 | <artifactId>maven-source-plugin</artifactId>
|
229 |
| - <version>3.0.1</version> |
| 281 | + <version>3.2.1</version> |
230 | 282 | <executions>
|
231 | 283 | <execution>
|
232 | 284 | <id>attach-sources</id>
|
|
238 | 290 | </plugin>
|
239 | 291 | <plugin>
|
240 | 292 | <artifactId>maven-javadoc-plugin</artifactId>
|
241 |
| - <version>3.0.0</version> |
| 293 | + <version>3.1.1</version> |
242 | 294 | <executions>
|
243 | 295 | <execution>
|
244 | 296 | <id>attach-javadocs</id>
|
|
0 commit comments