Commit Graph

477 Commits

Author SHA1 Message Date
Gary Gregory 32a9a350c6 org.junit.jupiter:junit-jupiter 5.6.1 -> 5.6.2. 2020-07-04 09:45:02 -04:00
Gary Gregory 065662fcf3 com.puppycrawl.tools:checkstyle 8.33 -> 8.34. 2020-07-04 09:42:32 -04:00
Gary Gregory da0f6a8051 Refactor SpotBugs implementation version into spotbugs.impl.version. 2020-06-28 15:45:50 -04:00
Rob Tompkins acaf458278 LANG-1549: Thanks Jin 2020-06-26 05:52:48 -04:00
Gary Gregory 43fe903cad com.github.spotbugs:spotbugs 4.0.5 -> 4.0.6.
commons.surefire.version 3.0.0-M4 -> 3.0.0-M5.
2020-06-24 12:50:17 -04:00
Gary Gregory 744da0e255 Update dependencies.
- org.apache.commons:commons-parent 50 -> 51
- biz.aQute.bnd:biz.aQute.bndlib 5.1.0 -> 5.1.1
- com.github.spotbugs:spotbugs 4.0.4 -> 4.0.5
2020-06-23 10:40:33 -04:00
XenoAmess 0c42c0c192 [LANG-1546]: delete `<encoding>` and `<docencoding>` in maven-javadoc-plugin 2020-06-16 14:08:36 +12:00
XenoAmess cf0778a5ad
Add binary compatibility check to Maven default goal (#555)
* add bc detect as discussed in mailing list.

* add bc detect as discussed in mailing list.
2020-06-14 22:08:10 -04:00
Gary Gregory 494a4db395 Disable Clirr since we use JApiCmp. 2020-06-13 16:09:58 -04:00
Gary Gregory 67929942a5 - Update com.github.spotbugs:spotbugs 4.0.3 -> 4.0.4.
- Update com.puppycrawl.tools:checkstyle  8.32 -> 8.33.
2020-06-12 15:35:28 -04:00
Gary Gregory 62393bd601 commons.bc.version 3.9 -> 3.10 2020-06-12 11:37:06 -04:00
Gary Gregory 53aa7a2e9a Fix build on Java 15-ea. 2020-06-12 09:48:06 -04:00
Gary Gregory c0d0d4f3ea Update com.github.spotbugs:spotbugs from 4.0.2 to 4.0.3.
Update com.puppycrawl.tools:checkstyle from 8.31 to 8.32.
2020-05-24 11:19:42 -04:00
Gary Gregory 84a80552b8 Update org.junit-pioneer:junit-pioneer from 0.5.6 to 0.6.0. 2020-05-24 11:13:00 -04:00
Gary Gregory 4db2896750 The next release will be 3.11. 2020-05-24 11:07:18 -04:00
Gary Gregory f692351035 - com.github.spotbugs:spotbugs 4.0.0 -> 4.0.2.
- com.puppycrawl.tools:checkstyle 8.29 -> 8.31.
2020-04-20 17:23:31 -04:00
Gary Gregory 299736554a spotbugs.plugin.version 4.0.0 -> 4.0.2. 2020-04-20 17:13:50 -04:00
Gary Gregory cfe457636a - org.junit-pioneer:junit-pioneer 0.5.4 -> 0.5.6.
- org.junit.jupiter:junit-jupiter 5.6.0 -> 5.6.1.
2020-04-07 11:10:27 -04:00
Gary Gregory e389ce1edc Missed an update for 3.9 to 3.10. 2020-04-07 10:09:55 -04:00
Gary Gregory 7a9c09161d Bump to next development version 2020-03-28 10:02:28 -04:00
Gary Gregory e0b474c0d0 Update POM version numbers for Apache Commons Lang release 3.10 2020-03-23 09:14:11 -04:00
pascalschumacher 346f52e2ee Update Spotbugs Maven Plugin to version 4.0.0. 2020-03-21 15:23:39 +01:00
Gary Gregory 62d5c1037f org.junit-pioneer:junit-pioneer 0.5.3 -> 0.5.4. 2020-02-22 08:39:18 -05:00
Gary Gregory bd147ae86c Update build plugins and Javadoc link.
maven-pmd-plugin 3.12.0 -> 3.13.0.
maven-checkstyle-plugin -> 3.1.0 -> 3.1.1.
jacoco 0.8.4 -> 0.8.5.
commons.javadoc.version -> 3.1.0 -> 3.1.1.
commons.japicmp.version -> 0.14.1 -> 0.14.3.
ommons.surefire.version 3.0.0-M3 -> 3.0.0-M4.
Link to Java 8 Javadoc.
2020-02-17 13:13:57 -05:00
Gary Gregory 2cceff590d Use Javadoc {@code} instead of pre tags. #490. 2020-02-17 10:00:02 -05:00
Gary Gregory f20df21249 De-clutter root folder by moving Checkstyle configuration files into
src.
2020-02-17 09:23:27 -05:00
Gary Gregory d3e5953b59 Checkstyle 8.27 -> 8.29. 2020-02-17 09:01:08 -05:00
Gary Gregory 772edb9112 SpotBugs 4.4.0-RC3 -> 4.0.0. 2020-02-17 08:50:05 -05:00
Gary Gregory 4ebd3e3988 Update SpotBugs. 2020-02-14 09:34:46 -05:00
Gary Gregory e6165e9377 - Update copyright year in NOTICE file.
- org.easymock:easymock 4.1 -> 4.2.
- org.junit-pioneer:junit-pioneer 0.4.2 -> 0.5.3.
- org.junit.jupiter:junit-jupiter 5.5.2 -> 5.6.0.
2020-02-13 10:25:56 -05:00
Gary Gregory 1df9bc7025
[LANG-1509] Add ObjectToStringComparator. (#483)
* [LANG-1509] Add ObjectToStringComparator.

* [LANG-1509] Add ObjectToStringComparator.

Repackage.

* [LANG-1509] Add ObjectToStringComparator.

Avoid NPE.

* [LANG-1509] Add ObjectToStringComparator.

Clean ups.

* Spotbugs: toString() can return null!
2020-01-01 09:31:22 -05:00
Gary Gregory 742eb8982b Update POM parent: org.apache.commons:commons-parent 48 -> 50.
tar
2019-12-21 07:57:41 -05:00
Gary Gregory b4645f695b Update build dependency: com.puppycrawl.tools:checkstyle 8.26 -> 8.27. 2019-12-20 23:11:33 -05:00
Gary Gregory 74c8862d0c Update test dependency: org.junit-pioneer:junit-pioneer 0.3.3 -> 0.4.2. 2019-12-20 23:03:22 -05:00
Gary Gregory 182b2506b3 Update build dependency: com.puppycrawl.tools:checkstyle 8.25 -> 8.26. 2019-11-22 12:25:09 -05:00
Gary Gregory 98e122b689 Update test dependencies.
- org.easymock:easymock 4.0.2 -> 4.1
- org.hamcrest:hamcrest 2.1 -> 2.2
- org.junit-pioneer:junit-pioneer 0.3.0 -> 0.3.3
2019-11-22 12:23:09 -05:00
Gary Gregory 84636da769 - Fix trailing whitespace.
- maven-checkstyle-plugin 3.0.0 -> 3.1.0.
- com.puppycrawl.tools:checkstyle 8.24 -> 8.25.
2019-10-05 11:22:30 -04:00
Gary Gregory 990644599d com.puppycrawl.tools:checkstyle 8.23 -> 8.24. 2019-09-11 09:29:43 -04:00
Gary Gregory f83d6e3fe0 [test] junit-jupiter 5.5.1 -> 5.5.2. 2019-09-11 09:17:46 -04:00
pascalschumacher 4632ad7c7c Update spotbugs-maven-plugin to version 3.1.12.2. 2019-08-31 12:06:29 +02:00
Jochen Wiedmann bc16e0109a PR: LANG-1447
Added Functions.as* methods.
2019-08-22 22:09:11 +02:00
Gary Gregory 8a192eb6b5 commons.japicmp.version 0.13.1 -> 0.14.1. 2019-08-22 10:32:44 -04:00
Gary Gregory eacbb1f8d5 Update properties for the next release. 2019-08-22 10:18:21 -04:00
Gary Gregory 8a579f0c77 com.puppycrawl.tools:checkstyle 8.20 -> 8.23. 2019-08-22 10:17:41 -04:00
Gary Gregory 561fc60c63 junit-jupiter 5.5.0 -> 5.5.1. 2019-08-22 10:17:00 -04:00
Sebb d5ffc4dde6 git-wip-us => gitbox 2019-08-16 18:34:57 +01:00
Gary Gregory 2288b0ff2c Use HTTPS to access Apache resources. 2019-07-06 20:47:34 -04:00
Gary Gregory d21a59baa5 Use HTTPS links to commons.apache.org. 2019-07-04 10:46:19 -04:00
pascalschumacher 326f86925d Update JaCoCo to version 0.8.4. 2019-07-03 23:00:38 +02:00
pascalschumacher f810c82837 Skip Jacoco and SpotBugs on Java 13+. 2019-07-01 22:44:40 +02:00
pascalschumacher 88f1d70c36 Update JUnit to version 5.5.0. 2019-06-30 23:22:59 +02:00
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