Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.0.0
-
None
-
None
-
Maven 3.3.9 and 3.2.5.
Linux/Mac
Description
Seems that mavenOpts does some additional parsing and comand line arguments with spaces are not read correctly.
This prevents writing tests that when run on console in a normal maven build they work.
Here is an example of what I want to test:
https://github.com/abelsromero/asciidoctor-maven-plugin/blob/attributes_command/src/it/article-html-attributes/invoker.properties
If you see the "asciidoctor.attributes" is a chain with many internal parameters and spaces. This works on console, but not in the test.
But the test fails with the message:
Error: Could not find or load main class source-highlighter=coderay"
Attachments
Attachments
Issue Links
- relates to
-
MINVOKER-208 Documentation about invoker properties related to usage of options/parameters should be improved
- Closed