We are using Day cq. It uses Apache Felix osgi container. In one of our projects we are using Rhino for serverside scripting. Day already comes with Rhino library included as part of org.apache.sling.scripting.javascript - here Rhino library is part of this Sling bundle, not an embedded jar, and it is a bit older version.
We want to use latest version of Rhino library so we added it as part of our bundles libs section, but we are not able to access the latest jar. Rather we still have access to the old version.
How can we override this?