You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Carsten Ziegeler <cz...@apache.org> on 2017/04/04 06:45:47 UTC

[Validation] Validation Core fails to build

Hi,

currently building validation core fails with, I assume the johnson
bundle needs to be added:

ERROR: Bundle org.apache.sling.testing.tools [179] Error starting
file:/Users/cziegeler/Developer/workspaces/granite/sling/bundles/extensions/validation/core/target/paxexam/ValidationServiceIT/pax-exam-downloads/org.apache.sling.testing.tools_1.0.15.SNAPSHOT.jar
(org.osgi.framework.BundleException: Unable to resolve
org.apache.sling.testing.tools [179](R 179.0): missing requirement
[org.apache.sling.testing.tools [179](R 179.0)] osgi.wiring.package;
(&(osgi.wiring.package=javax.json)(version>=1.0.0)(!(version>=2.0.0)))
Unresolved requirements: [[org.apache.sling.testing.tools [179](R
179.0)] osgi.wiring.package;
(&(osgi.wiring.package=javax.json)(version>=1.0.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve
org.apache.sling.testing.tools [179](R 179.0): missing requirement
[org.apache.sling.testing.tools [179](R 179.0)] osgi.wiring.package;
(&(osgi.wiring.package=javax.json)(version>=1.0.0)(!(version>=2.0.0)))
Unresolved requirements: [[org.apache.sling.testing.tools [179](R
179.0)] osgi.wiring.package;
(&(osgi.wiring.package=javax.json)(version>=1.0.0)(!(version>=2.0.0)))]
        at
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4132)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
        at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)
        at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
        at java.lang.Thread.run(Thread.java:745)

Regards
Carsten

-- 
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org

Re: [Validation] Validation Core fails to build

Posted by Konrad Windszus <ko...@gmx.de>.
No, it still works with 1.0.14. I only used 1.0.15-SNAPSHOT to debug some issues with the IT.
I am gonna revert that in the pom.xml.
Konrad
> On 4 Apr 2017, at 09:17, Oliver Lietz <ap...@oliverlietz.de> wrote:
> 
> On Tuesday 04 April 2017 08:45:47 Carsten Ziegeler wrote:
>> Hi,
>> 
>> currently building validation core fails with, I assume the johnson
>> bundle needs to be added:
>> 
>> ERROR: Bundle org.apache.sling.testing.tools [179] Error starting
>> file:/Users/cziegeler/Developer/workspaces/granite/sling/bundles/extensions/
>> validation/core/target/paxexam/ValidationServiceIT/pax-exam-downloads/org.ap
>> ache.sling.testing.tools_1.0.15.SNAPSHOT.jar
>> (org.osgi.framework.BundleException: Unable to resolve
>> org.apache.sling.testing.tools [179](R 179.0): missing requirement
>> [org.apache.sling.testing.tools [179](R 179.0)] osgi.wiring.package;
>> (&(osgi.wiring.package=javax.json)(version>=1.0.0)(!(version>=2.0.0)))
>> Unresolved requirements: [[org.apache.sling.testing.tools [179](R
>> 179.0)] osgi.wiring.package;
>> (&(osgi.wiring.package=javax.json)(version>=1.0.0)(!(version>=2.0.0)))])
>> org.osgi.framework.BundleException: Unable to resolve
>> org.apache.sling.testing.tools [179](R 179.0): missing requirement
>> [org.apache.sling.testing.tools [179](R 179.0)] osgi.wiring.package;
>> (&(osgi.wiring.package=javax.json)(version>=1.0.0)(!(version>=2.0.0)))
>> Unresolved requirements: [[org.apache.sling.testing.tools [179](R
>> 179.0)] osgi.wiring.package;
>> (&(osgi.wiring.package=javax.json)(version>=1.0.0)(!(version>=2.0.0)))]
>>        at
>> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4132)
>>        at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
>>        at
>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)
>>        at
>> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelIm
>> pl.java:308) at java.lang.Thread.run(Thread.java:745)
> 
> It works for me with org.apache.sling.testing.tools 1.0.14.
> @Konrad: Is 1.0.15-SNAPSHOT really required?
> 
> O.
> 
>> Regards
>> Carsten


Re: [Validation] Validation Core fails to build

Posted by Oliver Lietz <ap...@oliverlietz.de>.
On Tuesday 04 April 2017 08:45:47 Carsten Ziegeler wrote:
> Hi,
> 
> currently building validation core fails with, I assume the johnson
> bundle needs to be added:
> 
> ERROR: Bundle org.apache.sling.testing.tools [179] Error starting
> file:/Users/cziegeler/Developer/workspaces/granite/sling/bundles/extensions/
> validation/core/target/paxexam/ValidationServiceIT/pax-exam-downloads/org.ap
> ache.sling.testing.tools_1.0.15.SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unable to resolve
> org.apache.sling.testing.tools [179](R 179.0): missing requirement
> [org.apache.sling.testing.tools [179](R 179.0)] osgi.wiring.package;
> (&(osgi.wiring.package=javax.json)(version>=1.0.0)(!(version>=2.0.0)))
> Unresolved requirements: [[org.apache.sling.testing.tools [179](R
> 179.0)] osgi.wiring.package;
> (&(osgi.wiring.package=javax.json)(version>=1.0.0)(!(version>=2.0.0)))])
> org.osgi.framework.BundleException: Unable to resolve
> org.apache.sling.testing.tools [179](R 179.0): missing requirement
> [org.apache.sling.testing.tools [179](R 179.0)] osgi.wiring.package;
> (&(osgi.wiring.package=javax.json)(version>=1.0.0)(!(version>=2.0.0)))
> Unresolved requirements: [[org.apache.sling.testing.tools [179](R
> 179.0)] osgi.wiring.package;
> (&(osgi.wiring.package=javax.json)(version>=1.0.0)(!(version>=2.0.0)))]
>         at
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4132)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
>         at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)
>         at
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelIm
> pl.java:308) at java.lang.Thread.run(Thread.java:745)

It works for me with org.apache.sling.testing.tools 1.0.14.
@Konrad: Is 1.0.15-SNAPSHOT really required?

O.

> Regards
> Carsten