Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
remisbaima opened this issue Aug 3, 2020 · 3 comments
Assignees

Comments

@remisbaima
Copy link

remisbaima commented Aug 3, 2020

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

@remisbaima remisbaima changed the title Deployment fails when axway.anm.password has an equal "=" sign Deployment fails when axway.anm.password has any of the signs: = or & Aug 3, 2020
@remisbaima remisbaima changed the title Deployment fails when axway.anm.password has any of the signs: = or & Deployment fails when axway.anm.password has special signs e.g.: = or & Aug 3, 2020
@soaErikNord
Copy link
Collaborator

Did you happen to try something like:

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

@remisbaima
Copy link
Author

remisbaima commented Aug 7, 2020

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 mlookaxw self-assigned this Oct 28, 2020
@mlookaxw
Copy link
Member

mlookaxw commented Feb 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants