ArtifactId und Beschreibung in pom.xml geändert, alten JAXB-Plugin-Kommentar entfernt, und Workflow für Maven-Build hinzugefügt.
This commit is contained in:
24
OMDSServiceDefinition/.gitea/workflows/maven-build.yaml
Normal file
24
OMDSServiceDefinition/.gitea/workflows/maven-build.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Java CI with Maven
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK 22
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '22'
|
||||
distribution: 'temurin'
|
||||
cache: maven
|
||||
|
||||
- name: Build with Maven
|
||||
run: mvn -B package --file pom.xml
|
||||
Reference in New Issue
Block a user