Skip to content

Commit

Permalink
Fix for logback version upgrade (#969)
Browse files Browse the repository at this point in the history
* Fix for logback version upgrade

* Addressing the review comments

* Review comments

* Review comments
  • Loading branch information
chandrashekar-s authored Mar 4, 2024
1 parent ace4fd4 commit 0da54ad
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bunsen/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<maven-javadoc.plugin.version>3.6.3</maven-javadoc.plugin.version>
<maven-project-info-reports.plugin.version>3.5.0</maven-project-info-reports.plugin.version>
<slf4j.version>2.0.12</slf4j.version>
<logback.version>1.4.12</logback.version>
<logback.version>1.5.0</logback.version>
</properties>

<modules>
Expand Down
30 changes: 27 additions & 3 deletions pipelines/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<bunsen.version>0.5.14-SNAPSHOT</bunsen.version>
<junit.version>4.13.2</junit.version>
<slf4j.version>2.0.12</slf4j.version>
<logback.version>1.4.11</logback.version>
<logback.version>1.5.0</logback.version>
<hapifhirVersion>6.10.4</hapifhirVersion>
<hamcrest.version>2.2</hamcrest.version>
<mockito.version>5.2.0</mockito.version>
Expand Down Expand Up @@ -92,6 +92,32 @@
<artifactId>jcommander</artifactId>
<version>${jcommander.version}</version>
</dependency>

<!-- In the controller module, we import the pom of the artifact -
org.springframework.boot:spring-boot-dependencies to inherit the dependencyManagement
section of it. The logback versions defined below will take precedence over the versions
defined in the org.springframework.boot:spring-boot-dependencies artifact because the direct
dependency takes precedence other the transitive dependency. -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback.version}</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-access</artifactId>
<version>${logback.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</dependencyManagement>

Expand All @@ -105,8 +131,6 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<scope>runtime</scope>
</dependency>

<!-- Test deps -->
Expand Down

0 comments on commit 0da54ad

Please sign in to comment.