File tree Expand file tree Collapse file tree 2 files changed +64
-0
lines changed Expand file tree Collapse file tree 2 files changed +64
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3
+
4
+ name : Java CI with Maven
5
+
6
+ on :
7
+ push :
8
+ branches : [ "main" ]
9
+ pull_request :
10
+ branches : [ "main" ]
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+ - name : Set up JDK 21
18
+ uses : actions/setup-java@v4
19
+ with :
20
+ java-version : ' 21'
21
+ distribution : ' temurin'
22
+ cache : ' maven'
23
+ - name : Generate settings.xml for Maven Builds
24
+ uses : whelk-io/maven-settings-xml-action@v20
25
+ with :
26
+ repositories : ' [{ "id": "github", "url": "https://maven.pkg.github.com/flexmodel-projects/flexmodel-maven-packages", "snapshots": { "enabled" : true } }]'
27
+ servers : ' [{ "id": "github", "username": "cjbi", "password": "${{ secrets.MAVEN_TOKEN }}" }]'
28
+ - name : Build with Maven
29
+ run : |
30
+ chmod +x mvnw
31
+ ./mvnw -B clean deploy
Original file line number Diff line number Diff line change
1
+ HELP.md
2
+ target /
3
+ ! .mvn /wrapper /maven-wrapper.jar
4
+ ! ** /src /main /** /target /
5
+ ! ** /src /test /** /target /
6
+
7
+ # ## STS ###
8
+ .apt_generated
9
+ .classpath
10
+ .factorypath
11
+ .project
12
+ .settings
13
+ .springBeans
14
+ .sts4-cache
15
+
16
+ # ## IntelliJ IDEA ###
17
+ .idea
18
+ * .iws
19
+ * .iml
20
+ * .ipr
21
+
22
+ # ## NetBeans ###
23
+ /nbproject /private /
24
+ /nbbuild /
25
+ /dist /
26
+ /nbdist /
27
+ /.nb-gradle /
28
+ build /
29
+ ! ** /src /main /** /build /
30
+ ! ** /src /test /** /build /
31
+
32
+ # ## VS Code ###
33
+ .vscode /
You can’t perform that action at this time.
0 commit comments