apache / apache/maven-invoker-plugin

[MINVOKER-172] Settings MAVEN_OPTS will prevent usage of invoker.mavenOpts in invoker properties

Open
#635 2 comments 0 reactions 0 assignees View on GitHub
bug priority:minor
Dominant language
Java
Stars
22
Forks
35
Avg merge
2d 17h
Merged PRs (30d)
7

Description

**[Karl Heinz Marbaise](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=khmarbaise)** opened **[MINVOKER-172](https://issues.apache.org/jira/browse/MINVOKER-172?redirect=false)** and commented

If i set MAVEN_OPTS with things like `export MAVEN_OPTS="-Xmx1024m -Xms1024m -Djava.awt.headless=true"` in my `.mavenrc` it prevents the usage of `invoker.mavenOpts` within a invoker.properties file.

---

**Affects:** 1.9

**Issue Links:**
- [MPMD-293](https://issues.apache.org/jira/browse/MPMD-293) Fix integration test builds on jenkins

1 votes, 4 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with MAVEN_OPTS set in .mavenrc and invoker.mavenOpts configured in invoker.properties. Trace how the Maven Invoker Plugin combines those options. Done means invoker.mavenOpts is still applied when MAVEN_OPTS contains JVM options.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.