You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Nicolas Peltier (JIRA)" <ji...@apache.org> on 2017/10/09 15:46:01 UTC
[jira] [Created] (SLING-7184) SlingOptions.slingScriptingSightly
fails to
Nicolas Peltier created SLING-7184:
--------------------------------------
Summary: SlingOptions.slingScriptingSightly fails to
Key: SLING-7184
URL: https://issues.apache.org/jira/browse/SLING-7184
Project: Sling
Issue Type: Bug
Components: Testing
Affects Versions: Testing PaxExam 0.0.4
Reporter: Nicolas Peltier
trying to use SlingOptions.slingScriptingSightly in pipes IT i get the following error:
{Code}
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)))]
{Code}
"fixing" this with
{Code}
SlingOptions.versionResolver.setVersion("org.apache.sling", "org.apache.sling.xss", "1.0.18");
...
mavenBundle().groupId("javax.mail").artifactId("mail").version("1.5.0-b01"),
{Code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)