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

endpoints-framework-v2/backend issues with generating swagger docs #504

Closed
Arosner opened this issue Feb 7, 2017 · 3 comments
Closed

endpoints-framework-v2/backend issues with generating swagger docs #504

Arosner opened this issue Feb 7, 2017 · 3 comments

Comments

@Arosner
Copy link

Arosner commented Feb 7, 2017

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```
@frankyn
Copy link
Member

frankyn commented 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
Copy link
Author

Arosner commented Feb 8, 2017

Oh man I feel so dumb, that was totally it.

Thanks frankyn.

@frankyn
Copy link
Member

frankyn commented Feb 8, 2017

You're welcome and please don't hesitate to file issues in the future. We are here to help!

@frankyn frankyn closed this as completed Feb 8, 2017
Shabirmean pushed a commit that referenced this issue Nov 10, 2022
…0.0 (#504)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-storage](https://togithub.com/googleapis/java-storage) | `2.8.0` -> `2.10.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.10.0/compatibility-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.10.0/confidence-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/java-storage</summary>

### [`v2.10.0`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#&#8203;2100-httpsgithubcomgoogleapisjava-storagecomparev293v2100-2022-07-13)

[Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.9.3...v2.10.0)

##### Features

-   Custom Placement Config Dual Region Support ([#&#8203;1470](https://togithub.com/googleapis/java-storage/issues/1470)) ([36440fc](https://togithub.com/googleapis/java-storage/commit/36440fc587976acc78f4dae480214b80ad3fc477))

##### Bug Fixes

-   enable longpaths support for windows test ([#&#8203;1485](https://togithub.com/googleapis/java-storage/issues/1485)) ([#&#8203;1506](https://togithub.com/googleapis/java-storage/issues/1506)) ([e36e809](https://togithub.com/googleapis/java-storage/commit/e36e80934644ccd5e873754c625367f24e5fc7f3))

##### Documentation

-   **sample:** upgrade maven-surefire and remove junit-platform-native ([#&#8203;1476](https://togithub.com/googleapis/java-storage/issues/1476)) ([9b222e4](https://togithub.com/googleapis/java-storage/commit/9b222e483937bd0639123899442c1e863683718a))

##### Dependencies

-   update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.13 ([#&#8203;1501](https://togithub.com/googleapis/java-storage/issues/1501)) ([36e3898](https://togithub.com/googleapis/java-storage/commit/36e389857ea3f86350af5763c829e5f1caaaa3ec))

### [`v2.9.3`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#&#8203;293-httpsgithubcomgoogleapisjava-storagecomparev292v293-2022-07-08)

[Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.9.2...v2.9.3)

##### Dependencies

-   update dependency com.google.apis:google-api-services-storage to v1-rev20220705-1.32.1 ([#&#8203;1494](https://togithub.com/googleapis/java-storage/issues/1494)) ([5612f0f](https://togithub.com/googleapis/java-storage/commit/5612f0f929582c9e720d67683f9441d96080fb14))

### [`v2.9.2`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#&#8203;292-httpsgithubcomgoogleapisjava-storagecomparev291v292-2022-07-06)

[Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.9.1...v2.9.2)

##### Dependencies

-   update kms.version to v0.97.0 ([#&#8203;1488](https://togithub.com/googleapis/java-storage/issues/1488)) ([852cafe](https://togithub.com/googleapis/java-storage/commit/852cafe7db018a6fd666c3490c96eeca34c4a1ed))

### [`v2.9.1`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#&#8203;291-httpsgithubcomgoogleapisjava-storagecomparev290v291-2022-07-06)

[Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.9.0...v2.9.1)

##### Dependencies

-   update dependency com.google.cloud:google-cloud-pubsub to v1.120.0 ([#&#8203;1487](https://togithub.com/googleapis/java-storage/issues/1487)) ([5a8f6e5](https://togithub.com/googleapis/java-storage/commit/5a8f6e5f29e4dfb2dc03cad8c77e4b504bc83019))

### [`v2.9.0`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#&#8203;290-httpsgithubcomgoogleapisjava-storagecomparev281v290-2022-06-27)

[Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.8.1...v2.9.0)

##### Features

-   Enable REST transport for most of Java and Go clients ([#&#8203;1469](https://togithub.com/googleapis/java-storage/issues/1469)) ([cfb6fd8](https://togithub.com/googleapis/java-storage/commit/cfb6fd8c1f13cb2115e5ff7ea7af41a9e27986b1))

##### Documentation

-   Clarified how clients should work with resumable uploads ([#&#8203;1457](https://togithub.com/googleapis/java-storage/issues/1457)) ([15baa27](https://togithub.com/googleapis/java-storage/commit/15baa27c97aacca115981f5c14d942a8ddd6cb1f))

##### Dependencies

-   update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 ([#&#8203;1468](https://togithub.com/googleapis/java-storage/issues/1468)) ([1a817fe](https://togithub.com/googleapis/java-storage/commit/1a817fef87e626e74dab47eaff33c1d9d3c56bb5))
-   update dependency org.graalvm.buildtools:junit-platform-native to v0.9.12 ([#&#8203;1463](https://togithub.com/googleapis/java-storage/issues/1463)) ([d42c570](https://togithub.com/googleapis/java-storage/commit/d42c5704e4fe7341dfdd0562fa0bdbcd4bc99c7e))
-   update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.12 ([#&#8203;1464](https://togithub.com/googleapis/java-storage/issues/1464)) ([2f35a4f](https://togithub.com/googleapis/java-storage/commit/2f35a4f597870a4506119946510ba82fbb7f9449))
-   update kms.version to v0.96.3 ([#&#8203;1471](https://togithub.com/googleapis/java-storage/issues/1471)) ([ceb7fa6](https://togithub.com/googleapis/java-storage/commit/ceb7fa665c35f6b00aebaa665246597b9ee4632a))

### [`v2.8.1`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#&#8203;281-httpsgithubcomgoogleapisjava-storagecomparev280v281-2022-06-13)

[Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.8.0...v2.8.1)

##### Dependencies

-   update dependency com.google.apis:google-api-services-storage to v1-rev20220608-1.32.1 ([#&#8203;1448](https://togithub.com/googleapis/java-storage/issues/1448)) ([96676cd](https://togithub.com/googleapis/java-storage/commit/96676cd830aca27c23c08e02e8cc7c58dece686c))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-retail).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMzUuMSIsInVwZGF0ZWRJblZlciI6IjMyLjEzNS4xIn0=-->
Shabirmean pushed a commit that referenced this issue Nov 15, 2022
…0.0 (#504)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-storage](https://togithub.com/googleapis/java-storage) | `2.8.0` -> `2.10.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.10.0/compatibility-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.10.0/confidence-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/java-storage</summary>

### [`v2.10.0`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#&#8203;2100-httpsgithubcomgoogleapisjava-storagecomparev293v2100-2022-07-13)

[Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.9.3...v2.10.0)

##### Features

-   Custom Placement Config Dual Region Support ([#&#8203;1470](https://togithub.com/googleapis/java-storage/issues/1470)) ([36440fc](https://togithub.com/googleapis/java-storage/commit/36440fc587976acc78f4dae480214b80ad3fc477))

##### Bug Fixes

-   enable longpaths support for windows test ([#&#8203;1485](https://togithub.com/googleapis/java-storage/issues/1485)) ([#&#8203;1506](https://togithub.com/googleapis/java-storage/issues/1506)) ([e36e809](https://togithub.com/googleapis/java-storage/commit/e36e80934644ccd5e873754c625367f24e5fc7f3))

##### Documentation

-   **sample:** upgrade maven-surefire and remove junit-platform-native ([#&#8203;1476](https://togithub.com/googleapis/java-storage/issues/1476)) ([9b222e4](https://togithub.com/googleapis/java-storage/commit/9b222e483937bd0639123899442c1e863683718a))

##### Dependencies

-   update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.13 ([#&#8203;1501](https://togithub.com/googleapis/java-storage/issues/1501)) ([36e3898](https://togithub.com/googleapis/java-storage/commit/36e389857ea3f86350af5763c829e5f1caaaa3ec))

### [`v2.9.3`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#&#8203;293-httpsgithubcomgoogleapisjava-storagecomparev292v293-2022-07-08)

[Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.9.2...v2.9.3)

##### Dependencies

-   update dependency com.google.apis:google-api-services-storage to v1-rev20220705-1.32.1 ([#&#8203;1494](https://togithub.com/googleapis/java-storage/issues/1494)) ([5612f0f](https://togithub.com/googleapis/java-storage/commit/5612f0f929582c9e720d67683f9441d96080fb14))

### [`v2.9.2`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#&#8203;292-httpsgithubcomgoogleapisjava-storagecomparev291v292-2022-07-06)

[Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.9.1...v2.9.2)

##### Dependencies

-   update kms.version to v0.97.0 ([#&#8203;1488](https://togithub.com/googleapis/java-storage/issues/1488)) ([852cafe](https://togithub.com/googleapis/java-storage/commit/852cafe7db018a6fd666c3490c96eeca34c4a1ed))

### [`v2.9.1`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#&#8203;291-httpsgithubcomgoogleapisjava-storagecomparev290v291-2022-07-06)

[Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.9.0...v2.9.1)

##### Dependencies

-   update dependency com.google.cloud:google-cloud-pubsub to v1.120.0 ([#&#8203;1487](https://togithub.com/googleapis/java-storage/issues/1487)) ([5a8f6e5](https://togithub.com/googleapis/java-storage/commit/5a8f6e5f29e4dfb2dc03cad8c77e4b504bc83019))

### [`v2.9.0`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#&#8203;290-httpsgithubcomgoogleapisjava-storagecomparev281v290-2022-06-27)

[Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.8.1...v2.9.0)

##### Features

-   Enable REST transport for most of Java and Go clients ([#&#8203;1469](https://togithub.com/googleapis/java-storage/issues/1469)) ([cfb6fd8](https://togithub.com/googleapis/java-storage/commit/cfb6fd8c1f13cb2115e5ff7ea7af41a9e27986b1))

##### Documentation

-   Clarified how clients should work with resumable uploads ([#&#8203;1457](https://togithub.com/googleapis/java-storage/issues/1457)) ([15baa27](https://togithub.com/googleapis/java-storage/commit/15baa27c97aacca115981f5c14d942a8ddd6cb1f))

##### Dependencies

-   update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 ([#&#8203;1468](https://togithub.com/googleapis/java-storage/issues/1468)) ([1a817fe](https://togithub.com/googleapis/java-storage/commit/1a817fef87e626e74dab47eaff33c1d9d3c56bb5))
-   update dependency org.graalvm.buildtools:junit-platform-native to v0.9.12 ([#&#8203;1463](https://togithub.com/googleapis/java-storage/issues/1463)) ([d42c570](https://togithub.com/googleapis/java-storage/commit/d42c5704e4fe7341dfdd0562fa0bdbcd4bc99c7e))
-   update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.12 ([#&#8203;1464](https://togithub.com/googleapis/java-storage/issues/1464)) ([2f35a4f](https://togithub.com/googleapis/java-storage/commit/2f35a4f597870a4506119946510ba82fbb7f9449))
-   update kms.version to v0.96.3 ([#&#8203;1471](https://togithub.com/googleapis/java-storage/issues/1471)) ([ceb7fa6](https://togithub.com/googleapis/java-storage/commit/ceb7fa665c35f6b00aebaa665246597b9ee4632a))

### [`v2.8.1`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#&#8203;281-httpsgithubcomgoogleapisjava-storagecomparev280v281-2022-06-13)

[Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.8.0...v2.8.1)

##### Dependencies

-   update dependency com.google.apis:google-api-services-storage to v1-rev20220608-1.32.1 ([#&#8203;1448](https://togithub.com/googleapis/java-storage/issues/1448)) ([96676cd](https://togithub.com/googleapis/java-storage/commit/96676cd830aca27c23c08e02e8cc7c58dece686c))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-retail).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMzUuMSIsInVwZGF0ZWRJblZlciI6IjMyLjEzNS4xIn0=-->
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

2 participants