apache / apache/maven

[MNG-6083] Maven 3.3.9 breaks release:perform by not including maven.config

Open
#7,659 17 comments 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 40m
Merged PRs (30d)
275

Description

**[Robert Patrick](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rhpatrick00)** opened **[MNG-6083](https://issues.apache.org/jira/browse/MNG-6083?redirect=false)** and commented

Our release process runs both our build and our integration tests. The integration tests rely on our project root directory's .mvn/maven.config file to run properly. The maven.config file is NOT checked into the source tree because it contains environment-specific values so each developer has their own version of it on each machine on which they build.

This has been working fine for months now but simply changing the version of Maven used from 3.3.3 to 3.3.9 causes the build to break due to not having the -Ds defined in $PROJECT_ROOT/.mvn/maven.config.

It appears that the release:perform goal checks out the release source in another location and with Maven 3.3.9, the maven.config from the original location is not being used. The build specifies the release-plugin version so the difference seems to be in the core Maven distribution.

---

**Affects:** 3.3.9

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.