# \#maven

**URL:** https://discuss.circleci.com/tag/maven/231.md

[Latest](https://discuss.circleci.com/latest.md) · [Categories](https://discuss.circleci.com/categories.md) · [Tags](https://discuss.circleci.com/tags.md)

---

## [Sbt launcher fails with HTTP 429 from Maven Central](https://discuss.circleci.com/t/sbt-launcher-fails-with-http-429-from-maven-central/54810)

<div class="topic-metadata">

**Author:** [@chenyang](https://discuss.circleci.com/u/chenyang)\
**Replies:** 1\
**Last updated:** [July 24, 2026, 12:57am UTC](https://discuss.circleci.com/t/sbt-launcher-fails-with-http-429-from-maven-central/54810 "2026-07-24T00:57:54Z")

</div>

Hi all, My CircleCI builds are constantly failing from today when the sbt launcher tries to bootstrap sbt itself. The launcher can’t download org.scala-sbt:sbt:1.11.7 because Maven Central (repo1.maven.org) returns HTTP…

---

## [Build Failure Due After Using A Newer Image](https://discuss.circleci.com/t/build-failure-due-after-using-a-newer-image/50662)

<div class="topic-metadata">

**Author:** [@yatharth-zeotap](https://discuss.circleci.com/u/yatharth-zeotap)\
**Replies:** 3\
**Last updated:** [March 12, 2024, 5:57am UTC](https://discuss.circleci.com/t/build-failure-due-after-using-a-newer-image/50662 "2024-03-12T05:57:21Z")

</div>

I switched from ubuntu-2004:202201-02 to ubuntu-2204:2024.01.1 (also tried default). After switching the maven build started to fail with this error. \[e\[1;31mERRORe\[m\] error: scala.reflect.internal.FatalError: Error ac…

---

## [How to run maven tests on windows executor?](https://discuss.circleci.com/t/how-to-run-maven-tests-on-windows-executor/45357)

<div class="topic-metadata">

**Author:** [@insmav](https://discuss.circleci.com/u/insmav)\
**Replies:** 0\
**Last updated:** [September 12, 2022, 11:58am UTC](https://discuss.circleci.com/t/how-to-run-maven-tests-on-windows-executor/45357 "2022-09-12T11:58:04Z")

</div>

Hello I’m trying to run maven Junit tests from windows executor on Circle CI. The reason I use windows is because I need to do some stuff with the .exe in the tests prerequisites. Here CircleCI Developer Hub - circleci/…

---

## [Graalvm native image on Windows and MacOS with Maven](https://discuss.circleci.com/t/graalvm-native-image-on-windows-and-macos-with-maven/45077)

<div class="topic-metadata">

**Author:** [@bentatham](https://discuss.circleci.com/u/bentatham)\
**Replies:** 0\
**Last updated:** [August 15, 2022, 9:53pm UTC](https://discuss.circleci.com/t/graalvm-native-image-on-windows-and-macos-with-maven/45077 "2022-08-15T21:53:43Z")

</div>

I’m trying out CircleCI for the first time (coming from Bitbucket Pipelines). I have a maven build working to build Java executable graalvm-native-image in docker (linux), but I also need to build native windows and mac…

---

## [No valid OpenPGP data found](https://discuss.circleci.com/t/no-valid-openpgp-data-found/43640)

<div class="topic-metadata">

**Author:** [@moms-friends-son](https://discuss.circleci.com/u/moms-friends-son)\
**Replies:** 1\
**Last updated:** [April 12, 2022, 1:59pm UTC](https://discuss.circleci.com/t/no-valid-openpgp-data-found/43640 "2022-04-12T13:59:45Z")

</div>

I trying to configure circleCI config file to do build. I using external Nexus repository and now have this problem: gpg: directory '/home/circleci/.gnupg' created gpg: keybox '/home/circleci/.gnupg/pubring.kbx' create…

---

## [Bundle: command not found when save cucumber report](https://discuss.circleci.com/t/bundle-command-not-found-when-save-cucumber-report/42035)

<div class="topic-metadata">

**Author:** [@Kili](https://discuss.circleci.com/u/Kili)\
**Replies:** 1\
**Last updated:** [November 30, 2021, 2:38pm UTC](https://discuss.circleci.com/t/bundle-command-not-found-when-save-cucumber-report/42035 "2021-11-30T14:38:16Z")

</div>

Hi all, I’m following the document https://circleci.com/docs/2.0/collect-test-data/#cucumber but the build failed due to error: /bin/bash: line 1: bundle: command not found This is my config.yml version: 2.1 jobs…

---

## [How to upload the artifacts to maven?](https://discuss.circleci.com/t/how-to-upload-the-artifacts-to-maven/41043)

<div class="topic-metadata">

**Author:** [@abrolrahul](https://discuss.circleci.com/u/abrolrahul)\
**Replies:** 1\
**Last updated:** [August 24, 2021, 1:27pm UTC](https://discuss.circleci.com/t/how-to-upload-the-artifacts-to-maven/41043 "2021-08-24T13:27:35Z")

</div>

Currently, I am uploading artifacts to the google cloud platform and amazon s3. Now I want to upload the artifact to maven and I am new here so no idea how to do it. Please suggest some solution.

---

## [\[ERROR\] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project MobiquityProject: Compilation failure -\> \[Help 1\]](https://discuss.circleci.com/t/error-failed-to-execute-goal-org-apache-maven-plugins3-1-compile-default-compile-on-project-mobiquityproject-compilation-failure-help-1/40663)

<div class="topic-metadata">

**Author:** [@ken4ward](https://discuss.circleci.com/u/ken4ward)\
**Replies:** 0\
**Last updated:** [July 17, 2021, 12:31pm UTC](https://discuss.circleci.com/t/error-failed-to-execute-goal-org-apache-maven-plugins3-1-compile-default-compile-on-project-mobiquityproject-compilation-failure-help-1/40663 "2021-07-17T12:31:45Z")

</div>

This is my first time experience of running a project on CircleCI. I deployed my project on GitHub. I have ran this project severally locally and it runs fine. I decided to use CirCleCI for continuous integration and to…

---

## [Maven not working on circle ci : fail to set $JAVACMD](https://discuss.circleci.com/t/maven-not-working-on-circle-ci-fail-to-set-javacmd/40438)

<div class="topic-metadata">

**Author:** [@error23](https://discuss.circleci.com/u/error23)\
**Replies:** 0\
**Last updated:** [June 22, 2021, 7:39pm UTC](https://discuss.circleci.com/t/maven-not-working-on-circle-ci-fail-to-set-javacmd/40438 "2021-06-22T19:39:28Z")

</div>

When using custom docker build : Dockerfile : FROM fedora:34 ENV TERM=xterm ENV JAVA\_HOME=/usr/java/jdk-11.0.11/ ENV JDK\_HOME=/usr/java/jdk-11.0.11/ ENV JAVAC=/usr/java/jdk-11.0.11/bin/javac ENV PATH=$JAVA\_HOME:$JAVA\_…

---

## [Cross-project caching for the .m2 folder](https://discuss.circleci.com/t/cross-project-caching-for-the-m2-folder/40144)

<div class="topic-metadata">

**Author:** [@kovunov](https://discuss.circleci.com/u/kovunov)\
**Replies:** 0\
**Last updated:** [May 21, 2021, 2:42pm UTC](https://discuss.circleci.com/t/cross-project-caching-for-the-m2-folder/40144 "2021-05-21T14:42:05Z")

</div>

Hello everyone! I have an issue with caching .m2 folder across projects. Every time pom.xml is changed, the cache is refreshed in circleci and it increases the build time of the project by minutes - because we need to fe…

---

## [Conditional maven command](https://discuss.circleci.com/t/conditional-maven-command/39967)

<div class="topic-metadata">

**Author:** [@peringemar](https://discuss.circleci.com/u/peringemar)\
**Replies:** 2\
**Last updated:** [May 6, 2021, 8:20am UTC](https://discuss.circleci.com/t/conditional-maven-command/39967 "2021-05-06T08:20:17Z")

</div>

Hi, is it possible to have the maven command set using conditionals? something like this (not working example) version: 2.1 orbs: maven: circleci/maven@1.2 workflows: maven\_test: jobs: - maven/test: …

---

## [Installing a private GitHub maven package in CircleCI?](https://discuss.circleci.com/t/installing-a-private-github-maven-package-in-circleci/39706)

<div class="topic-metadata">

**Author:** [@skigar](https://discuss.circleci.com/u/skigar)\
**Replies:** 3\
**Last updated:** [April 12, 2021, 9:12pm UTC](https://discuss.circleci.com/t/installing-a-private-github-maven-package-in-circleci/39706 "2021-04-12T21:12:04Z")

</div>

My Maven web application uses several JAR dependencies hosted as private GitHub packages. I’m trying to set up a CI/CD pipeline with CircleCI. When CircleCI tries to build with mvn package, it fails with a 401 when atte…

---

## [Unable to save the test result & could not able to parallelise the tests](https://discuss.circleci.com/t/unable-to-save-the-test-result-could-not-able-to-parallelise-the-tests/39619)

<div class="topic-metadata">

**Author:** [@manjudr](https://discuss.circleci.com/u/manjudr)\
**Replies:** 7\
**Last updated:** [April 5, 2021, 12:27pm UTC](https://discuss.circleci.com/t/unable-to-save-the-test-result-could-not-able-to-parallelise-the-tests/39619 "2021-04-05T12:27:26Z")

</div>

Project Structre - pom.xml - //Main module module1 - pom.xml module2 - pom.xml config.yml version: 2.0 jobs: test: parallelism: 2 # parallel containers to split the tests…

---

## [Using another job as dependency](https://discuss.circleci.com/t/using-another-job-as-dependency/38932)

<div class="topic-metadata">

**Author:** [@RicardormDev](https://discuss.circleci.com/u/RicardormDev)\
**Replies:** 0\
**Last updated:** [January 28, 2021, 6:26am UTC](https://discuss.circleci.com/t/using-another-job-as-dependency/38932 "2021-01-28T06:26:05Z")

</div>

I have a Java project with a local maven repo dependency. What I want to achieve is to compile this in CI in any way. I was thinking of someway get another job (The other project) as a dependency. Any ideas on how to ac…

---

## [Change tag parameter of default executor on orbs maven](https://discuss.circleci.com/t/change-tag-parameter-of-default-executor-on-orbs-maven/38614)

<div class="topic-metadata">

**Author:** [@enjoeyland](https://discuss.circleci.com/u/enjoeyland)\
**Replies:** 2\
**Last updated:** [December 24, 2020, 12:07pm UTC](https://discuss.circleci.com/t/change-tag-parameter-of-default-executor-on-orbs-maven/38614 "2020-12-24T12:07:51Z")

</div>

I’m new in circleci and I’m not familiar with syntax of yaml file. I’m trying to build project by maven. so I’m using default yaml file given here I found that orbs circleci/maven use 13.0 version as default, here But…

---

## [Maven Orb with alternative caching strategy](https://discuss.circleci.com/t/maven-orb-with-alternative-caching-strategy/37629)

<div class="topic-metadata">

**Author:** [@skjolber](https://discuss.circleci.com/u/skjolber)\
**Replies:** 1\
**Last updated:** [October 2, 2020, 10:16pm UTC](https://discuss.circleci.com/t/maven-orb-with-alternative-caching-strategy/37629 "2020-10-02T22:16:10Z")

</div>

Hi, some time ago we created a new orb for Gradle, with new a caching strategy based on the git history. Now we have added a few improvements, and also published a corresponding orb for Maven. In a nutshell, the orb lo…

---

## [Maven and npm/vue concurrently?](https://discuss.circleci.com/t/maven-and-npm-vue-concurrently/36453)

<div class="topic-metadata">

**Author:** [@jjjoooeee](https://discuss.circleci.com/u/jjjoooeee)\
**Replies:** 0\
**Last updated:** [June 25, 2020, 7:17pm UTC](https://discuss.circleci.com/t/maven-and-npm-vue-concurrently/36453 "2020-06-25T19:17:52Z")

</div>

I have a kotlin backend / vue frontend “full stack” app. Locally, I have maven run npm install, then npm run lint / test / build (which all use vue-cli-service) as part of the standard build lifecycle. When running on …

---

## [Running Maven Integration Tests with docker-compose](https://discuss.circleci.com/t/running-maven-integration-tests-with-docker-compose/36437)

<div class="topic-metadata">

**Author:** [@jones](https://discuss.circleci.com/u/jones)\
**Replies:** 0\
**Last updated:** [June 25, 2020, 9:09am UTC](https://discuss.circleci.com/t/running-maven-integration-tests-with-docker-compose/36437 "2020-06-25T09:09:35Z")

</div>

Hello, we would like to run integration tests using docker-compose, however we have not been able to get it to run on circleci. The volumes for docker-compose -f docker-compose-it.yaml run run-tests are not populated wi…

---

## [Can't connect to docker containers started by "fabric8:docker-maven-plugin" during CI/CD](https://discuss.circleci.com/t/cant-connect-to-docker-containers-started-by-fabric8-docker-maven-plugin-during-ci-cd/35783)

<div class="topic-metadata">

**Author:** [@oluwatobi](https://discuss.circleci.com/u/oluwatobi)\
**Replies:** 1\
**Last updated:** [May 10, 2020, 7:52pm UTC](https://discuss.circleci.com/t/cant-connect-to-docker-containers-started-by-fabric8-docker-maven-plugin-during-ci-cd/35783 "2020-05-10T19:52:34Z")

</div>

Hey community, recently tried porting an older maven project to CircleCI and I ran into some issues while running integration tests. I have the project set up to integration tests after it starts the appropriate docker c…

---

## [Missing dependency in maven multi-module project](https://discuss.circleci.com/t/missing-dependency-in-maven-multi-module-project/33971)

<div class="topic-metadata">

**Author:** [@RichardGladman](https://discuss.circleci.com/u/RichardGladman)\
**Replies:** 3\
**Last updated:** [May 7, 2020, 11:22am UTC](https://discuss.circleci.com/t/missing-dependency-in-maven-multi-module-project/33971 "2020-05-07T11:22:55Z")

</div>

So I’m having a really weird issue with CircleCI and a multi-module maven project (https://github.com/RichardGladman/project-bluejay). My project builds and the tests all pass locally. When I push to github, or re-run …

---

## [Maven multi module project (reactor): Install goal does not see dependencies that have been built a while ago](https://discuss.circleci.com/t/maven-multi-module-project-reactor-install-goal-does-not-see-dependencies-that-have-been-built-a-while-ago/29051)

<div class="topic-metadata">

**Author:** [@jradziem](https://discuss.circleci.com/u/jradziem)\
**Replies:** 1\
**Last updated:** [February 11, 2020, 2:14pm UTC](https://discuss.circleci.com/t/maven-multi-module-project-reactor-install-goal-does-not-see-dependencies-that-have-been-built-a-while-ago/29051 "2020-02-11T14:14:12Z")

</div>

Hello, I’ve just started using CircleCi and spent about 3 hours trying solve this problem. Context: I have one maven project with several modules inside. There is core module and other modules depend on it. Problem: …

---

## [No test is running, what i'm doing wrong?](https://discuss.circleci.com/t/no-test-is-running-what-im-doing-wrong/34182)

<div class="topic-metadata">

**Author:** [@nidal94k](https://discuss.circleci.com/u/nidal94k)\
**Replies:** 1\
**Last updated:** [January 22, 2020, 12:04pm UTC](https://discuss.circleci.com/t/no-test-is-running-what-im-doing-wrong/34182 "2020-01-22T12:04:00Z")

</div>

You can see that no tests are running config file: docker: # specify the version you desire here - image: circleci/openjdk:8-jdk # Specify service dependencies here if necessary # CircleCI maintains a library …

---

## [Build are endless](https://discuss.circleci.com/t/build-are-endless/32344)

<div class="topic-metadata">

**Author:** [@sweetca](https://discuss.circleci.com/u/sweetca)\
**Replies:** 5\
**Last updated:** [September 15, 2019, 8:16am UTC](https://discuss.circleci.com/t/build-are-endless/32344 "2019-09-15T08:16:26Z")

</div>

Hello CI team we have a problem with builds of our application - its endless https://circleci.com/gh/codescoop/workflows/backend/tree/master We using step with: mvn clean package -DskipTests and in this step: build …

---

## [Context Variables in Maven Settings](https://discuss.circleci.com/t/context-variables-in-maven-settings/32183)

<div class="topic-metadata">

**Author:** [@alan-parry](https://discuss.circleci.com/u/alan-parry)\
**Replies:** 0\
**Last updated:** [August 30, 2019, 7:27am UTC](https://discuss.circleci.com/t/context-variables-in-maven-settings/32183 "2019-08-30T07:27:20Z")

</div>

Hi All, I’ve found this document which shows how to use a job’s environment variables in a maven settings file. Does anyone know if it’s possible to use context variables in a maven settings file in the same way? I’d…

---

## [Looking for pipeline example](https://discuss.circleci.com/t/looking-for-pipeline-example/31877)

<div class="topic-metadata">

**Author:** [@ahoffer](https://discuss.circleci.com/u/ahoffer)\
**Replies:** 0\
**Last updated:** [August 13, 2019, 3:20am UTC](https://discuss.circleci.com/t/looking-for-pipeline-example/31877 "2019-08-13T03:20:40Z")

</div>

New to Circle CI. I have Java projects, some use Maven and some use Gradle. I’d like to build the artifacts in one job, and then run 3 downstream jobs in parallel: owasp scan, sonar static analysis, and integration tes…

---

## [Convenience Images Update: Upcoming changes to Android images](https://discuss.circleci.com/t/convenience-images-update-upcoming-changes-to-android-images/27003)

<div class="topic-metadata">

**Author:** [@rose](https://discuss.circleci.com/u/rose)\
**Replies:** 2\
**Last updated:** [January 23, 2019, 3:31pm UTC](https://discuss.circleci.com/t/convenience-images-update-upcoming-changes-to-android-images/27003 "2019-01-23T15:31:46Z")

</div>

We will soon be removing some offline Google Maven repositories from our Android convenience images. Background Earlier this year, Google moved their Android Support Library, Firebase, and Google Play Services artifact…

---

## [Process exited with an error: 137 (Exit value: 137)](https://discuss.circleci.com/t/process-exited-with-an-error-137-exit-value-137/27490)

<div class="topic-metadata">

**Author:** [@khteh](https://discuss.circleci.com/u/khteh)\
**Replies:** 1\
**Last updated:** [January 6, 2019, 1:08am UTC](https://discuss.circleci.com/t/process-exited-with-an-error-137-exit-value-137/27490 "2019-01-06T01:08:41Z")

</div>

\[ERROR\] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:webpack (webpack build) on project iconverse-admin: Failed to run task: 'webpack.js --config=webpack.prod.js --env.minify' failed. org.apache.c…

---

## [How to use a private Maven repository in CircleCI?](https://discuss.circleci.com/t/how-to-use-a-private-maven-repository-in-circleci/27168)

<div class="topic-metadata">

**Author:** [@lamlephamngoc](https://discuss.circleci.com/u/lamlephamngoc)\
**Replies:** 1\
**Last updated:** [December 15, 2018, 3:17pm UTC](https://discuss.circleci.com/t/how-to-use-a-private-maven-repository-in-circleci/27168 "2018-12-15T15:17:29Z")

</div>

How can I config maven settings point to my company private remote repository ? Please help, thanks
