# Dependency Problem with LDAP Authenticator Extension and XWiki 17.10.3

**URL:** <https://forum.xwiki.org/t/dependency-problem-with-ldap-authenticator-extension-and-xwiki-17-10-3/18229>\
**Category:** Help / Discuss\
**Tags:** ldap, xwiki\
**Created:** [February 18, 2026, 1:57pm UTC](https://forum.xwiki.org/t/dependency-problem-with-ldap-authenticator-extension-and-xwiki-17-10-3/18229 "2026-02-18T13:57:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrwinman](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/m/3bc359/32.png) [@mrwinman](https://forum.xwiki.org/u/mrwinman)\
**Post date:** [February 18, 2026, 1:57pm UTC](https://forum.xwiki.org/t/dependency-problem-with-ldap-authenticator-extension-and-xwiki-17-10-3/18229/1 "2026-02-18T13:57:39Z")

</div>

Hi, I’m currently running XWiki 16.10.15 with LDAP Authentication extension 9.15.7.

I want to upgrade XWiki to 17.10.3 and LDAP Authentication extension to the latest 9.16.1.

When building the XIP package (we’re running XWiki in an air-gapped environment) I get a dependency error:

```auto
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.6.2:enforce (enforce-jdom2) on project package:
[ERROR] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies failed with message:
[ERROR] Use org.jdom:jdom2 instead
[ERROR] groupid:package:xip:17.10.3
[ERROR] org.xwiki.contrib.ldap:ldap-authenticator:jar:9.16.1
[ERROR] org.xwiki.platform:xwiki-platform-oldcore:jar:8.4
[ERROR] org.xwiki.commons:xwiki-commons-xml:jar:8.4
[ERROR] org.jdom:jdom:jar:1.1.3 <--- banned via the exclude/include list

```

Is the extension compatible with XWiki 17.10? Or am I doing anything wrong?

For the sake of completeness: We’re running XWiki as docker container (postgres-tomcat).

Thanks in advance, Jim

---

<div class="post-metadata">

**Author:** ![mrwinman](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/m/3bc359/32.png) [@mrwinman](https://forum.xwiki.org/u/mrwinman)\
**Post date:** [February 18, 2026, 2:36pm UTC](https://forum.xwiki.org/t/dependency-problem-with-ldap-authenticator-extension-and-xwiki-17-10-3/18229/2 "2026-02-18T14:36:04Z")

</div>

It seems, `jdom2` has been introduced with [XWiki 17.0.0](https://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/17.0.0/).

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [February 18, 2026, 2:38pm UTC](https://forum.xwiki.org/t/dependency-problem-with-ldap-authenticator-extension-and-xwiki-17-10-3/18229/3 "2026-02-18T14:38:48Z")

</div>

> [@mrwinman](#):
>
> Is the extension compatible with XWiki 17.10? Or am I doing anything wrong?

I think it’s mainly that Maven does not like too much the mix of XWiki 8.4 dependency with the constraints of XWiki 17.10.3.

The way the extension dependencies are resolved in XWiki will be very different during install (it will see that a  
`xwiki-platform-oldcore` 8.4+ is already there and won’t look at transitive dependencies), but Maven is missing some information.

The simplest would probably be to exclude `org.xwiki.platform:xwiki-platform-oldcore` from the `ldap-authenticator` dependency you have in the pom.

---

<div class="post-metadata">

**Author:** ![mrwinman](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/m/3bc359/32.png) [@mrwinman](https://forum.xwiki.org/u/mrwinman)\
**Post date:** [February 19, 2026, 7:44am UTC](https://forum.xwiki.org/t/dependency-problem-with-ldap-authenticator-extension-and-xwiki-17-10-3/18229/4 "2026-02-19T07:44:16Z")

</div>

Maven seems happy now, thank you!
