Skip to content

Add maven-enforcer-plugin to prevent SNAPSHOT usage in releases (v1) - #1057

Merged
frantuma merged 1 commit into
swagger-api:v1from
jmini:enforcer-plugin_v1
Mar 26, 2019
Merged

frantuma merged 1 commit into
swagger-api:v1from
jmini:enforcer-plugin_v1

Conversation

@jmini

@jmini jmini commented Mar 26, 2019

Copy link
Copy Markdown
Contributor

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:

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