Skip to content

deps(deps-dev): bump org.apache.maven.plugins:maven-compiler-plugin from 3.14.1 to 3.15.0 #64

deps(deps-dev): bump org.apache.maven.plugins:maven-compiler-plugin from 3.14.1 to 3.15.0

deps(deps-dev): bump org.apache.maven.plugins:maven-compiler-plugin from 3.14.1 to 3.15.0 #64

name: "CodeQL"
permissions:
contents: read
actions: read
security-events: write
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
schedule:
- cron: "0 3 * * 1"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: ["java"]
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Set up JDK 17 and Maven Cache
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165
with:
java-version: "17"
distribution: "temurin"
cache: "maven"
- name: Install Groovy
run: sudo apt-get update && sudo apt-get install -y groovy
- name: Initialize CodeQL
uses: github/codeql-action/init@17783bfb99b07f70fae080b654aed0c514057477
with:
languages: ${{ matrix.language }}
- name: 1. Clone and Install apis-bom
run: |
git clone https://github.com/hyphae/apis-bom.git ../apis-bom
mvn -B -f ../apis-bom/pom.xml clean install -DskipTests=true -Dmaven.test.failure.ignore=true
# Install apis-bom as version 3.0.0 (apis-common requires this version)
echo "Installing apis-bom as version 3.0.0..."
cd ../apis-bom
mvn install:install-file -Dfile=pom.xml -DgroupId=jp.co.sony.csl.dcoes.apis -DartifactId=apis-bom -Dversion=3.0.0 -Dpackaging=pom || (echo "ERROR: Failed to install apis-bom:3.0.0" && exit 1)
echo "Verifying installation..."
if [ ! -f ~/.m2/repository/jp/co/sony/csl/dcoes/apis/apis-bom/3.0.0/apis-bom-3.0.0.pom ]; then
echo "ERROR: apis-bom:3.0.0 not found in local repository!"
exit 1
fi
echo "✓ apis-bom:3.0.0 successfully installed"
- name: 2. Clone and Install apis-common
run: |
git clone https://github.com/hyphae/apis-common.git ../apis-common
mvn -B -f ../apis-common/pom.xml clean install -DskipTests=true -Dmaven.test.failure.ignore=true
- name: Build apis-main
run: mvn -B clean package -DskipTests
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@17783bfb99b07f70fae080b654aed0c514057477
continue-on-error: true