0

I was having problems with a maven plugin in my work. after debugging the issue I found that one of the parameters was not being parsed correctly.

<additionalparam>
    -d "${project.build.directory}/apidocs"
</additionalparam>

So I tried removing the double quotes symbols, and then all work as expected.

<additionalparam>
    -d ${project.build.directory}/apidocs
</additionalparam>

The parameter with double quotes was parsing to this string.

"C:UsersJohnDocumentsconnector\target/apidocs"

and the other one

"C:\Users\John\Documents\slack-connector\target/apidocs"

Does maven evaluate the parameter when quoted?

Thanks.

0 Answers0