Closed horsemanjacky closed 4 years ago
I think on Windows you have to put the -D
parameters in double quotes, so in this case:
mvn test "-Derp.username=USER" "-Derp.password=PASSWORD"
Sorry for the late reply, I missed the Github notification.
Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.
Tutorial URL: https://developers.sap.com/tutorials/s4sdk-odata-service-cloud-foundry.html
Please specify the step you are referring to
mvn test -Derp.username=USER -Derp.password=PASSWORD
ends with error
nknown lifecycle phase ".username=". You must specify a valid lifecycle phase or a goal in the format: or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean,
clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]