Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1917

Allow the ExtensionMojoHelper to take into account dependency exclusions

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • None
    • 11.3.7
    • None
    • None
    • Unknown

    Description

      It seems that the current ExtensionMojoHelper does not take into account dependency exclusions when building a XIP, see https://github.com/xwiki/xwiki-commons/blob/78fef1cb9cf41c074831129f9851cddb894f8e0e/xwiki-commons-tools/xwiki-commons-tool-extension-plugin/src/main/java/org/xwiki/tool/extension/util/ExtensionMojoHelper.java#L384

      In practice, it means that when creating a XIP with dependencies that contain exclusions, those exclusions will be added into the XIP. If one of those excluded dependencies are not available, then the build will fail.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              caubin Clément Aubin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: