|
3 | 3 | <modelVersion>4.0.0</modelVersion>
|
4 | 4 | <groupId>org.owasp.esapi</groupId>
|
5 | 5 | <artifactId>esapi</artifactId>
|
6 |
| - <version>2.3.0.0-SNAPSHOT</version> |
| 6 | + <version>2.2.2.0-SNAPSHOT</version> |
7 | 7 | <packaging>jar</packaging>
|
8 | 8 |
|
9 | 9 | <distributionManagement>
|
|
134 | 134 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
135 | 135 | <version.jmh>1.23</version.jmh>
|
136 | 136 | <version.powermock>2.0.7</version.powermock>
|
137 |
| - <version.spotbugs>4.0.4</version.spotbugs> |
| 137 | + <version.spotbugs>4.1.4</version.spotbugs> |
| 138 | + |
138 | 139 | <!-- Upgrading to 3.0.0-M3+ causes this test case error:
|
139 | 140 | org.owasp.esapi.reference.DefaultValidatorInputStringAPITest.getValidInputNullAllowedPassthrough Time elapsed: 2.057 s <<< ERROR!
|
140 | 141 | java.lang.OutOfMemoryError: PermGen space
|
|
238 | 239 | <dependency>
|
239 | 240 | <groupId>org.owasp.antisamy</groupId>
|
240 | 241 | <artifactId>antisamy</artifactId>
|
241 |
| - <version>1.5.10</version> |
242 |
| - <exclusions> |
243 |
| - <exclusion> |
244 |
| - <groupId>xml-apis</groupId> |
245 |
| - <artifactId>xml-apis</artifactId> |
246 |
| - </exclusion> |
247 |
| - <exclusion> |
248 |
| - <groupId>xerces</groupId> |
249 |
| - <artifactId>xercesImpl</artifactId> |
250 |
| - </exclusion> |
251 |
| - </exclusions> |
| 242 | + <version>1.5.11</version> |
252 | 243 | </dependency>
|
253 | 244 | <dependency>
|
254 | 245 | <groupId>org.slf4j</groupId>
|
|
295 | 286 | <dependency>
|
296 | 287 | <groupId>xerces</groupId>
|
297 | 288 | <artifactId>xercesImpl</artifactId>
|
| 289 | + <!-- Note: CVE-2020-14338) in xercesImpl:2.12.0 but Apache has not released an update to this library yet to eliminate it. See ESAPI-security-bulletin3.pdf for further details. --> |
298 | 290 | <version>2.12.0</version>
|
299 | 291 | </dependency>
|
300 | 292 | <dependency>
|
|
327 | 319 | <dependency>
|
328 | 320 | <groupId>org.bouncycastle</groupId>
|
329 | 321 | <artifactId>bcprov-jdk15on</artifactId>
|
| 322 | + <!-- Tried to update this to 1.67 but that resulted in error when running 'mvn site' --> |
330 | 323 | <version>1.65.01</version>
|
331 | 324 | <scope>test</scope>
|
332 | 325 | </dependency>
|
|
506 | 499 | <dependency>
|
507 | 500 | <groupId>org.codehaus.mojo</groupId>
|
508 | 501 | <artifactId>extra-enforcer-rules</artifactId>
|
509 |
| - <version>1.2</version> |
| 502 | + <version>1.3</version> |
510 | 503 | </dependency>
|
511 | 504 | <dependency>
|
512 | 505 | <groupId>org.codehaus.mojo</groupId>
|
513 | 506 | <artifactId>animal-sniffer-enforcer-rule</artifactId>
|
514 |
| - <!-- Apparently 1.18+ requires Java 8 to run, so this is the most recent version of this plugin we can use --> |
515 |
| - <version>1.17</version> |
| 507 | + <!-- Updating to 1.19 causes lots of errors in 'mvn site' so leaving at 1.18 for now. --> |
| 508 | + <version>1.18</version> |
516 | 509 | </dependency>
|
517 | 510 | </dependencies>
|
518 | 511 | <executions>
|
| 512 | + <execution> |
| 513 | + <id>enforce-maven</id> |
| 514 | + <goals> |
| 515 | + <goal>enforce</goal> |
| 516 | + </goals> |
| 517 | + <configuration> |
| 518 | + <rules> |
| 519 | + <requireMavenVersion> |
| 520 | + <version>[3.2.5,)</version> |
| 521 | + <message>Building ESAPI 2.x now requires Maven 3.2.5 or later.</message> |
| 522 | + </requireMavenVersion> |
| 523 | + </rules> |
| 524 | + </configuration> |
| 525 | + </execution> |
519 | 526 | <execution>
|
520 | 527 | <id>check-java-versions</id>
|
521 | 528 | <phase>compile</phase>
|
|
739 | 746 | </configuration>
|
740 | 747 | </plugin>
|
741 | 748 | <plugin>
|
742 |
| - <!-- Generate /site/apidocs and /site/testapidocs --> |
| 749 | + <!-- Generate /site/apidocs and /site/testapidocs --> |
743 | 750 | <groupId>org.apache.maven.plugins</groupId>
|
744 | 751 | <artifactId>maven-javadoc-plugin</artifactId>
|
745 | 752 | <configuration>
|
|
0 commit comments