Uploaded image for project: 'LDAP'
  1. LDAP
  2. LDAP-163

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 9.16.1
    • Authenticator
    • None
    • XWiki 18.1.0 offline installation in an airgapped network
    • Unknown

    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.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            jott Jörn Ott
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: