1
0
Commit Graph

1418 Commits

Author SHA1 Message Date
Gary Gregory 26f8919953 Let Checkstyle use longer lines 2023-11-19 09:06:15 -05:00
Gary Gregory 2521602a8a Sort members 2023-11-19 09:02:31 -05:00
Gary Gregory 523fe7a6c5 Sort members 2023-11-19 09:02:18 -05:00
Gary Gregory b10322e41e Use Checkstyle sortStaticImportsAlphabetically 2023-11-19 09:01:36 -05:00
Gary Gregory 0b9cd8bb83 Remove old comment 2023-11-19 08:55:21 -05:00
Gary Gregory 38f9e3dac8 Use HTTPS 2023-11-19 08:53:14 -05:00
Gary Gregory cd210b5d9b Use HTTPS 2023-11-19 08:43:46 -05:00
Gary Gregory d082a5dc2a Bump commons-parent from 59 to 64 2023-11-19 08:41:24 -05:00
Gary Gregory 159f30cb8b [LOGGING-185] Fix failing tests #180 2023-11-18 19:37:49 -05:00
Piotr P. Karwasz 6ad06e9074 LOGGING-185: Fix failing tests (#180)
* Fix names of deployed artifacts

We remove the obsolete `finalName` property and fix the Maven Failsafe
executions.

* Fix failing tests

* Reenable integration tests

* Disable SecurityManager tests on Java 21

* Simplify build workflow

* Set `fail-fast` to false

* Fix NPEs caused by `String.trim()`

* Span a different JVM per test case
2023-11-18 19:36:11 -05:00
dependabot[bot] 6edbb07301 Bump github/codeql-action from 2.22.5 to 2.22.7 (#179)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.5 to 2.22.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/74483a38d39275f33fcff5f35b679b5ca4a26a99...66b90a5db151a8042fa97405c6cf843bbe433f7b)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-17 08:36:40 -05:00
Gary Gregory c5b3edd506 Javadoc 2023-11-11 16:15:49 -05:00
Gary Gregory e94276a98b Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-logging.git 2023-11-05 09:31:49 -05:00
Gary Gregory dd5be155fe Make package private class final 2023-11-05 09:31:38 -05:00
Gary Gregory a3f9d2b3b8 Add support for Log4j API and SLF4J #177 2023-11-03 11:22:31 -04:00
Piotr P. Karwasz 946711e0a6 Add support for Log4j API and SLF4J (#177)
The logging backends supported by the default `LogFactoryImpl` have all
reached their end-of-life (except JUL and `SimpleLog`). Third-generation
logging backends, such as Log4j Core, support multiple logger contexts
per application and therefore can not be handled by the simplified
caching mechanism in `LogFactoryImpl`.

This PR introduces two new `LogFactory` implementations,
`Log4j2LogFactory` and `Slf4jLogFactory`, that forward messages to the
Log4j API and SLF4J.

During initialization the three existing factories are checked in the
following order:
 1. the `Log4j2LogFactory` has highest priority, since the Log4j API can
    faithfully transmit messages of type `Object`,
 2. the `Slf4jLogFactory` is the next choice. However, if the
    Log4j-to-SLF4J bridge is present we log directly through SLF4J
    instead of the Log4j API.
 3. the legacy `LogFactoryImpl` has lowest priority.
2023-11-03 11:19:14 -04:00
Gary Gregory b7f50da2aa Normalize setter Javadoc 2023-10-31 07:10:27 -04:00
Gary Gregory ba145fb114 Normalize getter Javadoc 2023-10-31 06:51:30 -04:00
Gary Gregory 28c175b8c8 Fix spelling 2023-10-31 06:27:13 -04:00
Gary Gregory 6167752d52 Normalize spelling to US English 2023-10-31 06:23:46 -04:00
Gary Gregory 830cebc584 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-logging.git 2023-10-27 14:56:59 -04:00
Gary Gregory f9bc48b201 Add self 2023-10-27 07:50:52 -04:00
Gary Gregory aee706eadc Add comment 2023-10-27 07:00:19 -04:00
dependabot[bot] 7004a57880 Bump github/codeql-action from 2.22.3 to 2.22.5 (#176)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.3 to 2.22.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/0116bc2df50751f9724a2e35ef1f24d22f90e4e1...74483a38d39275f33fcff5f35b679b5ca4a26a99)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-27 06:58:41 -04:00
dependabot[bot] 174c3e78fc Bump ossf/scorecard-action from 2.3.0 to 2.3.1 (#175)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/483ef80eb98fb506c348f7d62e28055e49fe2398...0864cf19026789058feabb7e87baa5f140aac736)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-27 06:58:29 -04:00
Gary Gregory 8dd3a59429 Fix Maven warning
[WARNING] Parameter 'headerFile' is unknown for plugin
'maven-checkstyle-plugin:3.2.2:check (default-cli)'
2023-10-26 11:58:35 -04:00
Sebb 0cb015a32e Pom is broken for the verify goal 2023-10-25 20:17:54 +01:00
Sebb e4d68bb370 Standardise on verify goal 2023-10-25 16:57:18 +01:00
Gary Gregory 1b7fdcff53 Remove Subversion tags 2023-10-22 12:15:17 -04:00
Gary Gregory cdb9ef5ce4 Remove unused parameter from private method 2023-10-22 07:50:59 -04:00
Gary Gregory 5cbd34c654 Format tweaks 2023-10-22 07:50:05 -04:00
Gary Gregory 34c37d6e7d Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-logging 2023-10-22 07:49:10 -04:00
Gary Gregory 23206cb098 Use Java 1.4 API 2023-10-22 07:48:38 -04:00
Sebb f0ec0ab16a Fix up GHA badges 2023-10-21 17:17:58 +01:00
dependabot[bot] 643f350b9b Bump actions/checkout from 4.1.0 to 4.1.1 (#173)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/8ade135a41bc03ea155e62e844d188df1ea18608...b4ffde65f46336ab88eb53be808477a3936bae11)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 07:12:25 -04:00
dependabot[bot] fc51d061ae Bump github/codeql-action from 2.22.2 to 2.22.3 (#172)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.2 to 2.22.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/d90b8d79de6dc1f58e83a1499aa58d6c93dc28de...0116bc2df50751f9724a2e35ef1f24d22f90e4e1)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 07:12:11 -04:00
Gary Gregory 98ac644aaf Fix component name references 2023-10-19 10:53:50 -04:00
Gary Gregory 32c8bd6257 Javadoc: Better wording 2023-10-19 10:50:29 -04:00
Gary Gregory 9c50425bfc Javadoc: Fix spelling 2023-10-19 10:35:59 -04:00
Gary Gregory bc3c5461a4 Camel-case parameter and internal names
Spelling
2023-10-19 08:37:35 -04:00
Gary Gregory 73582f2c71 Better internal names
Javadoc
2023-10-19 07:37:24 -04:00
Gary Gregory 65b28b9186 Fix possible NPEs in LogFactoryImpl 2023-10-19 07:21:16 -04:00
Gary Gregory 245211c4bd Use final
Use compact array notation
Remove trailing whitespace
2023-10-18 17:06:46 -04:00
Gary Gregory 174f40d168 Organize imports 2023-10-18 17:05:12 -04:00
Gary Gregory 0b4d31d127 Sort members 2023-10-18 17:04:00 -04:00
Gary Gregory 58ec3139c2 Fix Javadoc (Java 11 on Windows)
[ERROR] C:\Users\ggregory\git\a\commons-logging\src\main\java\org\apache\commons\logging\LogFactory.java:892:
error: header used out of sequence: <H4>
[ERROR]      * <h4>ClassLoader conflicts</h4>
[ERROR]        ^
2023-10-18 16:59:30 -04:00
Piotr P. Karwasz ca2cdfee81 [LOGGING-186] Replace custom code with ServiceLoader call (#171)
* Replace custom code with `ServiceLoader` call

* Files should end with an empty line

* Files should end with an empty line

* Comment empty block

* Comment empty block

---------

Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
2023-10-18 16:47:48 -04:00
Gary Gregory 2ec80207a5 Add Java 21 build to GitHub 2023-10-15 10:20:32 -04:00
dependabot[bot] 93e901d0af Bump ossf/scorecard-action from 2.2.0 to 2.3.0 (#170)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/08b4669551908b1024bb425080c797723083c031...483ef80eb98fb506c348f7d62e28055e49fe2398)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 07:38:46 -04:00
dependabot[bot] 4a6ce70f74 Bump github/codeql-action from 2.21.9 to 2.22.2 (#169)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.21.9 to 2.22.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/ddccb873888234080b77e9bc2d4764d5ccaaccf9...d90b8d79de6dc1f58e83a1499aa58d6c93dc28de)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 07:38:25 -04:00