Skip to content

Commit 372db59

Browse files
committed
Merge remote-tracking branch 'apache/main' into fix/main/3151_plugin_processor_bnd_annotations
2 parents e6e6ddd + 0935ee1 commit 372db59

File tree

66 files changed

+766
-574
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+766
-574
lines changed

.github/workflows/build.yaml

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ jobs:
3030

3131
build:
3232
if: github.actor != 'dependabot[bot]'
33-
uses: apache/logging-parent/.github/workflows/build-reusable.yaml@rel/11.3.0
33+
uses: apache/logging-parent/.github/workflows/build-reusable.yaml@rel/12.0.0
3434
secrets:
3535
DV_ACCESS_TOKEN: ${{ startsWith(github.ref_name, 'release/') && '' || secrets.GE_ACCESS_TOKEN }}
3636
with:
3737
site-enabled: true
38-
reproducibility-check-enabled: ${{ startsWith(github.ref_name, 'release/') }}
38+
reproducibility-check-enabled: false
3939
develocity-enabled: ${{ ! startsWith(github.ref_name, 'release/') }}
4040

4141
deploy-snapshot:
4242
needs: build
4343
if: github.repository == 'apache/logging-log4j2' && github.ref_name == 'main'
44-
uses: apache/logging-parent/.github/workflows/deploy-snapshot-reusable.yaml@rel/11.3.0
44+
uses: apache/logging-parent/.github/workflows/deploy-snapshot-reusable.yaml@rel/12.0.0
4545
# Secrets for deployments
4646
secrets:
4747
NEXUS_USERNAME: ${{ secrets.NEXUS_USER }}
@@ -50,7 +50,7 @@ jobs:
5050
deploy-release:
5151
needs: build
5252
if: github.repository == 'apache/logging-log4j2' && startsWith(github.ref_name, 'release/')
53-
uses: apache/logging-parent/.github/workflows/deploy-release-reusable.yaml@rel/11.3.0
53+
uses: apache/logging-parent/.github/workflows/deploy-release-reusable.yaml@rel/12.0.0
5454
# Secrets for deployments
5555
secrets:
5656
GPG_SECRET_KEY: ${{ secrets.LOGGING_GPG_SECRET_KEY }}
@@ -63,3 +63,25 @@ jobs:
6363
contents: write
6464
with:
6565
project-id: log4j
66+
67+
verify-reproducibility:
68+
needs: [ deploy-snapshot, deploy-release ]
69+
if: ${{ always() && (needs.deploy-snapshot.result == 'success' || needs.deploy-release.result == 'success') }}
70+
name: "verify-reproducibility (${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.project-version || needs.deploy-snapshot.outputs.project-version }})"
71+
uses: apache/logging-parent/.github/workflows/verify-reproducibility-reusable.yaml@rel/12.0.0
72+
with:
73+
nexus-url: ${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.nexus-url || 'https://repository.apache.org/content/groups/snapshots' }}
74+
# Encode the `runs-on` input as JSON array
75+
runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
76+
77+
# Run integration-tests automatically after a snapshot or RC is published
78+
integration-test:
79+
needs: [ deploy-snapshot, deploy-release ]
80+
if: ${{ always() && (needs.deploy-snapshot.result == 'success' || needs.deploy-release.result == 'success') }}
81+
name: "integration-test (${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.project-version || needs.deploy-snapshot.outputs.project-version }})"
82+
uses: apache/logging-log4j-samples/.github/workflows/integration-test.yaml@main
83+
with:
84+
log4j-version: ${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.project-version || needs.deploy-snapshot.outputs.project-version }}
85+
log4j-repository-url: ${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.nexus-url || needs.deploy-snapshot.outputs.nexus-url }}
86+
# Use the `main` branch of `logging-log4j-samples`
87+
samples-ref: 'refs/heads/main'

.github/workflows/codeql-analysis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ permissions: read-all
3030
jobs:
3131

3232
analyze:
33-
uses: apache/logging-parent/.github/workflows/codeql-analysis-reusable.yaml@rel/11.3.0
33+
uses: apache/logging-parent/.github/workflows/codeql-analysis-reusable.yaml@rel/12.0.0
3434
with:
3535
java-version: 17
3636
# Permissions required to publish Security Alerts

.github/workflows/deploy-site.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
deploy-site-stg:
3535
if: github.repository == 'apache/logging-log4j2' && github.ref_name == 'main'
36-
uses: apache/logging-parent/.github/workflows/deploy-site-reusable.yaml@rel/11.3.0
36+
uses: apache/logging-parent/.github/workflows/deploy-site-reusable.yaml@rel/12.0.0
3737
# Secrets for committing the generated site
3838
secrets:
3939
GPG_SECRET_KEY: ${{ secrets.LOGGING_GPG_SECRET_KEY }}
@@ -51,7 +51,7 @@ jobs:
5151

