Skip to content

Staging a release fails as Thymeleaf 3.1.0.RELEASE depends on artifacts from https://repo.spring.io/milestone #33348

@wilkinsona

Description

@wilkinsona
Execution failed for task ':spring-boot-project:spring-boot-autoconfigure:compileJava'.
> Could not resolve all files for configuration ':spring-boot-project:spring-boot-autoconfigure:compileClasspath'.
   > Could not resolve org.thymeleaf.extras:thymeleaf-extras-springsecurity6:3.1.0.RELEASE.
     Required by:
         project :spring-boot-project:spring-boot-autoconfigure
      > Could not resolve org.thymeleaf.extras:thymeleaf-extras-springsecurity6:3.1.0.RELEASE.
         > Could not parse POM https://repo.maven.apache.org/maven2/org/thymeleaf/extras/thymeleaf-extras-springsecurity6/3.1.0.RELEASE/thymeleaf-extras-springsecurity6-3.1.0.RELEASE.pom
            > Could not find org.springframework.security:spring-security-bom:6.0.0-RC2.
   > Could not resolve org.thymeleaf.extras:thymeleaf-extras-springsecurity6:3.1.0.RELEASE.
     Required by:
         project :spring-boot-project:spring-boot-autoconfigure > project :spring-boot-project:spring-boot-parent > project :spring-boot-project:spring-boot-dependencies
      > Could not resolve org.thymeleaf.extras:thymeleaf-extras-springsecurity6:3.1.0.RELEASE.
         > Could not parse POM https://repo.maven.apache.org/maven2/org/thymeleaf/extras/thymeleaf-extras-springsecurity6/3.1.0.RELEASE/thymeleaf-extras-springsecurity6-3.1.0.RELEASE.pom
            > Could not find org.springframework.security:spring-security-bom:6.0.0-RC2.

Our release builds should use only mavenCentral(). To work around this problem with Thymleaf, we'll need to add https://repo.spring.io/milestone as well, with its content limited to org.springframework.security:spring-security-bom.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions