From affae917198f860297938f0d5e8dc8b17d53b345 Mon Sep 17 00:00:00 2001 From: rnveach Date: Sat, 22 Oct 2022 11:28:27 -0400 Subject: [PATCH] minor: test --- .circleci/config.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 750004da..de68c940 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,13 +2,15 @@ version: 2 jobs: build: docker: - - image: checkstyle/sonarqube-maven-git:7.7-community-8c1737e + - image: sonarqube:9.0-community working_directory: ~/repo environment: # Customize the JVM maximum heap limit MAVEN_OPTS: -Xmx3200m + MAVEN_VERSION: 3.3.9 + USER_HOME_DIR: "/root" steps: - checkout @@ -20,6 +22,13 @@ jobs: # fallback to using the latest cache if no exact match is found - v1-dependencies-sonarqube + # install maven + - run: |- + mkdir -p /usr/share/maven /usr/share/maven/ref + curl -fsSL http://apache.osuosl.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz \ + | tar -xzC /usr/share/maven --strip-components=1 \ + ln -s /usr/share/maven/bin/mvn /usr/bin/mvn + - run: mvn package -Pno-validations - save_cache: