Skip to content

Commit

Permalink
commit pom
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangtien2k3 committed Aug 20, 2024
1 parent eb07fd6 commit ae76de7
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build-with-maven.yml
Original file line number Diff line number Diff line change
@@ -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
16 changes: 16 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@
<url>https://github.com/hoangtien2k3/fw-commons</url>
<tag>HEAD</tag>
</scm>
<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>

<properties>
<java.version>21</java.version>
Expand Down Expand Up @@ -69,6 +79,12 @@
</dependencyManagement>

<dependencies>
<!-- <dependency>-->
<!-- <groupId>com.github.hoangtien2k3</groupId>-->
<!-- <artifactId>fw-commons</artifactId>-->
<!-- <version>v1.1.0</version>-->
<!-- </dependency>-->

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jcl</artifactId>
Expand Down

0 comments on commit ae76de7

Please sign in to comment.