Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions java-showcase/gapic-showcase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<properties>
<gapic-showcase.version>0.36.2</gapic-showcase.version>
<slf4j1-logback.version>1.2.13</slf4j1-logback.version>
<slf4j1-logback.version>1.5.19</slf4j1-logback.version>
</properties>

<build>
Expand Down Expand Up @@ -244,13 +244,13 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.5.16</version>
<version>1.5.19</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.5.16</version>
<version>1.5.19</version>
Comment on lines +247 to +253

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To improve maintainability and ensure version consistency across profiles, consider using the ${slf4j1-logback.version} property for both logback-classic and logback-core instead of hardcoded versions. This centralizes logback version management.

Suggested change
<version>1.5.19</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.5.16</version>
<version>1.5.19</version>
<version>${slf4j1-logback.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${slf4j1-logback.version}</version>

<scope>test</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -333,13 +333,13 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.13</version>
<version>1.5.19</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.3.15</version>
<version>1.5.19</version>
Comment on lines +336 to +342

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency and better maintainability, please use the ${slf4j1-logback.version} property here as well for both logback-classic and logback-core. This makes future updates easier.

Suggested change
<version>1.5.19</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.3.15</version>
<version>1.5.19</version>
<version>${slf4j1-logback.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${slf4j1-logback.version}</version>

<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Loading