-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into QUARKUS-0dc30d1-Docummenting-xref_anchros-use
- Loading branch information
Showing
870 changed files
with
21,767 additions
and
4,708 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: "OWASP Dependency Check" | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * 0,3' | ||
|
||
jobs: | ||
owasp: | ||
name: OWASP Dependency Check Report | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'quarkusio/quarkus' | ||
|
||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 1 | ||
ref: main | ||
- name: Setup Java JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: temurin | ||
java-version: 11 | ||
|
||
|
||
- name: Build Java | ||
run: ./mvnw -B --settings .github/mvn-settings.xml -Dquickly-ci install | ||
|
||
- name: Perform OWASP Dependency Check Report | ||
run: ./mvnw -Dowasp-report | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: dependency-check-report | ||
path: target/dependency-check-report.html | ||
retention-days: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,3 +40,4 @@ nb-configuration.xml | |
/lsp/ | ||
.envrc | ||
.jekyll-cache | ||
.mvn/.gradle-enterprise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<extensions> | ||
<extension> | ||
<groupId>com.gradle</groupId> | ||
<artifactId>gradle-enterprise-maven-extension</artifactId> | ||
<version>1.17.1</version> | ||
</extension> | ||
<extension> | ||
<groupId>com.gradle</groupId> | ||
<artifactId>common-custom-user-data-maven-extension</artifactId> | ||
<version>1.11.1</version> | ||
</extension> | ||
</extensions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
|
||
// Add mvn command line | ||
def mvnCommand = '' | ||
if (System.env.MAVEN_CMD_LINE_ARGS) { | ||
mvnCommand = "mvn ${System.env.MAVEN_CMD_LINE_ARGS}".toString() | ||
buildScan.value('mvn command line', mvnCommand) | ||
} | ||
|
||
//Add github action information | ||
if (System.env.GITHUB_ACTIONS) { | ||
buildScan.value('gh-job-name', System.env.GITHUB_JOB) | ||
buildScan.value('gh-event-name', System.env.GITHUB_EVENT_NAME) | ||
buildScan.value('gh-ref-name', System.env.GITHUB_REF_NAME) | ||
buildScan.value('gh-actor', System.env.GITHUB_ACTOR) | ||
buildScan.value('gh-workflow', System.env.GITHUB_WORKFLOW) | ||
|
||
|
||
def prnumber = System.env.PULL_REQUEST_NUMBER | ||
if (prnumber != null) { | ||
buildScan.value('gh-pr', prnumber) | ||
buildScan.tag('pr-' + prnumber) | ||
} | ||
|
||
buildScan.buildScanPublished { publishedBuildScan -> | ||
new File(System.env.GITHUB_STEP_SUMMARY).withWriterAppend { out -> | ||
out.println("\n[Build scan for '${mavenCommand}' in ${jobName}](${publishedBuildScan.buildScanUri})\n") | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<gradleEnterprise> | ||
<server> | ||
<url>https://ge.quarkus.io</url> | ||
<allowUntrusted>false</allowUntrusted> | ||
</server> | ||
<buildScan> | ||
<!-- adjust conditions ? | ||
mvn gradle-enterprise:provision-access-key | ||
https://docs.gradle.com/enterprise/maven-extension/#publishing_based_on_criteria | ||
--> | ||
<publish>ALWAYS</publish> | ||
<obfuscation> | ||
<!-- Don't share ip addresses--> | ||
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses> | ||
</obfuscation> | ||
<capture> | ||
<goalInputFiles>true</goalInputFiles> | ||
</capture> | ||
<!-- https://docs.gradle.com/enterprise/maven-extension/#manual_access_key_configuration --> | ||
<backgroundBuildScanUpload>#{env['CI'] == null}</backgroundBuildScanUpload> | ||
<publishIfAuthenticated>true</publishIfAuthenticated> | ||
</buildScan> | ||
<buildCache> | ||
<local><enabled>false</enabled></local> | ||
<remote><enabled>false</enabled></remote> | ||
</buildCache> | ||
</gradleEnterprise> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.