sap-tutorials / Tutorials

Tutorials on sap.com
https://developers.sap.com/tutorial-navigator.html
Creative Commons Attribution 4.0 International
720 stars 773 forks source link

Connect to OData Service on Cloud Foundry Using SAP Cloud SDK #5421

Closed horsemanjacky closed 4 years ago

horsemanjacky commented 4 years ago

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]

MatKuhr commented 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.

MichaelCzcz commented 4 years ago

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.