Skip to content

Commit

Permalink
Remove usage of spring-boot-dependencies BOM
Browse files Browse the repository at this point in the history
It added various side effect, by overriding managed dependencies defined in parent project
  • Loading branch information
murdos committed Mar 13, 2024
1 parent 0a54473 commit 441a5d4
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,6 @@
<jakarta.transaction-api.version>2.0.1</jakarta.transaction-api.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${org.springframework.boot_version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>com.buschmais.jqassistant.core</groupId>
Expand Down Expand Up @@ -127,11 +115,13 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<version>${org.springframework.boot_version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<version>${org.springframework.boot_version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -143,6 +133,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${org.springframework.boot_version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand All @@ -154,11 +145,13 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web-services</artifactId>
<version>${org.springframework.boot_version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
<version>${org.springframework.boot_version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -177,13 +170,6 @@
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<!-- Spring Boot BOM overwrites JAXB version used by jQA core -->
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.4.0-b180830.0438</version>
<scope>test</scope>
</dependency>
</dependencies>

</project>

0 comments on commit 441a5d4

Please sign in to comment.