|
137 | 137 |
|
138 | 138 | <dependencies> |
139 | 139 | <dependency> |
140 | | - <groupId>commons-configuration</groupId> |
141 | | - <artifactId>commons-configuration</artifactId> |
142 | | - <version>1.10</version> |
| 140 | + <groupId>javax.servlet</groupId> |
| 141 | + <artifactId>javax.servlet-api</artifactId> |
| 142 | + <version>3.0.1</version> |
| 143 | + <scope>provided</scope> |
| 144 | + </dependency> |
| 145 | + <dependency> |
| 146 | + <groupId>javax.servlet.jsp</groupId> |
| 147 | + <artifactId>javax.servlet.jsp-api</artifactId> |
| 148 | + <version>2.3.3</version> |
| 149 | + <scope>provided</scope> |
| 150 | + </dependency> |
| 151 | + <dependency> |
| 152 | + <groupId>com.io7m.xom</groupId> |
| 153 | + <artifactId>xom</artifactId> |
| 154 | + <version>1.2.10</version> |
| 155 | + <exclusions> |
| 156 | + <!-- excluded because we directly import newer versions. --> |
| 157 | + <exclusion> |
| 158 | + <groupId>xalan</groupId> |
| 159 | + <artifactId>xalan</artifactId> |
| 160 | + </exclusion> |
| 161 | + <exclusion> |
| 162 | + <groupId>xerces</groupId> |
| 163 | + <artifactId>xercesImpl</artifactId> |
| 164 | + </exclusion> |
| 165 | + <exclusion> |
| 166 | + <groupId>xml-apis</groupId> |
| 167 | + <artifactId>xml-apis</artifactId> |
| 168 | + </exclusion> |
| 169 | + </exclusions> |
143 | 170 | </dependency> |
144 | 171 | <dependency> |
145 | 172 | <groupId>commons-beanutils</groupId> |
|
153 | 180 | --> |
154 | 181 | </dependency> |
155 | 182 | <dependency> |
156 | | - <groupId>javax.servlet</groupId> |
157 | | - <artifactId>javax.servlet-api</artifactId> |
158 | | - <version>3.0.1</version> |
159 | | - <scope>provided</scope> |
160 | | - </dependency> |
161 | | - <dependency> |
162 | | - <groupId>javax.servlet.jsp</groupId> |
163 | | - <artifactId>javax.servlet.jsp-api</artifactId> |
164 | | - <version>2.3.3</version> |
165 | | - <scope>provided</scope> |
| 183 | + <groupId>commons-configuration</groupId> |
| 184 | + <artifactId>commons-configuration</artifactId> |
| 185 | + <version>1.10</version> |
| 186 | + <exclusions> |
| 187 | + <!-- excluded because multiple dependencies import newer version. --> |
| 188 | + <exclusion> |
| 189 | + <groupId>commons-logging</groupId> |
| 190 | + <artifactId>commons-logging</artifactId> |
| 191 | + </exclusion> |
| 192 | + </exclusions> |
166 | 193 | </dependency> |
167 | 194 | <dependency> |
168 | 195 | <groupId>commons-fileupload</groupId> |
169 | 196 | <artifactId>commons-fileupload</artifactId> |
| 197 | + <!-- Upgrading to 1.4 causes this test case failure: [ERROR] HTTPUtilitiesTest.testGetFileUploads:259. TODO: Figure out why, and fix. --> |
170 | 198 | <version>1.3.3</version> |
171 | | - <!-- exclusions> |
| 199 | + <exclusions> |
| 200 | + <!-- excluded because we directly import newer version. --> |
172 | 201 | <exclusion> |
173 | 202 | <groupId>commons-io</groupId> |
174 | 203 | <artifactId>commons-io</artifactId> |
175 | 204 | </exclusion> |
176 | | - </exclusions --> |
177 | | - </dependency> |
178 | | - <dependency> |
179 | | - <groupId>org.apache.commons</groupId> |
180 | | - <artifactId>commons-collections4</artifactId> |
181 | | - <!-- Using 4.2 because 4.3 requires Java 8. Trying to make sure ESAPI supports Java 7+ --> |
182 | | - <version>4.2</version> |
| 205 | + </exclusions> |
183 | 206 | </dependency> |
184 | 207 | <dependency> |
185 | 208 | <groupId>log4j</groupId> |
186 | 209 | <artifactId>log4j</artifactId> |
187 | 210 | <version>1.2.17</version> |
188 | 211 | </dependency> |
189 | 212 | <dependency> |
190 | | - <groupId>org.slf4j</groupId> |
191 | | - <artifactId>slf4j-api</artifactId> |
192 | | - <version>1.7.26</version> |
193 | | - </dependency> |
194 | | - <dependency> |
195 | | - <groupId>com.io7m.xom</groupId> |
196 | | - <artifactId>xom</artifactId> |
197 | | - <version>1.2.10</version> |
198 | | - <exclusions> |
199 | | - <exclusion> |
200 | | - <groupId>xerces</groupId> |
201 | | - <artifactId>xercesImpl</artifactId> |
202 | | - </exclusion> |
203 | | - <exclusion> |
204 | | - <groupId>xml-apis</groupId> |
205 | | - <artifactId>xml-apis</artifactId> |
206 | | - </exclusion> |
207 | | - </exclusions> |
| 213 | + <groupId>org.apache.commons</groupId> |
| 214 | + <artifactId>commons-collections4</artifactId> |
| 215 | + <!-- Using 4.2 because 4.3 requires Java 8. Trying to make sure ESAPI supports Java 7+ --> |
| 216 | + <version>4.2</version> |
208 | 217 | </dependency> |
209 | 218 | <dependency> |
210 | 219 | <groupId>org.apache-extras.beanshell</groupId> |
|
226 | 235 | </exclusion> |
227 | 236 | </exclusions> |
228 | 237 | </dependency> |
| 238 | + <dependency> |
| 239 | + <groupId>org.slf4j</groupId> |
| 240 | + <artifactId>slf4j-api</artifactId> |
| 241 | + <version>1.7.26</version> |
| 242 | + </dependency> |
229 | 243 |
|
230 | 244 | <!-- |
231 | 245 | FORCE SPECIFIC VERSIONS OF TRANSITIVE DEPENDENCIES EXCLUDED ABOVE. |
232 | 246 | This is to force patched versions of these libraries with known CVEs against them. |
233 | 247 | --> |
234 | 248 | <dependency> |
235 | | - <groupId>xalan</groupId> |
236 | | - <artifactId>xalan</artifactId> |
237 | | - <version>2.7.2</version> |
238 | | - </dependency> |
239 | | - <dependency> |
240 | | - <groupId>xml-apis</groupId> |
241 | | - <artifactId>xml-apis</artifactId> |
242 | | - <version>1.4.01</version> |
| 249 | + <groupId>commons-io</groupId> |
| 250 | + <artifactId>commons-io</artifactId> |
| 251 | + <version>2.6</version> |
243 | 252 | </dependency> |
244 | 253 | <dependency> |
245 | 254 | <groupId>org.apache.xmlgraphics</groupId> |
|
256 | 265 | </exclusion> |
257 | 266 | </exclusions> |
258 | 267 | </dependency> |
| 268 | + <dependency> |
| 269 | + <groupId>xalan</groupId> |
| 270 | + <artifactId>xalan</artifactId> |
| 271 | + <version>2.7.2</version> |
| 272 | + <exclusions> |
| 273 | + <exclusion> |
| 274 | + <groupId>xml-apis</groupId> |
| 275 | + <artifactId>xml-apis</artifactId> |
| 276 | + </exclusion> |
| 277 | + </exclusions> |
| 278 | + </dependency> |
259 | 279 | <dependency> |
260 | 280 | <groupId>xerces</groupId> |
261 | 281 | <artifactId>xercesImpl</artifactId> |
262 | 282 | <version>2.12.0</version> |
263 | 283 | </dependency> |
264 | 284 | <dependency> |
265 | | - <groupId>commons-io</groupId> |
266 | | - <artifactId>commons-io</artifactId> |
267 | | - <version>2.6</version> |
| 285 | + <groupId>xml-apis</groupId> |
| 286 | + <artifactId>xml-apis</artifactId> |
| 287 | + <version>1.4.01</version> |
268 | 288 | </dependency> |
269 | 289 |
|
270 | 290 | <!-- Dependencies which are ONLY used for JUnit tests --> |
|
286 | 306 | <artifactId>powermock-api-mockito2</artifactId> |
287 | 307 | <version>2.0.0</version> |
288 | 308 | <scope>test</scope> |
| 309 | + <!-- These exclusions required to avoid convergence issues with import of mockito-core --> |
| 310 | + <exclusions> |
| 311 | + <exclusion> |
| 312 | + <groupId>org.mockito</groupId> |
| 313 | + <artifactId>mockito-core</artifactId> |
| 314 | + </exclusion> |
| 315 | + <exclusion> |
| 316 | + <groupId>net.bytebuddy</groupId> |
| 317 | + <artifactId>byte-buddy</artifactId> |
| 318 | + </exclusion> |
| 319 | + <exclusion> |
| 320 | + <groupId>net.bytebuddy</groupId> |
| 321 | + <artifactId>byte-buddy-agent</artifactId> |
| 322 | + </exclusion> |
| 323 | + </exclusions> |
| 324 | + </dependency> |
| 325 | + <!-- The following imported solely so we can exclude its dependency on: org.objenesis:objenesis, which conflicts with |
| 326 | + another import by a dependency of powermock-api-mockito2. --> |
| 327 | + <dependency> |
| 328 | + <groupId>org.mockito</groupId> |
| 329 | + <artifactId>mockito-core</artifactId> |
| 330 | + <version>2.27.0</version> |
| 331 | + <scope>test</scope> |
| 332 | + <exclusions> |
| 333 | + <exclusion> |
| 334 | + <groupId>org.objenesis</groupId> |
| 335 | + <artifactId>objenesis</artifactId> |
| 336 | + </exclusion> |
| 337 | + </exclusions> |
289 | 338 | </dependency> |
290 | 339 | <dependency> |
291 | 340 | <groupId>org.powermock</groupId> |
|
343 | 392 | </plugin> |
344 | 393 |
|
345 | 394 | <plugin> |
| 395 | + <groupId>org.apache.maven.plugins</groupId> |
346 | 396 | <artifactId>maven-compiler-plugin</artifactId> |
347 | 397 | <version>3.8.0</version> |
348 | 398 | <configuration> |
|
395 | 445 | <artifactId>maven-enforcer-plugin</artifactId> |
396 | 446 | <version>1.4.1</version> |
397 | 447 | </plugin> |
| 448 | + |
| 449 | + <plugin> |
| 450 | + <groupId>org.apache.maven.plugins</groupId> |
| 451 | + <artifactId>maven-gpg-plugin</artifactId> |
| 452 | + <version>1.6</version> |
| 453 | + <executions> |
| 454 | + <execution> |
| 455 | + <id>sign-artifacts</id> |
| 456 | + <phase>verify</phase> |
| 457 | + <goals> <goal>sign</goal> </goals> |
| 458 | + </execution> |
| 459 | + </executions> |
| 460 | + </plugin> |
| 461 | + |
| 462 | + <plugin> |
| 463 | + <groupId>org.apache.maven.plugins</groupId> |
| 464 | + <artifactId>maven-install-plugin</artifactId> |
| 465 | + <version>2.5.2</version> |
| 466 | + </plugin> |
398 | 467 |
|
399 | 468 | <plugin> |
400 | 469 | <groupId>org.apache.maven.plugins</groupId> |
|
410 | 479 | </configuration> |
411 | 480 | </plugin> |
412 | 481 |
|
413 | | - <plugin> |
414 | | - <groupId>org.apache.maven.plugins</groupId> |
415 | | - <artifactId>maven-install-plugin</artifactId> |
416 | | - <version>2.5.2</version> |
417 | | - </plugin> |
418 | | - |
419 | 482 | <plugin> |
420 | 483 | <groupId>org.apache.maven.plugins</groupId> |
421 | 484 | <artifactId>maven-javadoc-plugin</artifactId> |
|
493 | 556 | <artifactId>dependency-check-maven</artifactId> |
494 | 557 | <version>5.0.0-M2</version> |
495 | 558 | <configuration> |
496 | | - <!-- <failBuildOnCVSS>5.9</failBuildOnCVSS> --> |
| 559 | + <failBuildOnCVSS>5.9</failBuildOnCVSS> |
497 | 560 | <suppressionFile>./suppressions.xml</suppressionFile> |
498 | 561 | </configuration> |
499 | 562 | <executions> |
|
533 | 596 | </configuration> |
534 | 597 | </plugin> |
535 | 598 | <plugin> |
| 599 | + <groupId>org.apache.maven.plugins</groupId> |
536 | 600 | <artifactId>maven-javadoc-plugin</artifactId> |
537 | 601 | <configuration> |
538 | 602 | <detectJavaApiLink>false</detectJavaApiLink> |
|
550 | 614 | </configuration> |
551 | 615 | </plugin> |
552 | 616 | <plugin> |
| 617 | + <groupId>org.apache.maven.plugins</groupId> |
553 | 618 | <artifactId>maven-site-plugin</artifactId> |
554 | 619 | <configuration> |
555 | 620 | <reportPlugins> |
|
615 | 680 | <jdk>[1.8,)</jdk> |
616 | 681 | </activation> |
617 | 682 | <properties> |
618 | | - <PhaseIfJava8plus>install</PhaseIfJava8plus> |
| 683 | + <PhaseIfJava8plus>site</PhaseIfJava8plus> |
619 | 684 | </properties> |
620 | 685 | </profile> |
621 | 686 |
|
|
0 commit comments