Skip to content

Commit ed0e4e7

Browse files
Merge branch 'main' into feature/issue-1597-add-listCodeownersErrors
2 parents 56027e5 + de97437 commit ed0e4e7

5,204 files changed

Lines changed: 1400674 additions & 7719 deletions

File tree

Some content is hidden

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

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.java text eol=lf
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Desktop (please complete the following information):**
24+
- OS: [e.g. iOS]
25+
- Browser [e.g. chrome, safari]
26+
- Version [e.g. 22]
27+
28+
**Additional context**
29+
Add any other context about the problem here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Description
2+
3+
<!-- Describe your change here -->
4+
5+
# Before submitting a PR:
6+
7+
- [ ] Changes must not break binary backwards compatibility. If you are unclear on how to make the change you think is needed while maintaining backward compatibility, [CONTRIBUTING.md](CONTRIBUTING.md) for details.
8+
- [ ] Add JavaDocs and other comments as appropriate. Consider including links in comments to relevant documentation on https://docs.github.com/en/rest .
9+
- [ ] Add tests that cover any added or changed code. This generally requires capturing snapshot test data. See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
10+
- [ ] Run `mvn -D enable-ci clean install site` locally. If this command doesn't succeed, your change will not pass CI.
11+
- [ ] Push your changes to a branch other than `main`. You will create your PR from that branch.
12+
13+
# When creating a PR:
14+
15+
- [ ] Fill in the "Description" above with clear summary of the changes. This includes:
16+
- [ ] If this PR fixes one or more issues, include "Fixes #<issue number>" lines for each issue.
17+
- [ ] Provide links to relevant documentation on https://docs.github.com/en/rest where possible.
18+
- [ ] All lines of new code should be covered by tests as reported by code coverage. Any lines that are not covered must have PR comments explaining why they cannot be covered. For example, "Reaching this particular exception is hard and is not a particular common scenario."
19+
- [ ] Enable "Allow edits from maintainers".

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "maven"
4+
directory: "/"
5+
rebase-strategy: "disabled"
6+
schedule:
7+
interval: "monthly"
8+
time: "02:00"
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
rebase-strategy: "disabled"
12+
schedule:
13+
interval: "monthly"
14+
time: "02:00"

.github/release-drafter.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name-template: 'v$NEXT_MINOR_VERSION 🌈'
2+
tag-template: 'github-api-$NEXT_MINOR_VERSION'
3+
version-template: '$MAJOR.$MINOR'
4+
categories:
5+
- title: '🚀 Features'
6+
labels:
7+
- 'feature'
8+
- 'enhancement'
9+
- title: '🐛 Bug Fixes'
10+
labels:
11+
- 'fix'
12+
- 'bugfix'
13+
- 'bug'
14+
- title: '🧰 Maintenance'
15+
label: 'chore'
16+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
17+
template: |
18+
## Changes
19+
20+
$CHANGES
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL"
13+
14+
on:
15+
push:
16+
branches: [ main, gh-pages ]
17+
pull_request:
18+
# The branches below must be a subset of the branches above
19+
branches: [ main ]
20+
schedule:
21+
- cron: '20 0 * * 6'
22+
23+
permissions:
24+
contents: read
25+
26+
jobs:
27+
analyze:
28+
permissions:
29+
actions: read # for github/codeql-action/init to get workflow details
30+
contents: read # for actions/checkout to fetch code
31+
security-events: write # for github/codeql-action/autobuild to send a status report
32+
name: Analyze
33+
runs-on: ubuntu-latest
34+
35+
strategy:
36+
fail-fast: false
37+
matrix:
38+
language: [ 'java' ]
39+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
40+
# Learn more:
41+
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
42+
43+
steps:
44+
- name: Checkout repository
45+
uses: actions/checkout@v3
46+
47+
# Initializes the CodeQL tools for scanning.
48+
- name: Initialize CodeQL
49+
uses: github/codeql-action/init@v2
50+
with:
51+
languages: ${{ matrix.language }}
52+
# If you wish to specify custom queries, you can do so here or in a config file.
53+
# By default, queries listed here will override any specified in a config file.
54+
# Prefix the list here with "+" to use these queries and those in the config file.
55+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
56+
57+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
58+
# If this step fails, then you should remove it and run the build manually (see below)
59+
- name: Autobuild
60+
uses: github/codeql-action/autobuild@v2
61+
62+
# ℹ️ Command-line programs to run using the OS shell.
63+
# 📚 https://git.io/JvXDl
64+
65+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
66+
# and modify them (or add more) to build your code if your project
67+
# uses a compiled language
68+
69+
#- run: |
70+
# make bootstrap
71+
# make release
72+
73+
- name: Perform CodeQL Analysis
74+
uses: github/codeql-action/analyze@v2

