Skip to content

Commit

Permalink
[ISSUE-1138] added maven enforcer plugin to keep dependencies version…
Browse files Browse the repository at this point in the history
…s aligned
  • Loading branch information
florentos17 authored and chibenwa committed Oct 25, 2024
1 parent fd8240e commit e158f5e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions logback-contrib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,5 @@
</dependency>
</dependencies>
</dependencyManagement>

</project>
30 changes: 30 additions & 0 deletions tmail-backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -377,4 +377,34 @@
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>enforce-dependency-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireSameVersions>
<plugins>
<plugin>ch.qos.logback:logback-classic</plugin>
<plugin>ch.qos.logback:logback-core</plugin>
<plugin>ch.qos.logback:logback-access</plugin>
</plugins>
</requireSameVersions>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>

0 comments on commit e158f5e

Please sign in to comment.