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

Add maven-enforcer-plugin to prevent SNAPSHOT usage in releases #1056

Merged
merged 1 commit into from
Mar 26, 2019

Conversation

jmini
Copy link
Contributor

@jmini jmini commented Mar 26, 2019

To prevent having SNAPSHOT versions in the dependency tree in released versions, I propose to add the maven-enforcer-plugin to the build with the requireReleaseDeps activated for release build.

Because this project is using SNAPSHOT versions during development, I think that using onlyWhenRelease = true is the appropriate setting for this project.

Documentation: https://maven.apache.org/enforcer/enforcer-rules/requireReleaseDeps.html

Related:

@jmini
Copy link
Contributor Author

jmini commented Mar 26, 2019

Same change for v1 branch: #1057

@frantuma frantuma merged commit 239b847 into swagger-api:master Mar 26, 2019
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.

None yet

2 participants