Skip to content

[MNG-4559] MAVEN_OPTS are incorrectly resolved in Unix #6145

@jira-importer

Description

@jira-importer

Maxim Podkolzine opened MNG-4559 and commented

I'm trying to pass a quoted parameter through MAVEN_OPTS, e.g.
MAVEN_OPTS="-Dfoo='bar baz'"

As a result the quotes are not resolved, causing Java failure:
Exception in thread "main" java.lang.NoClassDefFoundError: baz'
...

I couldn't figure out a way to make it work.


Affects: 2.2.1, 3.0.5

Issue Links:

  • MINVOKER-209 ITs fail (on Windows 10) when working directory contains space
    ("blocks")
  • MNG-7199 MAVENHOME_CONFIG var in mvnlauncher script improperly handles two options at once

Remote Links:

5 votes, 14 watchers

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions