Abel Salgado Romero created MINVOKER-198:
--------------------------------------------

             Summary: mavenOpts in invoker.properties does not accept 
parameters with spaces
                 Key: MINVOKER-198
                 URL: https://issues.apache.org/jira/browse/MINVOKER-198
             Project: Maven Invoker Plugin
          Issue Type: Bug
    Affects Versions: 2.0.0
         Environment: Maven 3.3.9 and 3.2.5.
Win/Linux/Mac
            Reporter: Abel Salgado Romero


Seems that mavenOpts does some additional parsing and comand line arguments 
with spaces and not read correctly.
This prevents writting tests that when run from 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"




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to