Skip to content

Commit

Permalink
➕ add check for outdated dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Fihlon <[email protected]>
  • Loading branch information
McPringle committed Jul 14, 2024
1 parent 3b5f5f2 commit 6305b47
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,26 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>com.giovds</groupId>
<artifactId>outdated-maven-plugin</artifactId>
<version>1.0.0</version>
<configuration>
<!-- The maximum amount of inactive years allowed -->
<years>1</years>
<!-- Whether to fail the build if an outdated dependency is found -->
<shouldFailBuild>true</shouldFailBuild>
</configuration>
<executions>
<execution>
<id>outdated-check</id>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 6305b47

Please sign in to comment.