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.
This issue forces us to bring all the dependencies for an offline installation, increasing its size form 4MB to 190MB, and the download time.