You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by ellirael <el...@mail.ru> on 2017/01/31 10:32:35 UTC

Maven bundle plaugin ver 3.2 adds "aries-jpa" require capability

My model bundle manifest part:
Require-Capability: osgi.extender;osgi.extender="aries.jpa",osgi.ee;fi
 lter:="(&(osgi.ee=JavaSE)(version=1.8))"

Feature installer cannot satisfy "aries-jpa" require capability when
installing a feature.
When I install bundle by bundle there is no error message. And all is
working fine.

Downgrading to bundle-pluging ver 3.0.1 solves the problem.

Since Karaf itself is built by 3.2 version it is pretty logical to build
functional applications with ver 3.2 also.



--
View this message in context: http://karaf.922171.n3.nabble.com/Maven-bundle-plaugin-ver-3-2-adds-aries-jpa-require-capability-tp4049391.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Maven bundle plaugin ver 3.2 adds "aries-jpa" require capability

Posted by ellirael <el...@mail.ru>.
гз



--
View this message in context: http://karaf.922171.n3.nabble.com/Maven-bundle-plaugin-ver-3-2-adds-aries-jpa-require-capability-tp4049391p4049545.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Maven bundle plaugin ver 3.2 adds "aries-jpa" require capability

Posted by ellirael <el...@mail.ru>.
I need to mention that there is no error message in console. Kar is not
installed.
Error mesage info could be found in the log:
2017-01-31 13:48:41,786 | WARN  | nsole user karaf | KarServiceImpl                  
| 152 - org.apache.karaf.kar.core - 4.0.8 | Unable to install Kar feature
lorien-niichi/0.2.0.SNAPSHOT
org.osgi.service.resolver.ResolutionException: Unable to resolve root:
missing requirement [root] osgi.identity; osgi.identity=lorien-niichi;
type=karaf.feature; version="[0.2.0.SNAPSHOT,0.2.0.SNAPSHOT]";
filter:="(&(osgi.identity=lorien-niichi)(type=karaf.feature)(version>=0.2.0.SNAPSHOT)(version<=0.2.0.SNAPSHOT))"
[caused by: Unable to resolve lorien-niichi/0.2.0.SNAPSHOT: missing
requirement [lorien-niichi/0.2.0.SNAPSHOT] osgi.identity;
osgi.identity=biz.lorien.niichi.model; type=osgi.bundle;
version="[0.2.0.SNAPSHOT,0.2.0.SNAPSHOT]"; resolution:=mandatory [caused by:
Unable to resolve biz.lorien.niichi.model/0.2.0.SNAPSHOT: missing
requirement [biz.lorien.niichi.model/0.2.0.SNAPSHOT] osgi.extender;
osgi.extender=aries.jpa]]
	at
org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42)[8:org.apache.karaf.features.core:4.0.8]
	at
org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:389)[8:org.apache.karaf.features.core:4.0.8]
	at
org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:375)[8:org.apache.karaf.features.core:4.0.8]
	at
org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:347)[8:org.apache.karaf.features.core:4.0.8]
	at
org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:216)[8:org.apache.karaf.features.core:4.0.8]
	at
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:263)[8:org.apache.karaf.features.core:4.0.8]
	at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1176)[8:org.apache.karaf.features.core:4.0.8]
	at
org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1074)[8:org.apache.karaf.features.core:4.0.8]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]




--
View this message in context: http://karaf.922171.n3.nabble.com/Maven-bundle-plaugin-ver-3-2-adds-aries-jpa-require-capability-tp4049391p4049392.html
Sent from the Karaf - User mailing list archive at Nabble.com.