stefanseifert commented on PR #15:
URL: 
https://github.com/apache/sling-org-apache-sling-servlet-helpers/pull/15#issuecomment-2602558087

   build fails due to a problem with the PaxExam tests:
   
   ```
   ERROR: Bundle org.apache.sling.servlet-helpers [201] Error starting 
file:/Z:/Dev/OpenSource/sling-git/sling-org-apache-sling-servlet-helpers/target/paxexam/ServletInternalRequestIT/dff9fb82-5123-4f4c-8315-05b5f149ec9c/pax-exam-downloads/org.apache.sling.servlet-helpers_1.4.7.SNAPSHOT.jar
 (org.osgi.framework.BundleException: Unable to resolve 
org.apache.sling.servlet-helpers [201](R 201.0): missing requirement 
[org.apache.sling.servlet-helpers [201](R 201.0)] osgi.wiring.package; 
(&(osgi.wiring.package=org.apache.sling.engine)(version>=2.6.0)(!(version>=3.0.0)))
 Unresolved requirements: [[org.apache.sling.servlet-helpers [201](R 201.0)] 
osgi.wiring.package; 
(&(osgi.wiring.package=org.apache.sling.engine)(version>=2.6.0)(!(version>=3.0.0)))])
   org.osgi.framework.BundleException: Unable to resolve 
org.apache.sling.servlet-helpers [201](R 201.0): missing requirement 
[org.apache.sling.servlet-helpers [201](R 201.0)] osgi.wiring.package; 
(&(osgi.wiring.package=org.apache.sling.engine)(version>=2.6.0)(!(version>=3.0.0)))
 Unresolved requirements: [[org.apache.sling.servlet-helpers [201](R 201.0)] 
osgi.wiring.package; 
(&(osgi.wiring.package=org.apache.sling.engine)(version>=2.6.0)(!(version>=3.0.0)))]
        at 
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)
        at 
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:297)
        at java.base/java.lang.Thread.run(Thread.java:842)
   ```
   
   it works if raising sling engine dependency up to 2.9.2, but once going 
further beyond that e.g. 2.10.2 or 2.14.0 build fails.
   it looks as if the version comparison is done wrong and starts failing once 
the minor version reaches 10 - but such a bug is very unlikely in the used osgi 
framework?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to