8000 Update pom.xml headers; Update CodeQL · Labs64/NetLicensingClient-java@e73aa70 · GitHub
[go: up one dir, main page]

Skip to content

Commit e73aa70

Browse files
authored
Update pom.xml headers; Update CodeQL
1 parent 375ce83 commit e73aa70

File tree

4 files changed

+28
-22
lines changed

4 files changed

+28
-22
lines changed

.github/workflows/netlicesning-client-codeql-analysis.yml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -25,48 +25,51 @@ jobs:
2525
analyze:
2626
name: Analyze
2727
runs-on: [self-hosted]
28-
container: maven:3-amazoncorretto-17
28+
container: maven:3-eclipse-temurin-17
2929
permissions:
30-
actions: read
31-
contents: read
3230
security-events: write
3331

3432
strategy:
3533
fail-fast: false
3634
matrix:
37-
language: [ 'java' ]
38-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
39-
# Learn more about CodeQL language support at https://git.io/codeql-language-support
35+
language: [ 'java-kotlin' ]
36+
# CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]
37+
# Use only 'java-kotlin' to analyze code written in Java, Kotlin or both
38+
# Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
39+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
4040

4141
steps:
4242
- name: Checkout repository
43-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@v2
47+
uses: github/codeql-action/init@v3
4848
with:
4949
languages: ${{ matrix.language }}
5050
# If you wish to specify custom queries, you can do so here or in a config file.
5151
# By default, queries listed here will override any specified in a config file.
5252
# Prefix the list here with "+" to use these queries and those in the config file.
53-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5453

55-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
55+
# queries: security-extended,security-and-quality
56+
57+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
5658
# If this step fails, then you should remove it and run the build manually (see below)
5759
- name: Autobuild
58-
uses: github/codeql-action/autobuild@v2
60+
uses: github/codeql-action/autobuild@v3
5961

6062
# ℹ️ Command-line programs to run using the OS shell.
61-
# 📚 https://git.io/JvXDl
63+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
6264

63-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
64-
# and modify them (or add more) to build your code if your project
65-
# uses a compiled language
65+
# If the Autobuild fails above, remove it and uncomment the following three lines.
66+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
6667

67-
#- run: |
68-
# make bootstrap
69-
# make release
68+
# - run: |
69+
# echo "Run, Build Application using script"
70+
#< 10000 /span> ./location_of_script_within_repo/buildscript.sh
7071

7172
- name: Perform CodeQL Analysis
72-
uses: github/codeql-action/analyze@v2
73+
uses: github/codeql-action/analyze@v3
74+
with:
75+
category: "/language:${{matrix.language}}"

NetLicensingClient-demo/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
34

45
<modelVersion>4.0.0</modelVersion>
56

NetLicensingClient/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
34

45
<modelVersion>4.0.0</modelVersion>
56

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
34

45
<modelVersion>4.0.0</modelVersion>
56
<groupId>com.labs64.netlicensing</groupId>

0 commit comments

Comments
 (0)
0