Skip to content

Spring Security BOM 4.2.14.RELEASE is missing #7975

Closed

Description

@davyrod

Summary

Maven build is failing to compile due to missing dependencies when using the spring-security-bom maven artifact.

Actual Behavior

'mvn compile clean install' fails to build when

... org.springframework.security spring-security-bom 4.2.12.RELEASE pom import

is changed to

org.springframework.security spring-security-bom 4.2.14.RELEASE pom import

Expected Behavior

Maven downloads updated artifacts and build succesfully

Activity

  1. ghusta commented on Feb 21, 2020

    @ghusta
    Contributor

    In fact the Spring Security BOM artifact is not missing.
    What is missing is the dependencyManagement section containing all the dependencies.

  2. added this to the 4.2.15 milestone on Feb 27, 2020
  3. self-assigned this
    on Mar 30, 2020
  4. added a commit that references this issue on Mar 30, 2020
    f892746
  5. spring-projects-issues commented on Mar 30, 2020

    @spring-projects-issues

    Fixed via f892746

  6. rwinch commented on Mar 30, 2020

    @rwinch
    Member

    Thanks for the report @davyrod and additional details @ghusta. This is related to an update to our Bamboo server which required us making some changes to how things were deployed. The good news is that deployment is now totally independent of Bamboo which allows us to ensure passivity.

    A fix has been pushed to 4.2.x and will be released later this week.

  7. korbel commented on Apr 7, 2020

    @korbel
  8. rwinch commented on Apr 7, 2020

    @rwinch
    Member

    Thanks for pointing that out @korbel The changes seem to have fixed it for SNAPSHOTs but not for releases.

    <?xml version="1.0" encoding="UTF-8"?>
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <groupId>org.springframework.security</groupId>
      <artifactId>spring-security-bom</artifactId>
      <version>4.2.15.BUILD-SNAPSHOT</version>
      <packaging>pom</packaging>
      <name>spring-security-bom</name>
      <description>spring-security-bom</description>
      <url>https://spring.io/spring-security</url>
      <organization>
        <name>spring.io</name>
        <url>https://spring.io/</url>
      </organization>
      <licenses>
        <license>
          <name>The Apache Software License, Version 2.0</name>
          <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
          <distribution>repo</distribution>
        </license>
      </licenses>
      <developers>
        <developer>
          <id>rwinch</id>
          <name>Rob Winch</name>
          <email>rwinch@gopivotal.com</email>
        </developer>
      </developers>
      <scm>
        <connection>scm:git:git://github.com/spring-projects/spring-security</connection>
        <developerConnection>scm:git:git://github.com/spring-projects/spring-security</developerConnection>
        <url>https://github.com/spring-projects/spring-security</url>
      </scm>
      
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
              <source>1.7</source>
              <target>1.7</target>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-acl</artifactId>
            <version>4.2.15.BUILD-SNAPSHOT</version>
          </dependency>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-aspects</artifactId>
            <version>4.2.15.BUILD-SNAPSHOT</version>
          </dependency>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-cas</artifactId>
            <version>4.2.15.BUILD-SNAPSHOT</version>
          </dependency>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-config</artifactId>
            <version>4.2.15.BUILD-SNAPSHOT</version>
          </dependency>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-core</artifactId>
            <version>4.2.15.BUILD-SNAPSHOT</version>
          </dependency>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-crypto</artifactId>
            <version>4.2.15.BUILD-SNAPSHOT</version>
          </dependency>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-data</artifactId>
            <version>4.2.15.BUILD-SNAPSHOT</version>
          </dependency>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-ldap</artifactId>
            <version>4.2.15.BUILD-SNAPSHOT</version>
          </dependency>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-messaging</artifactId>
            <version>4.2.15.BUILD-SNAPSHOT</version>
          </dependency>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-openid</artifactId>
            <version>4.2.15.BUILD-SNAPSHOT</version>
          </dependency>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-remoting</artifactId>
            <version>4.2.15.BUILD-SNAPSHOT</version>
          </dependency>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-taglibs</artifactId>
            <version>4.2.15.BUILD-SNAPSHOT</version>
          </dependency>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-test</artifactId>
            <version>4.2.15.BUILD-SNAPSHOT</version>
          </dependency>
          <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-web</artifactId>
            <version>4.2.15.BUILD-SNAPSHOT</version>
          </dependency>
        </dependencies>
      </dependencyManagement>
    </project>
  9. reopened this on Apr 7, 2020
  10. modified the milestones: 4.2.15, 4.2.16 on Apr 7, 2020
  11. added a commit that references this issue on May 6, 2020
    a302106
  12. spring-projects-issues commented on May 6, 2020

    @spring-projects-issues

    Fixed via a302106

  13. rwinch commented on May 6, 2020

    @rwinch
    Member

    This still failed when being deployed to Central :-/

  14. reopened this on May 6, 2020
  15. modified the milestones: 4.2.16, 4.2.17 on May 6, 2020
  16. added a commit that references this issue on Jun 2, 2020
    75e2483
  17. spring-projects-issues commented on Jun 2, 2020

    @spring-projects-issues

    Fixed via 75e2483

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions