Axway-API-Management-Plus / apigw-maven-plugin

Maven plugin for Axway API Gateway/Manager development and deployment.
Apache License 2.0
11 stars 9 forks source link

Deployment fails when axway.anm.password has special signs e.g.: = or & #50

Open remisbaima opened 4 years ago

remisbaima commented 4 years ago

When I deploy and the password has special signs e.g. mvn apigw:deploy -Daxway.anm.password='abc=xyz&' , the deployment fails.

soaErikNord commented 4 years ago

Did you happen to try something like:

... -Daxway.anm.password=abc\=xyz& ...

remisbaima commented 4 years ago

when I try this i get the error:

$ mvn apigw:deploy -Daxway.anm.password=abc=xyz& -pl dev
[1] 1712
bash: -pl: command not found

And there can be any special char in the password: / {} [] *+#? ...

Did you happen to try something like:

... -Daxway.anm.password=abc=xyz& ...

mlookaxw commented 7 months ago

Passing special chars via command line requires single quotes (as used in the initial description)

$ mvn apigw:deploy -Daxway.anm.password='abc=xyz&' -p1 dev