.github/workflows/maven-build.yml

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- '!/refs/heads/dependabot/*'
8+
pull_request:
9+
branches:
10+
- '*'
11+
- '!/refs/heads/patch*'
12+
13+
# this is required by spotless for JDK 16+
14+
env:
15+
JAVA_11_PLUS_MAVEN_OPTS: "--add-opens jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED"
16+
17+
permissions:
18+
contents: read
19+
20+
jobs:
21+
build:
22+
name: build-only (Java ${{ matrix.java }})
23+
runs-on: ubuntu-latest
24+
strategy:
25+
fail-fast: false
26+
matrix:
27+
java: [ 17 ]
28+
steps:
29+
- uses: actions/checkout@v3
30+
- name: Set up JDK
31+
uses: actions/setup-java@v3
32+
with:
33+
java-version: ${{ matrix.java }}
34+
distribution: 'zulu'
35+
cache: 'maven'
36+
- name: Maven Install (skipTests)
37+
env:
38+
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
39+
run: mvn -B clean install -DskipTests --file pom.xml
40+
site:
41+
name: site (Java ${{ matrix.java }})
42+
runs-on: ubuntu-latest
43+
strategy:
44+
fail-fast: false
45+
matrix:
46+
java: [ 17 ]
47+
steps:
48+
- uses: actions/checkout@v3
49+
- name: Set up JDK
50+
uses: actions/setup-java@v3
51+
with:
52+
java-version: ${{ matrix.java }}
53+
distribution: 'adopt'
54+
cache: 'maven'
55+
- name: Maven Site
56+
env:
57+
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
58+
run: mvn -B clean site -D enable-ci --file pom.xml
59+
test-8:
60+
name: test (${{ matrix.os }}, Java 8)
61+
runs-on: ${{ matrix.os }}-latest
62+
strategy:
63+
fail-fast: false
64+
matrix:
65+
os: [ ubuntu ]
66+
java: [ 8 ]
67+
steps:
68+
- uses: actions/checkout@v3
69+
- name: Set up JDK
70+
uses: actions/setup-java@v3
71+
with:
72+
java-version: ${{ matrix.java }}
73+
distribution: 'zulu'
74+
cache: 'maven'
75+
# JDK 8
76+
- name: Maven Install with Code Coverage
77+
run: mvn -B clean install -D enable-ci -Djapicmp.skip --file pom.xml
78+
- name: Codecov Report
79+
uses: codecov/[email protected]
80+
test:
81+
name: test (${{ matrix.os }}, Java ${{ matrix.java }})
82+
runs-on: ${{ matrix.os }}-latest
83+
strategy:
84+
fail-fast: false
85+
matrix:
86+
os: [ ubuntu, windows ]
87+
java: [ 11, 17 ]
88+
steps:
89+
- uses: actions/checkout@v3
90+
- name: Set up JDK
91+
uses: actions/setup-java@v3
92+
with:
93+
java-version: ${{ matrix.java }}
94+
distribution: 'zulu'
95+
cache: 'maven'
96+
# JDK 11+
97+
- name: Maven Install without Code Coverage
98+
if: matrix.os == 'windows'
99+
env:
100+
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
101+
run: mvn -B clean install -D japicmp.skip=true --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED"
102+
- name: Maven Install with Code Coverage
103+
if: matrix.os != 'windows'
104+
env:
105+
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
106+
run: mvn -B clean install -D enable-ci --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED"

.github/workflows/maven.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
name: Release Drafter
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
update_release_draft:
14+
permissions:
15+
contents: write # for release-drafter/release-drafter to create a github release
16+
pull-requests: write # for release-drafter/release-drafter to add label to PR
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Release Drafter
20+
uses: release-drafter/release-drafter@v5
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ target
77
.project
88
.settings/
99
.DS_Store
10+
11+
dependency-reduced-pom.xml
12+
.factorypath
13+
.vscode/settings.json

0 commit comments

Comments
 (0)