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

Failed to validate extension that depends on com.atlassian.sal:sal-api

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      I get a "Installed by invalid" message in the EM. On restart, I get:

      2024-04-26 14:01:19,576 [main] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.contrib.jira:jira-api/8.8.1-SNAPSHOT] on namespace [wiki:xwiki] (InvalidExtensionException: No compatible extension is installed for dependency [com.atlassian.sal:sal-api-4.4.4])
      

      It seems the reason is that com.atlassian.sal:sal-api-4.4.4 is drawn as a JAR type by:

                  <dependency>
                      <groupId>com.atlassian.sal</groupId>
                      <artifactId>sal-api</artifactId>
                      <version>${sal.version}</version>
                  </dependency>
      

      While its packaging type is not a jar but ##atlassian-plugin##:

        <artifactId>sal-api</artifactId>
        <packaging>atlassian-plugin</packaging>
      

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: