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

SNAPSHOT Dependency with Spring Boot Starter Parent POM 2.3.1.RELEASE #22083

Closed
bohni opened this issue Jun 24, 2020 · 1 comment
Closed

SNAPSHOT Dependency with Spring Boot Starter Parent POM 2.3.1.RELEASE #22083

bohni opened this issue Jun 24, 2020 · 1 comment
Labels
for: external-project For an external project and not something we can fix

Comments

@bohni
Copy link

bohni commented Jun 24, 2020

I just upgraded our project to use spring-boot-starter-parent:2.3.1.RELEASE

Now the Maven Enforcer Plugin complains about a SNAPSHOT-Dependency

[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-project-rules) @ springboot-shgruppe ---
[WARNING] Rule 0: de.smartics.maven.enforcer.rule.NoSnapshotsInDependencyManagementRule failed with message:
Dependency Management contains SNAPSHOTS:
  0.8.3.BUILD-SNAPSHOT: Dependency {groupId=io.r2dbc, artifactId=r2dbc-proxy, version=0.8.3.BUILD-SNAPSHOT, type=jar}
 Please remove all SNAPSHOT dependencies!

Steps to reproduce:

  1. Download a fresh zip from https://start.srping.io using Version 2.3.1, Maven and Java
  2. Extract zip
  3. run ./mvnw help:effective-pom -Doutput=effective-pom.xml
  4. Search in effective-pom.xml for -SNAPSHOT

Result:

      <dependency>
        <groupId>io.r2dbc</groupId>
        <artifactId>r2dbc-proxy</artifactId>
        <version>0.8.3.BUILD-SNAPSHOT</version>
      </dependency>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 24, 2020
@wilkinsona
Copy link
Member

Thanks for the report. That's a bug in the R2DBC bom. spring-boot-dependencies imports Arabba-SR4. Unfortunately it contains a BUILD-SNAPSHOT dependency. It appears to have been fixed in Arabba-SR5 which we'll pick up in due course. In the meantime you can use the r2dbc-bom.version to override the version to Arabba-SR5.

@wilkinsona wilkinsona added for: external-project For an external project and not something we can fix and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 24, 2020
gbrnca added a commit to netceteragroup/girders that referenced this issue Jul 12, 2021
- SNAPSHOT version came via bug in io.r2dbc:r2dbc-bom used by r2dbc-proxy, resolved with spring boot version upgrade; see spring-projects/spring-boot#22083
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix
Projects
None yet
Development

No branches or pull requests

3 participants