Commit Graph

376 Commits

Author SHA1 Message Date
pascalschumacher 999030a23c Fix Javadoc on Java 11+. 2019-05-21 22:04:36 +02:00
Gary Gregory 992e7cf6c8 - Javadoc.
- checkstyle.version 8.18 -> 8.20.
- [LANG-1458] Add EMPTY_ARRAY constants to classes in
org.apache.commons.lang3.tuple
2019-05-10 08:58:17 -04:00
pascalschumacher 58dfe5517d Skip javadoc on Java 12+ to workaround https://bugs.openjdk.java.net/browse/JDK-8212233 which causes javadoc to fail with "Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/7/docs/api/ are in the unnamed module." 2019-04-27 10:19:11 +02:00
Gary Gregory 402a1283de Update maven-pmd-plugin from 3.11.0 to 3.12.0. 2019-04-24 14:15:03 -04:00
Rob 89679976b8 LANG-1450: Generate javadoc jar on build 2019-04-22 11:44:29 -04:00
Rob Tompkins f2c28e67b7 (update) 3.9 -> 3.10-SNAPSHOT, post release 2019-04-15 07:20:46 -07:00
Rob Tompkins d8fa78c70d Tagging commons-lang-3.9 from RC2
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEtuc9hOpPzEcWYIclP6rSzV7LsxQFAly0ktAACgkQP6rSzV7L
 sxQP3A/+INo2gywwfB5r6zO041ebM56m1xpKGLTE7y39VAmHvDrjUvpCtxVlSe5L
 utAdrwUHmF/9J9yPs2mQfqoJ9cex9l7p/oYPM2UgHVV8xQSyusahf4ovt4F288F5
 aHcbh0L7kcI6BQgOOLt9w41XtdRuFglDogDotIDGQyMD5JgF2G0jLAmIKPzQtN1h
 jvpCtuZoQi71jx0VtDRV+CeKMFForK1O/B36LZaXZSxRYYH5Sq0p368gxJLu+NU0
 x1eizxFMHF8JqCm7IUFNXS48KKESFZzHXc64S/MIHcGe9XfA2sR4W9FVJz6qTDwZ
 9d6/6UP9FtTEvlL1m+Zx7qn/st11fmRKghjIjKePagmqzpn4U2hdXwkO7b1ZAi/+
 McWd8MLkFlXWswJaXTtYsWQArn7kI6MPd5hUvvRL+YoFLkHrUbtIqGNJyK0VrNkv
 anBJdGRXgBbmJgrsz5537rw4XLM3ygjsSSFup4za2msbtpULwTa4B6jMOZWNGLF8
 84lorxyTcxyulfvAAkDkcVFkqakjUAZkZ5gS+gS6Y3V6Jfchew5QgoMUOMON0O78
 Gak54J65Rx+tTSSP6oHE/Tpj/2G46uv+5PksHCQpE2sZMpQ6OAjRnzaXd50/xOfZ
 GbKpuxAke1DkeH0s4etq5G//qQ6vCKgAhKbZd9BfvO2dRoULj/w=
 =rZHI
 -----END PGP SIGNATURE-----

Merge tag 'commons-lang-3.9'

