Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2f848fc

Browse files
committed
XWIKI-22211: Deprecate NotificationFilterPreferenceProvider
* Properly exclude dependencies in legacy-dependencies to avoid getting twice same class
1 parent cd2d762 commit 2f848fc

File tree

1 file changed

+11
-0
lines changed
  • xwiki-platform-distribution/xwiki-platform-distribution-war-legacydependencies

1 file changed

+11
-0
lines changed

xwiki-platform-distribution/xwiki-platform-distribution-war-legacydependencies/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
<exclude>org.xwiki.platform:xwiki-platform-instance:*:jar:*</exclude>
6767
<exclude>org.xwiki.platform:xwiki-platform-mail-send-storage:*:jar:*</exclude>
6868
<exclude>org.xwiki.platform:xwiki-platform-notifications-api:*:jar:*</exclude>
69+
<exclude>org.xwiki.platform:xwiki-platform-notifications-filters-api:*:jar:*</exclude>
6970
</excludes>
7071
<message>We should not get both the clean and the legacy JARs</message>
7172
</bannedDependencies>
@@ -466,6 +467,12 @@
466467
<groupId>org.xwiki.platform</groupId>
467468
<artifactId>xwiki-platform-legacy-notifications-notifiers-api</artifactId>
468469
<version>${project.version}</version>
470+
<exclusions>
471+
<exclusion>
472+
<groupId>org.xwiki.platform</groupId>
473+
<artifactId>xwiki-platform-notifications-filters-api</artifactId>
474+
</exclusion>
475+
</exclusions>
469476
</dependency>
470477
<dependency>
471478
<groupId>org.xwiki.platform</groupId>
@@ -487,6 +494,10 @@
487494
<groupId>org.xwiki.commons</groupId>
488495
<artifactId>xwiki-commons-component-api</artifactId>
489496
</exclusion>
497+
<exclusion>
498+
<groupId>org.xwiki.platform</groupId>
499+
<artifactId>xwiki-platform-notifications-filters-api</artifactId>
500+
</exclusion>
490501
</exclusions>
491502
</dependency>
492503
</dependencies>

0 commit comments

Comments
 (0)