From ae76de7c0457c64f7a977d2686eed89112ec8bc8 Mon Sep 17 00:00:00 2001 From: hoangtien2k3 Date: Tue, 20 Aug 2024 16:35:48 +0700 Subject: [PATCH] commit pom --- .github/workflows/build-with-maven.yml | 26 ++++++++++++++++++++++++++ pom.xml | 16 ++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 .github/workflows/build-with-maven.yml diff --git a/.github/workflows/build-with-maven.yml b/.github/workflows/build-with-maven.yml new file mode 100644 index 0000000..5f9ce36 --- /dev/null +++ b/.github/workflows/build-with-maven.yml @@ -0,0 +1,26 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven + +name: build-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 21 + uses: actions/setup-java@v3 + with: + java-version: '21' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: ./mvnw clean package -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -B -V -U --file pom.xml \ No newline at end of file diff --git a/pom.xml b/pom.xml index 7567e15..75c6203 100644 --- a/pom.xml +++ b/pom.xml @@ -35,6 +35,16 @@ https://github.com/hoangtien2k3/fw-commons HEAD + + + sonatype-nexus-staging + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + + + sonatype-nexus-snapshots + https://s01.oss.sonatype.org/content/repositories/snapshots/ + + 21 @@ -69,6 +79,12 @@ + + + + + + org.springframework spring-jcl