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
Right now, our API is such that releases are enabled by default (with no way to turn that off) and snapshots are disabled by default. We could keep drifting from those defaults but we should at least make sure they're properly applied in generated poms.
The text was updated successfully, but these errors were encountered:
For the record, here is what we configured in Spring Native with the goal of preventing downloads of snapshot dependencies from releases repositories and of release dependencies from snapshots repositories.
wilkinsona
changed the title
MavenRepository should explicitely set whether release and snapshots are enabled
MavenRepository should explicitly set whether release and snapshots are enabled
Apr 20, 2021
The default for
releases.enabled
andsnapshots.enabled
are both true (see https://stackoverflow.com/questions/61684312/in-a-maven-repository-entry-in-the-pom-are-snapshots-enabled-by-default).Right now, our API is such that releases are enabled by default (with no way to turn that off) and snapshots are disabled by default. We could keep drifting from those defaults but we should at least make sure they're properly applied in generated poms.
The text was updated successfully, but these errors were encountered: