You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
endpoints-framework-v2/backend issues with generating swagger docs #504
Upon cloning a fresh copy of java-docs-samples and following the instructions found here, I get the following error after trying to run mvn exec:java -DGetSwaggerDocs
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building echo 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.5.0:java (default-cli) @ echo ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.989 s
[INFO] Finished at: 2017-02-07T13:43:38-08:00
[INFO] Final Memory: 19M/437M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:java (default-cli) on project echo: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.5.0:java are missing or invalid -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginParameterException```
I was able to reproduce your error using mvn exec:java -DGetSwaggerDocs. I think the error is coming from adding 's' at the end of the of this parameter.
Activity
frankyn commentedon Feb 8, 2017
Hi Arosner,
Thank you for filing an issue.
I was able to reproduce your error using
mvn exec:java -DGetSwaggerDocs. I think the error is coming from adding 's' at the end of the of this parameter.Could you try
mvn exec:java -DGetSwaggerDoc?Arosner commentedon Feb 8, 2017
Oh man I feel so dumb, that was totally it.
Thanks frankyn.
frankyn commentedon Feb 8, 2017
You're welcome and please don't hesitate to file issues in the future. We are here to help!
deps: update dependency com.google.cloud:google-cloud-storage to v2.1…
deps: update dependency com.google.cloud:google-cloud-storage to v2.1…