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

extraJars are resolved with current module version in UITest

    XMLWordPrintable

Details

    • Unknown
    • N/A

    Description

      The extraJars options of UITest allows to only specify a groupId:artifactId of the jar to inject, however those jars are not resolved using their dependency version, but are resolved using the module version.
      So for example if a contrib module is on 1.1-SNAPSHOT and we specify:

      @UITest(
          extraJARs = {
              "org.xwiki.platform:xwiki-platform-notifications-filters-default"
          }
      )
      

      we obtain the following:

      Could not transfer artifact org.xwiki.platform:xwiki-platform-notifications-filters-default:pom:1.1-SNAPSHOT
      

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: