Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13205

Distribution wizard needs too much dependencies from Maven

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Minor
    • None
    • 7.4.2
    • Extension, Extension - XAR
    • None
    • Linux Red Hat 6.5.
      XWiki 7.4.2.
      XWiki xwiki-enterprise-ui-mainwiki 7.4.2.
    • Unknown

    Description

      When importing the XAR xwiki-enterprise-ui-mainwiki, in XWiki, using:
      1) the manual installation, by going to the extension manager, the XAR installs just fine, without dependency.
      2) the distribution wizard, by replicating the Maven repository, but only keeping the XAR dependency in pom.xml, and excluding its dependencies, the distribution wizard complained, by checking all its dependencies, even if they are not used.

      If it works by using 1), then 2) is using unneeded dependencies. If I read the XAR information http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Enterprise+-+UI+-+Main+wiki , I see it has less dependency than the XAR. Even importing only these is not enough, the wizard needs all of it.
      See attached a picture of the error.

      Impact:
      This issue forces us to bring all the dependencies for an offline installation, increasing its size form 4MB to 190MB, and the download time.

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            trana Antoine Tran
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: