Grzegorz Grzybek created ARIES-2053:
---------------------------------------
Summary: aries-cdi-extension-el-jsp has unresolved property in
JavaJSP contract
Key: ARIES-2053
URL: https://issues.apache.org/jira/browse/ARIES-2053
Project: Aries
Issue Type: Bug
Reporter: Grzegorz Grzybek
If you check
https://github.com/apache/aries-cdi/blob/org.apache.aries.cdi-1.1.3/cdi-extension-el-jsp/src/main/java/org/apache/aries/cdi/extension/el/jsp/package-info.java#L40
there's {{jsp.version}} property, but it's unresolved during build time and
the resulting META-INF/MANIFEST.MF requirement is:
{noformat}
Require-Capability: osgi.contract;filter:="(&(osgi.contract=JavaJSP)(v
ersion=${jsp.version}))";osgi.contract=JavaJSP,...
{noformat}
at runtime, I'm getting:
{noformat}
org.osgi.framework.BundleException: Unable to resolve
org.apache.aries.cdi.extension.el.jsp [61](R 61.0): \
missing requirement [org.apache.aries.cdi.extension.el.jsp [61](R 61.0)] \
osgi.contract; (&(osgi.contract=JavaJSP)(version=${jsp.version}))
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)