Skip to content

Commit

Permalink
SAK-49739 use maven-enforcer to avoid duplicate dependency declaratio…
Browse files Browse the repository at this point in the history
  • Loading branch information
ottenhoff authored Feb 13, 2024
1 parent 1d09204 commit 84d7865
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
5 changes: 0 additions & 5 deletions deploy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -634,11 +634,6 @@
<artifactId>antlr</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
Expand Down
12 changes: 12 additions & 0 deletions master/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2737,6 +2737,18 @@
<fail>true</fail>
</configuration>
</execution>
<execution>
<id>no-duplicate-declared-dependencies</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<banDuplicatePomDependencyVersions/>
</rules>
<fail>true</fail>
</configuration>
</execution>
<execution>
<id>enforce-banned-dependencies</id>
<goals>
Expand Down
4 changes: 0 additions & 4 deletions microsoft-integration/impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
<groupId>org.sakaiproject.calendar</groupId>
<artifactId>sakai-calendar-api</artifactId>
</dependency>
<dependency>
<groupId>org.sakaiproject.calendar</groupId>
<artifactId>sakai-calendar-api</artifactId>
</dependency>

<!-- SPRING -->
<dependency>
Expand Down

0 comments on commit 84d7865

Please sign in to comment.