We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da243e2 commit db2304dCopy full SHA for db2304d
.circleci/config.yml
@@ -3,13 +3,19 @@ machine: true
3
jobs:
4
build:
5
machine:
6
- image: ubuntu-2004:202010-01
+ image: ubuntu-2204:2023.04.2
7
working_directory: ~/circleci-java
8
steps:
9
+ - run:
10
+ name: Install OpenJDK 11
11
+ command: |
12
+ sudo apt-get update && sudo apt-get install openjdk-11-jdk
13
+ sudo update-alternatives --set java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
14
+ sudo update-alternatives --set javac /usr/lib/jvm/java-11-openjdk-amd64/bin/javac
15
+ java -version
16
- checkout
17
- restore_cache:
18
key: maven-dependencies-{{ checksum "pom.xml" }}
- - run: java -version
19
- run: ./mvnw clean install
20
- run: ./mvnw javadoc:jar
21
- save_cache:
0 commit comments