Skip to content

renamed groupId and package names #21

renamed groupId and package names

renamed groupId and package names #21

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: Build with Maven / Java ${{ matrix.java }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- java: 21
profile: java-21
- java: 17
profile: java-17
steps:
# Step 1: Checkout repository
- name: Checkout
uses: actions/checkout@v6
# Step 2: Setup JDK + enable Maven cache
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: ${{ matrix.java }}
cache: maven
# Step 3: Build + run tests
- name: Build and test with profile ${{ matrix.profile }}
run: mvn -B clean verify -P${{ matrix.profile }}
# =========================================================
# FUTURE EXTENSIONS (placeholders)
# =========================================================
# Static analysis (e.g. SpotBugs, Checkstyle, Sonar)
# - name: Run static analysis
# run: mvn verify -Panalysis
# Code coverage (e.g. JaCoCo report upload)
# - name: Upload coverage
# uses: actions/upload-artifact@v4
# with:
# name: coverage-report
# path: target/site/jacoco/
# Build artifacts (JARs) and store them
# - name: Upload build artifacts
# uses: actions/upload-artifact@v4
# with:
# name: jars
# path: |
# **/target/*.jar
# Integration tests (if you add them later)
# - name: Run integration tests
# run: mvn verify -Pintegration-tests
# Publish to Maven repository (disabled for now)
# - name: Deploy to Maven Central / Nexus
# if: github.ref == 'refs/heads/main'
# run: mvn deploy
# env:
# MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
# MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
# Release step (GitHub Releases, tagging, etc.)
# - name: Create release
# uses: softprops/action-gh-release@v2
# if: startsWith(github.ref, 'refs/tags/')