Skip to content

Commit

Permalink
Fix #1450: CI builds with Maven Wrapper to ensure that Maven Wrapper …
Browse files Browse the repository at this point in the history
…files and configuration are correct

+ Add Linux and Windows Github workflows for maven wrapper builds
  • Loading branch information
rohanKanojia committed May 15, 2021
1 parent 362965c commit 34ea02e
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/linux-mavenwrapper-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Linux Maven Wrapper Build

on:
push:
branches:
- master
pull_request:

jobs:
build:
name: Linux Java ${{ matrix.java }} Maven Wrapper
runs-on: ubuntu-latest
strategy:
matrix:
java: [11]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build Project
run: ./mvnw -B -C -V -ntp clean install
2 changes: 1 addition & 1 deletion .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Windows Build
name: Windows Maven Build

on:
push:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/windows-mavenwrapper-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Windows Maven Wrapper Build

on:
push:
branches:
- master
pull_request:

jobs:
build:
name: Windows Java ${{ matrix.java }} Maven Wrapper
runs-on: windows-latest
strategy:
matrix:
java: [11]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build Project
run: ./mvnw.cmd clean install
2 changes: 2 additions & 0 deletions doc/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# ChangeLog

* **0.35-SNAPSHOT**:
- CI builds with Maven Wrapper to ensure that Maven Wrapper files and configuration are correct ([1450](https://github.com/fabric8io/docker-maven-plugin/issues/1450))


* **0.35.0** (2021-04-04)
- Building 'spring-boot-with-jib' sample fails with NoSuchMethodError ([1384](https://github.com/fabric8io/docker-maven-plugin/issues/1384))
Expand Down

0 comments on commit 34ea02e

Please sign in to comment.