Tagging commons-lang-3.9 from RC2
2019-04-15 07:19:18 -07:00
Gary Gregory abc2681037 Update tests from junit-jupiter 5.4.0 to 5.4.2. 2019-04-12 08:37:15 -04:00
Rob Tompkins 1889cacfaf Prepare 3.9 RC2 2019-04-10 21:17:56 -04:00
Rob Tompkins 838d7ebefb Merge branch 'master' of github.com:apache/commons-lang into 3.9 2019-04-10 15:29:23 -04:00
Rob Tompkins 20fdb8e63e jacoco: 0.8.2 -> 0.8.3, surefire: 2.22.1 -> 3.0.0-M3 2019-04-10 14:01:00 -04:00
Rob Tompkins 8b37888515 (update) a few more version upgrades 3.8.1 -> 3.9 2019-04-09 14:08:56 -04:00
Tompkins 4f4e9786a8 Preparing the codebase for 3.9 2019-04-09 13:12:01 -04:00
Gary Gregory c20dcdadd4 Oops, remove dup property. 2019-03-26 20:24:32 -04:00
Gary Gregory 064b9d8a2f Update Apache Commons Parent from 47 to 48. 2019-03-26 20:22:19 -04:00
pascalschumacher 508ddd1295 Update checkstyle to version 8.17 2019-02-09 13:54:01 +01:00
pascalschumacher c127a7266a Update EasyMock to version 4.0.2 2019-02-09 13:46:58 +01:00
pascalschumacher b5ed6c6180 Update Hamcrest to version 2.1 2019-02-09 13:43:15 +01:00
pascalschumacher c6bb13cb99 Remove dependency management for JUnit (since the update to JUnit 5.4.0 we only have a single JUnit test dependency). 2019-02-09 13:31:34 +01:00
Allon Mureinik 2273b6e44e Upgrade JUnit depedency to 5.4.0 (closes #402)
Upgrade the JUnit dependency to the latest available 5.4.0.

Note that JUnit simplified its artifacts, and now it contains a
single, simple org.junit:junit-jupiter artifact.
2019-02-08 19:53:20 +01:00
pascalschumacher 17bbe77262 Skip javadoc on Java 11 to workaround https://bugs.openjdk.java.net/browse/JDK-8212233 which causes javadoc to fail with "Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/7/docs/api/ are in the unnamed module." 2019-02-08 19:50:44 +01:00
pascalschumacher f7c62b29c9 Update spotbugs-maven-plugin to version 3.1.10 2019-01-05 22:51:18 +01:00
pascalschumacher e0a5a4b5b6 Update to JaCoCo 0.8.2 with works Java 11+. 2018-12-20 14:48:34 +01:00
pascalschumacher 37ba8d3981 Update to JUnit version 5.3.2 2018-12-02 14:11:09 +01:00
pascalschumacher 60b8f18e46 Update Spotbugs Maven Plugin to version 3.1.8 2018-11-20 21:38:15 +01:00
pascalschumacher a668a47981 Update JUnit Pioneer to version 0.3.0 2018-11-02 21:05:14 +01:00
pascalschumacher 5ccbfeb86f Update maven-spotbugs-plugin to version 3.1.7 2018-11-02 21:01:51 +01:00
Gary Gregory 0fcd4ce92a Update EasyMock from 3.6 to 4.0 to fix testing on Java 11. 2018-10-28 09:11:14 -06:00
pascalschumacher 97ade3f6e3 Use surefire plugin version from parent POM. 2018-10-26 19:51:07 +02:00
pascalschumacher 46ea7e5e96 Update checkstyle to version 8.13 2018-10-13 20:22:23 +02:00
Allon Mureinik e99b0dde8e Update tests to JUnit Jupiter (closes #375)
This patch finalizes the upgrade of commons-lang's tests to use JUnit
Jupiter and remove the Vintage Engine dependency entirely.

While most of these changes are drop-in replacements with no functional
benefit, there are some non-obvious changes worth mentioning.

Unlike org.junit.Assert.assertEquals(double, double, double),
org.junit.jupiter.api.Assertions.assertEquals(double, double, double)
does not support deltas of zero, only strictly positive deltas.
This issue will be addressed in JUnit Jupiter 5.4 (see
https://github.com/junit-team/junit5/pull/1613 for details). In the
meanwhile, assertTrue(expected==actual) was used, and TODO comments were
placed in the code to refactor it to assertEquals once JUnit 5.4 is
available.

Unlike org.junit.Test, org.junit.jupiter.api.Test does not have an
"expected" argument. Instead, an explicit call to
org.junit.jupiter.api.Assertions.assertThrows is used.

Unlike org.junit.Test, org.junit.jupiter.api.Test does not have a
"timeout" argument either. Instead, an explicit call to
org.junit.jupiter.api.Assertions.assertTimeoutPreemptively is used.

JUnit Jupiter also no longer has the concept of Rules. Usages of the
SystemDefaultsSwitch rule and its accompanying annotates were replaced
with the @DefaultLocale annotation that Benedikt Ritter contributed to
JUnit Pioneer, the semi-official JUnit extension project.
Following the removal of their usages, the SystemDefaults annotation,
the SystemDefaultsSwitch rule and the SystemDefaultsSwitchTest class
that tests them had no more use, and they were removed entirely.

It's also worth noting this is a minimal patch for migrating the
package's tests to Jupiter. There are several tests that can be made
more elegant with Jupiter's new features, but that work is left for
subsequent patches.
2018-10-11 22:28:38 +02:00
Allon Mureinik ca2e59c513 Update time tests to JUnit Jupiter
Upgrade the tests in the time package to use JUnit Jupiter as
part of the effort to remove the dependency on the Vintage Engine.

While most of these changes are drop-in replacements with no functional
benefit, there are some non-obvious changes worth mentioning.

Unlike org.junit.Test, org.junit.jupiter.api.Test does not have an
"expected" argument. Instead, an explicit call to
org.junit.jupiter.api.Assertions.assertThrows is used.

JUnit Jupiter no longer has a concept of runners. Tests previously run
with the org.junit.runners.Parameterized runner were rewritten to use
@ParameterizedTest and a @MethodSource.

JUnit Jupiter also no longer has the concept of Rules. Usages of the
SystemDefaultsSwitch rule and its accompanying annotates were replaced
with the @DefaultLocale and @DefaultTimezone annotations that
Benedikt Ritter contributed to JUnit Pioneer, the semi-official JUnit
extension project.

It's also worth noting this is a minimal patch for migrating the
package's tests to Jupiter. There are several tests that can be made
more elegant with Jupiter's new features, but that work is left for
subsequent patches.
2018-10-10 19:09:33 +03:00
Rob Tompkins 77f875110a Tagging commons-lang3-3.8.1 from RC1
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEtuc9hOpPzEcWYIclP6rSzV7LsxQFAlumrW8ACgkQP6rSzV7L
 sxQgcA//dWX1C1n526Z34UgI5OSGxE+pT3L6Imny33gDRbEdUuBAtX7nsU04OEpB
 YGZuwAvaZ6CVgcEha43T0t6qD5mMb+btNTauqY116PRhEqSIDLJBgapZNcKLj1gA
 sR1SXY87VCQHcWO/tjUtL2yC+Js++KwowFX1If9MpByV46PqTr7e/FKrzYB2ocsD
 BaDCgQTcJWoLb6XHXlsSUrGO92AeDS8O2oa+6eIDstH0qzC4vKKFhpGGGRhI0SrP
 99rwzpBfNljxe3oVDIU+JIjAuNvepb1+WrtOTbwu2GEz0PMS4KkvB9cvBeyGJeM+
 cQXccZ34VU2Ony9TNDUfJEwdeoWbZWw8ib4ijThhufIPmiOU2QpHhhcQ2K8iK8CJ
 lCnDLQDtjZHpo5308nEW4EuGi31uzRZePDNubrQcHpqjdmVcrs93jOJuK8K8zIpn
 DG3ly1E6fItVILFIhUzXyFJ20qPtSmhQmjNPuX3/4b3Pmx1MDc/b0u3mxDjc/ADq
 OWFcT5f2N//StnR58ZSDqw4vdOo0l5EyhSr70nMnMfk3p1XsbU1IOb3lNZouXjWr
 T6Ckwyz2CWo+wAS9U72EvRzaim/SQz+2E8sscu1gLwE067YFmY9lPGGFpFliJO6Y
 NwAkKq2uR+aemvWok5GmwDPastv7U59gJDJCLZ7SrTlHNpIyh6E=
 =Hha5
 -----END PGP SIGNATURE-----

Updates for 3.8.1 release
2018-09-22 17:31:24 -04:00
Rob Tompkins eb5b11a25c Prepare 3.8.1 release 2018-09-19 11:09:49 -04:00
Rob Tompkins ae9b31285e LANG-1419: Restore BundleSymbolicName for OSGi 2018-09-19 10:51:19 -04:00
Benedikt Ritter 910f5427b3
Update to latest JUnit version 2018-09-11 21:06:39 +02:00
Benedikt Ritter 6dc3a6db11
Merge branch 'spotbugs' 2018-09-06 22:05:54 +02:00
Benedikt Ritter 7e440785d9
Use @ParameterizedTest to iterate over available locales 2018-09-05 15:58:27 +02:00
Benedikt Ritter 83b472b754
LANG-1416: Update to JUnit 5.3.0 2018-09-04 15:08:37 +02:00
Benedikt Ritter 3287f3100f
LANG-1416: Use latest Apache Maven Surefire Plugin release 2018-09-04 15:08:37 +02:00
pascalschumacher bb20855b5c Skip SpotBugs on Java 11 2018-08-28 19:11:31 +02:00
pascalschumacher 82fd2516d6 Replace FindBugs with SpotBugs 2018-08-28 19:00:26 +02:00
Benedikt Ritter b4609c81e4
LANG-1415: Update Java Language requirement to 1.8 2018-08-23 08:25:27 +02:00
Rob Tompkins 8f88799d47 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-lang 2018-08-19 13:05:09 -04:00
Rob Tompkins ec464c9b2b Update pom.xml for release of commons-lang3-3.8 2018-08-19 13:04:45 -04:00
Benedikt Ritter 30fed5ecb0
Update maven-pmd-plugin to latest version 2018-08-16 16:25:43 +02:00
Rob Tompkins 328e74448c get japicmp working 2018-08-14 22:42:58 -04:00
Rob Tompkins 14e7f8db27 Preparing 3.8 2018-08-14 22:08:20 -04:00
Rob Tompkins c3de2d69ce org.easymock:easymock:3.5.1 -> 3.6 2018-08-14 21:28:13 -04:00
Rob Tompkins cf406e5629 jmh.version 1.19 -> 1.21 2018-08-14 21:27:42 -04:00