Damn, missed that. It happened with SLING-6998 (between 1.0.0 release
& 1.0.2). Created https://issues.apache.org/jira/browse/SLING-7008,
will have to cancel the release.

2017-07-12 18:00 GMT+02:00 Stefan Seifert <sseif...@pro-vision.de>:
> i've only looked at the code and not tried it myself.
>
> sling pipes is using the package "org.apache.sling.query.util"
> https://github.com/apache/sling/blob/trunk/contrib/extensions/sling-pipes/src/main/java/org/apache/sling/pipes/internal/PathPipe.java#L27
>
> and this package is private, it's not exported:
> https://github.com/apache/sling/blob/trunk/contrib/extensions/sling-query/pom.xml#L51
>
> so you need to replace this one class usage. not sure why the problem did not 
> occur before.
>
> stefan
>
>>-----Original Message-----
>>From: Nicolas Peltier [mailto:peltier.nico...@gmail.com]
>>Sent: Wednesday, July 12, 2017 3:47 PM
>>To: dev@sling.apache.org
>>Subject: [osgi][wiring] missing unused & undeclared dependency
>>
>>Hi,
>>
>>Testing out pipes 1.0.2 release on a famous sling server, I get a
>>weird error at installation time [0]. Referred package
>>“org.apache.sling.query.util” is not used directly in the project, and
>>“org.apache.sling.query” dependencies / related code hasn’t change for
>>a big while (sling query 3.0.0, the required dependency is here &
>>active)
>>
>>This can be solved by setting that particular package as optional in
>>the bundle description, but I would like to understand what happens
>>(and if my release is borked :-( )
>>
>>Nicolas
>>
>>[0] org.osgi.framework.BundleException: Unable to resolve
>>org.apache.sling.pipes [535](R 535.4): missing requirement
>>[org.apache.sling.pipes [535](R 535.4)] osgi.wiring.package;
>>(osgi.wiring.package=org.apache.sling.query.util) Unresolved
>>requirements: [[org.apache.sling.pipes [535](R 535.4)]
>>osgi.wiring.package;
>>(osgi.wiring.package=org.apache.sling.query.util)]
>

Reply via email to