File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 23
23
# Given the fact that this is a multimodule project, build process will take long time so we activate caching
24
24
# To know more: https://maven.apache.org/extensions/maven-build-cache-extension/cache.html
25
25
cache : ' maven'
26
+
27
+ - name : Install Maven 4.0.0-rc-4
28
+ run : |
29
+ curl -sL https://archive.apache.org/dist/maven/maven-4/4.0.0-rc-4/binaries/apache-maven-4.0.0-rc-4-bin.tar.gz | tar xz
30
+ sudo mv apache-maven-4.0.0-rc-4 /opt/maven
31
+ echo "M2_HOME=/opt/maven" >> $GITHUB_ENV
32
+ echo "PATH=/opt/maven/bin:$PATH" >> $GITHUB_ENV
33
+
34
+ - name : Verify Maven version
35
+ run : mvn -v
36
+
26
37
- name : Build Javadoc Site with Maven
27
38
# To see the full stack trace of the errors, re-run Maven with the -e switch.
28
39
# Re-run Maven using the -X switch to enable full debug logging.
Original file line number Diff line number Diff line change 31
31
# Given the fact that this is a multimodule project, build process will take long time so we activate caching
32
32
# To know more: https://maven.apache.org/extensions/maven-build-cache-extension/cache.html
33
33
cache : ' maven'
34
+
35
+ - name : Install Maven 4.0.0-rc-4
36
+ run : |
37
+ curl -sL https://archive.apache.org/dist/maven/maven-4/4.0.0-rc-4/binaries/apache-maven-4.0.0-rc-4-bin.tar.gz | tar xz
38
+ sudo mv apache-maven-4.0.0-rc-4 /opt/maven
39
+ echo "M2_HOME=/opt/maven" >> $GITHUB_ENV
40
+ echo "PATH=/opt/maven/bin:$PATH" >> $GITHUB_ENV
41
+
42
+ - name : Verify Maven version
43
+ run : mvn -v
44
+
34
45
- name : Build with Maven
35
46
# To see the full stack trace of the errors, re-run Maven with the -e switch.
36
47
# Re-run Maven using the -X switch to enable full debug logging.
You can’t perform that action at this time.
0 commit comments