-
Notifications
You must be signed in to change notification settings - Fork 0
67 lines (59 loc) · 2.24 KB
/
maven.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-maven-enforcer-plugin-examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build 'maven-examples-parent' with Maven
run: mvn install --file maven-examples-parent/pom.xml
- name: Build 'maven-enforcer-rule-api-example' with Maven
run: mvn install --file maven-enforcer-rule-api-example/pom.xml
- name: Build 'maven-enforcer-plugin-examples' with Maven
run: mvn install --file maven-enforcer-plugin-examples/pom.xml
build-maven-resources-plugin-examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build 'maven-examples-parent' with Maven
run: mvn install --file maven-examples-parent/pom.xml
- name: Build 'maven-resources-plugin-examples' with Maven
run: mvn install --file maven-resources-plugin-examples/pom.xml
build-versions-maven-plugin-examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build 'maven-examples-parent' with Maven
run: mvn install --file maven-examples-parent/pom.xml
- name: Build 'versions-maven-plugin-examples' with Maven
run: mvn install --file versions-maven-plugin-examples/pom.xml
build-owasp-dependency-check-examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build 'maven-examples-parent' with Maven
run: mvn install --file maven-examples-parent/pom.xml
- name: Build 'owasp-dependency-check-examples' with Maven
run: mvn install --file owasp-dependency-check-examples/pom.xml