json-schema-validator 2.2.6 expected javax.annotation 1.3 version where as json-schema-validator 2.2.8 expecting javax.annotation 3.0.0 to 4.0.0.
After changing 2.2.6 to 2.2.8 in com.github.java-json-tools.json-schema-validator it is exposed to javax.annotation package from two resources org.jsr-305 and org.eclipse.osgi via two dependency chains as below.
Could you please help on this to resolve.
g! diag 342
com.github.java-json-tools.json-schema-validator [342]
Bundle was not resolved because of a uses constraint violation.
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource com.github.java-json-tools.json-schema-validator [osgi.identity; osgi.identity="com.github.java-json-tools.json-schema-validator"; type="osgi.bundle"; version:Version="2.2.8"] because it is exposed to package 'javax.annotation' from resources org.jsr-305 [osgi.identity; osgi.identity="org.jsr-305"; type="osgi.bundle"; version:Version="3.0.1"] and org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.10.102.v20160118-1700"; singleton:="true"] via two dependency chains.
json-schema-validator 2.2.6 expected javax.annotation 1.3 version where as json-schema-validator 2.2.8 expecting javax.annotation 3.0.0 to 4.0.0.
After changing 2.2.6 to 2.2.8 in com.github.java-json-tools.json-schema-validator it is exposed to javax.annotation package from two resources org.jsr-305 and org.eclipse.osgi via two dependency chains as below.
Could you please help on this to resolve.
g! diag 342
com.github.java-json-tools.json-schema-validator [342] Bundle was not resolved because of a uses constraint violation. org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource com.github.java-json-tools.json-schema-validator [osgi.identity; osgi.identity="com.github.java-json-tools.json-schema-validator"; type="osgi.bundle"; version:Version="2.2.8"] because it is exposed to package 'javax.annotation' from resources org.jsr-305 [osgi.identity; osgi.identity="org.jsr-305"; type="osgi.bundle"; version:Version="3.0.1"] and org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.10.102.v20160118-1700"; singleton:="true"] via two dependency chains.
Chain 1: com.github.java-json-tools.json-schema-validator [osgi.identity; osgi.identity="com.github.java-json-tools.json-schema-validator"; type="osgi.bundle"; version:Version="2.2.8"] import: (&(osgi.wiring.package=javax.annotation)(&(version>=3.0.0)(!(version>=4.0.0)))) | export: osgi.wiring.package: javax.annotation org.jsr-305 [osgi.identity; osgi.identity="org.jsr-305"; type="osgi.bundle"; version:Version="3.0.1"]
com.google.guava [osgi.identity; osgi.identity="com.google.guava"; type="osgi.bundle"; version:Version="16.0.1"] import: (osgi.wiring.package=javax.annotation) | export: osgi.wiring.package: javax.annotation org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.10.102.v20160118-1700"; singleton:="true"]