Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7184

SlingOptions.slingScriptingSightly fails to

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Testing PaxExam 0.0.4
    • Testing PaxExam 1.0.0
    • Testing
    • None

    Description

      trying to use SlingOptions.slingScriptingSightly in pipes IT i get the following error:

      org.osgi.framework.BundleException: Unable to resolve org.apache.sling.scripting.sightly.js.provider [208](R 208.0): missing requirement [org.apache.sling.scripting.sightly.js.provider [208](R 208.0)] io.sightly; (&(version>=1.0)(!(version>=2.0))) [caused by: Unable to resolve org.apache.sling.scripting.sightly [205](R 205.0): missing requirement [org.apache.sling.scripting.sightly [205](R 205.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.xss)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.apache.sling.xss [201](R 201.0): missing requirement [org.apache.sling.xss [201](R 201.0)] osgi.wiring.package; (osgi.wiring.package=javax.mail.internet)]] Unresolved requirements: [[org.apache.sling.scripting.sightly.js.provider [208](R 208.0)] io.sightly; (&(version>=1.0)(!(version>=2.0)))]
      

      "fixing" this with

              SlingOptions.versionResolver.setVersion("org.apache.sling", "org.apache.sling.xss", "1.0.18");
      ...
                  mavenBundle().groupId("javax.mail").artifactId("mail").version("1.5.0-b01"),
      

      Attachments

        Activity

          People

            olli Oliver Lietz
            npeltier Nicolas Peltier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: