Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#34478·nx

maven.config is not read with the new maven executor

Author: altaieziorCreated Feb 17, 2026Updated Sep 17, 2026
Labelstype: bugstalescope: javapriority: medium

Current Behavior

After the change https://github.com/nrwl/nx/pull/34180

Since the process based executor is not used, .mvn/maven.config is not recognized

Expected Behavior

Ideally it should be recognized or a way should be provided to supply additional maven parameters to keep the flow consistent for building the maven projects

GitHub Repo

https://github.com/altaiezior/nx-issues/tree/main/issue-34539

Steps to Reproduce

  1. Use .mvn/maven.config
  2. Keep --settings settings.xml
  3. Use local mirror in settings.xml

The new mirrors are not picked up

Nx Report

bash
NX   Report complete - copy this into the issue template

Node           : 24.13.1
OS             : darwin-arm64
Native Target  : aarch64-macos
pnpm           : 10.29.3
daemon         : Available

nx                 : 22.5.1
@nx/js             : 22.5.1
@nx/eslint         : 22.5.1
@nx/workspace      : 22.5.1
@nx/jest           : 22.5.1
@nx/devkit         : 22.5.1
@nx/eslint-plugin  : 22.5.1
@nx/maven          : 22.5.1
@nx/plugin         : 22.5.1
typescript         : 5.9.3
---------------------------------------
Registered Plugins:
@nx/maven
@naxodev/gonx
---------------------------------------
Community plugins:
@naxodev/gonx : 3.0.0
---------------------------------------
Local workspace plugins:
@mnnx/nx-grpc
---------------------------------------
Cache Usage: 34.62 KB / 46.04 GB

Failure Logs

bash

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Source: nrwl/nx

View original on GitHubView discussion on GitHub