You are right, pax-web should provide you with that,
please open an issue for it at https://ops4j1.jira.com/projects/PAXWEB
if you don't have an account, give me a ping I'll create that one for you.

till this point in time, I wasn't even aware of that possible contract,
that's why it's missing.


regards, Achim



2017-06-12 14:48 GMT+02:00 <[email protected]>:

> OK, I've "solved" this by creating an additional bundle that simply has
> the required:
>
> Provide-Capability: osgi.contract;osgi.contract=JavaServlet;version:Vers
>  ion="3.1";uses:="javax.servlet,javax.servlet.http,javax.servlet.descrip
>  tor,javax.servlet.annotation"
>
> line in the MANIFEST.
>
> I say "solved", the karaf assmembly now at least builds. I have yet to
> determine how successfully it actually runs.
>
> However, this seems like a gross hack to me. Shouldn't the pax-web
> http-api bundle provide this capability?
>
> Thanks.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Reply via email to