Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions lighty-core/dependency-versions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<dependency>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent</artifactId>
<version>14.1.6</version>
<version>14.1.7</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -56,7 +56,7 @@
<dependency>
<groupId>org.opendaylight.infrautils</groupId>
<artifactId>infrautils-artifacts</artifactId>
<version>7.1.9</version>
<version>7.1.10</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -77,7 +77,7 @@
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yangtools-artifacts</artifactId>
<version>14.0.20</version>
<version>14.0.21</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -144,7 +144,7 @@
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.14.0</version>
<version>5.14.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions lighty-core/lighty-binding-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@
<plugin>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yang-maven-plugin</artifactId>
<version>14.0.20</version>
<version>14.0.21</version>
Copy link
Copy Markdown

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 avoid hardcoding the same version in multiple places, consider defining a property for the yangtools version in the <properties> section and using it here. For example, you could add <yangtools.version>14.0.21</yangtools.version>.

Suggested change
<version>14.0.21</version>
<version>${yangtools.version}</version>

<dependencies>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>binding-codegen</artifactId>
<version>14.0.20</version>
<version>14.0.21</version>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Use the yangtools.version property here as well for consistency.

Suggested change
<version>14.0.21</version>
<version>${yangtools.version}</version>

</dependency>
</dependencies>
<executions>
Expand Down
8 changes: 4 additions & 4 deletions lighty-core/lighty-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
<version>3.5.0</version>
<configuration>
<archive>
<manifest>
Expand Down Expand Up @@ -192,7 +192,7 @@
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
<version>12.1.1</version>
<version>12.1.2</version>
</dependency>
<dependency>
<groupId>com.github.sevntu-checkstyle</groupId>
Expand All @@ -202,7 +202,7 @@
<dependency>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>checkstyle</artifactId>
<version>14.1.6</version>
<version>14.1.7</version>
Copy link
Copy Markdown

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 avoid hardcoding the same version in multiple places, consider defining a property for the odlparent version in the <properties> section and using it here and for the spotbugs dependency. For example, you could add <odlparent.version>14.1.7</odlparent.version>.

Suggested change
<version>14.1.7</version>
<version>${odlparent.version}</version>

</dependency>
</dependencies>
</plugin>
Expand All @@ -219,7 +219,7 @@
<dependency>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>spotbugs</artifactId>
<version>14.1.6</version>
<version>14.1.7</version>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Use the odlparent.version property here as well for consistency.

Suggested change
<version>14.1.7</version>
<version>${odlparent.version}</version>

</dependency>
<!-- The SpotBugs Maven plugin uses SLF4J-2 -->
<dependency>
Expand Down
Loading