This issue has been created
 
 
LDAP / cid:jira-generated-image-avatar-40c17f79-f453-4b3e-9e47-c47571f5d385 LDAP-163 Open

Can't create xip for offline installation of authenticator v9.16.1 on xwiki 18.1.0

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-a5445cc0-3570-4abc-b1aa-8434b32e860b Jörn Ott created this issue on 30/Mar/26 15:43
 
Summary: Can't create xip for offline installation of authenticator v9.16.1 on xwiki 18.1.0
Issue Type: cid:jira-generated-image-avatar-40c17f79-f453-4b3e-9e47-c47571f5d385 Bug
Affects Versions: 9.16.1
Assignee: Unassigned
Components: Authenticator
Created: 30/Mar/26 15:43
Environment: XWiki 18.1.0 offline installation in an airgapped network
Priority: cid:jira-generated-image-static-major-ed0aee40-6b9c-4d9d-a369-95a69948b073 Major
Reporter: Jörn Ott
Description:

Following the instructions on this helpful forum article, I tried to build a xip package for the latest version of the ldap-authenticator. I replaced the version number for XWiki in the POM with 18.1.0 and the version for the ldap-authenticator with 9.16.1 and ran maven package.

This resulted in the following error message:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.6.2:enforce (enforce-jdom2) on project ldap-xip: 
[ERROR] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies failed with message:
[ERROR] Use org.jdom:jdom2 instead
[ERROR] org.xwiki.contrib.ldap:ldap-xip:xip:18.1.0
[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
[ERROR] 

I have noticed, that there is a newer version of xwiki-platform-oldcore (18.0.1) available but the ldap plugin requires 8.4 but I have no idea if it is (a) possible to replace the older 8.4 version with a newer one and (b) how I could accomplish this.