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

Importmap analysis can fail in case of snapshot fetched remotely

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 18.2.1
    • Javascript - Importmap
    • None
    • Unknown

    Description

      Reproduction steps

      1. build a module with an importmap and referencing a module with a snapshot version
      2. make sure the target directory of the referenced module is empty

      Expected

      The build pass

      Actual

      The build fails with an error like

      [ERROR] Failed to execute goal org.xwiki.platform:xwiki-platform-tool-importmap-plugin:18.4.0-SNAPSHOT:verify (enforce-valid-javascript-importmap) on project                               
        xwiki-platform-livedata-webjar: Unable to find path [index.es.js] in jar                                                                                                                    
        [/home/mleduc/.m2/repository/org/xwiki/platform/xwiki-platform-livedata-node-componentstore/18.4.0-SNAPSHOT/xwiki-platform-livedata-node-componentstore-18.4.0-SNAPSHOT.jar] -> [Help 1]  
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: