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

Fix build error due to invalid version of tests module #1751

Closed
wants to merge 1 commit into from

Conversation

JohnNiang
Copy link
Contributor

What kind of this PR

/kind bug

What this PR does / Why we need it

  1. Make springdoc-openapi-tests as a submodule. After doing this, the versions in submodules will be automatically updated when the next release is made. Please refer to 9528d8f.
  2. Align versions of test modules with the main project to prevent build failures

@bnasslahsen
Copy link
Collaborator

@JohnNiang,

Totally agree 76d3dd6.
Thank you, just saw your PR.

@JohnNiang JohnNiang deleted the bug/fix-build-error branch July 31, 2022 02:24
@@ -79,6 +79,7 @@
<module>springdoc-openapi-starter-webflux-api</module>
<module>springdoc-openapi-starter-webmvc-ui</module>
<module>springdoc-openapi-starter-webflux-ui</module>
<module>springdoc-openapi-tests</module>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @bnasslahsen , please note the new module springdoc-openapi-tests here. After adding it, 3eddb9d and 7226564 will update the version automatically instead of updating manually.

If we care about the deployment for the module springdoc-openapi-tests, don't forget to configure the plugin maven-deploy-plugin at springdoc-openapi-tests/pom.xml:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-deploy-plugin</artifactId>
  <configuration>
    <skip>true</skip>
  </configuration>
</plugin>

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JohnNiang,

Thank you for your hint. For springdoc-openapi-tests it won't be necessary to keep deploying this module.

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

Successfully merging this pull request may close these issues.

2 participants