Re: Exporting ServletResolverConstants in org.apache.sling.servlets.resolver

2016-11-07 Thread Konrad Windszus
Since the constant also does not appear in the Javadoc and with the advent of OSGi 6 annotations it is more common to not use Felix SCR annotations I opened a ticket for moving this class somewhere else in https://issues.apache.org/jira/browse/SLING-6249

Exporting ServletResolverConstants in org.apache.sling.servlets.resolver

2015-04-24 Thread Dirk Rudolph
Hi devs, why is the class ServletResolverConstants in the Apache Sling Servlet Resolver not accessible in an exported package? I’m currently implementing a SCR component that registers multiple Services based on some configurations shared between them. One of this Services implements

Re: Exporting ServletResolverConstants in org.apache.sling.servlets.resolver

2015-04-24 Thread Konrad Windszus
Hi Dirk, that class only contains constants. If you reference those constants within your own bundle they are usually inlined (i.e. there is no run-time dependency to the providing package). Therefore it is totally fine to add that dependency to your Maven module and to directly use those