5252
deploy-site-pro:
5353
if: github.repository == 'apache/logging-log4j2' && github.ref_name == 'main-site-pro'
54-
uses: apache/logging-parent/.github/workflows/deploy-site-reusable.yaml@rel/11.3.0
54+
uses: apache/logging-parent/.github/workflows/deploy-site-reusable.yaml@rel/12.0.0
5555
# Secrets for committing the generated site
5656
secrets:
5757
GPG_SECRET_KEY: ${{ secrets.LOGGING_GPG_SECRET_KEY }}
@@ -81,7 +81,7 @@ jobs:
8181
8282
deploy-site-rel:
8383
needs: export-version
84-
uses: apache/logging-parent/.github/workflows/deploy-site-reusable.yaml@rel/11.3.0
84+
uses: apache/logging-parent/.github/workflows/deploy-site-reusable.yaml@rel/12.0.0
8585
# Secrets for committing the generated site
8686
secrets:
8787
GPG_SECRET_KEY: ${{ secrets.LOGGING_GPG_SECRET_KEY }}

.github/workflows/develocity-publish-build-scans.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ jobs:
3131
steps:
3232

3333
- name: Setup Build Scan link capture
34-
uses: gradle/develocity-actions/maven-setup@9f1bf05334de7eb619731d5466c35a153742311d # 1.2
34+
uses: gradle/develocity-actions/setup-maven@b8d3a572314ffff3b940a2c1b7b384d4983d422d # 1.3
35+
with:
36+
capture-build-scan-links: true
3537

3638
- name: Publish Build Scans
37-
uses: gradle/develocity-actions/maven-publish-build-scan@9f1bf05334de7eb619731d5466c35a153742311d # 1.2
39+
uses: gradle/develocity-actions/maven-publish-build-scan@b8d3a572314ffff3b940a2c1b7b384d4983d422d # 1.3
3840
with:
3941
develocity-url: 'https://ge.apache.org'
4042
develocity-access-key: ${{ secrets.GE_ACCESS_TOKEN }}

.github/workflows/merge-dependabot.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
build:
3232
if: github.repository == 'apache/logging-log4j2' && github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]'
33-
uses: apache/logging-parent/.github/workflows/build-reusable.yaml@rel/11.3.0
33+
uses: apache/logging-parent/.github/workflows/build-reusable.yaml@rel/12.0.0
3434
secrets:
3535
DV_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
3636
with:
@@ -39,7 +39,7 @@ jobs:
3939

4040
merge-dependabot:
4141
needs: build
42-
uses: apache/logging-parent/.github/workflows/merge-dependabot-reusable.yaml@rel/11.3.0
42+
uses: apache/logging-parent/.github/workflows/merge-dependabot-reusable.yaml@rel/12.0.0
4343
permissions:
4444
contents: write # to push changelog commits
4545
pull-requests: write # to close the PR

.logging-parent-bom-activator

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
##
16+
This file activates the `flatten-bom` profile.

.mvn/wrapper/maven-wrapper.properties

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
distributionSha256Sum=8351955a9acf2f83c136c4eee0f6db894ab6265fdbe0a94b32a380307dbaa3e1
18-
distributionType=script
18+
distributionType=only-script
1919
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.8/apache-maven-3.9.8-bin.zip
20-
wrapperSha256Sum=3d8f20ce6103913be8b52aef6d994e0c54705fb527324ceb9b835b338739c7a8
21-
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.2/maven-wrapper-3.3.2.jar
2220
wrapperVersion=3.3.2

log4j-compress/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<commons-compress.version>1.27.1</commons-compress.version>
3333
<jimfs.version>1.3.0</jimfs.version>
3434
<xz.version>1.10</xz.version>
35-
<zstd.version>1.5.6-7</zstd.version>
35+
<zstd.version>1.5.7-2</zstd.version>
3636
</properties>
3737

3838
<dependencyManagement>

log4j-core-test/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
</bnd-extra-module-options>
6464

6565
<!-- Dependency versions -->
66-
<slf4j2.version>2.0.16</slf4j2.version>
67-
<wiremock.version>3.9.2</wiremock.version>
66+
<slf4j2.version>2.0.17</slf4j2.version>
67+
<wiremock.version>3.12.1</wiremock.version>
6868
</properties>
6969

7070
<dependencyManagement>
@@ -83,7 +83,7 @@
8383
<dependency>
8484
<groupId>com.google.code.gson</groupId>
8585
<artifactId>gson</artifactId>
86-
<version>2.11.0</version>
86+
<version>2.12.1</version>
8787
</dependency>
8888

8989
</dependencies>

log4j-core/src/main/java/org/apache/logging/log4j/core/Filter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public interface Filter extends LifeCycle {
4646
String ELEMENT_TYPE = "filter";
4747

4848
/**
49-
* The result that can returned from a filter method call.
49+
* The result that can be returned from a filter method call.
5050
*/
5151
enum Result {
5252
/**

0 commit comments

Comments
 (0)