Discussion:
How to make karaf install features of certain versions?
PashaTurok
2015-04-13 16:13:16 UTC
Permalink
I run feature:install pax-cdi weld and karaf installs pax-cdi 0.11.0 but I
need 0.8. How to do it?



--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Jean-Baptiste Onofré
2015-04-13 16:22:42 UTC
Permalink
Hi

feature:install pax-cdi/0.8.0

Regards
JB
Post by PashaTurok
I run feature:install pax-cdi weld and karaf installs pax-cdi 0.11.0 but I
need 0.8. How to do it?
--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
***@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Krzysztof Sobkowiak
2015-04-13 16:23:00 UTC
Permalink
Hi

feature:install pax-cdi/0.8

regards
Krzysztof
Post by PashaTurok
I run feature:install pax-cdi weld and karaf installs pax-cdi 0.11.0 but I
need 0.8. How to do it?
--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Krzysztof Sobkowiak

JEE & OSS Architect
Apache Software Foundation Member
Apache ServiceMix <http://servicemix.apache.org/> Committer & PMC chair
Senior Solution Architect @ Capgemini SSC <http://www.pl.capgemini-sdm.com/en/>
PashaTurok
2015-04-13 16:32:06 UTC
Permalink
Thank you everyone for help. Karaf has a very friendly community. Last days I
tried to solve problem with weld and I wish no one to do something with weld
community (all questions are simply ignored) + their site simply doesn't
work.



--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039650.html
Sent from the Karaf - User mailing list archive at Nabble.com.
PashaTurok
2015-04-13 16:38:16 UTC
Permalink
Hoever when I do feature:install pax-cdi/0.8 I get
Error executing command - Can't install feature pax-cdi/0.8 and in log:
java.lang.IllegalStateException: Can't install feature pax-cdi/0.8:
null^M
at
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:388)^M
at Proxy464edfe2_2888_4e51_96cc_e74c9c101925.installFeature(Unknown
Source)^M
at
org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:67)^M
at
org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38)^M
at
org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3]^M
at Proxy23360963_282c_4a85_911b_a95f1c1ab5d2.execute(Unknown
Source)[:]^M
at Proxy23360963_282c_4a85_911b_a95f1c1ab5d2.execute(Unknown
Source)[:]^M
at
org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)^M
at
org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208)^M
at
org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109)^M
at java.security.AccessController.doPrivileged(Native
Method)[:1.8.0_40]^M
at
org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3]^M
at
org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)[25:org.apache.karaf.shell.console:3.0.3]^M

How to fix it?



--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039652.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Jean-Baptiste Onofré
2015-04-13 16:41:38 UTC
Permalink
What do you have in the log ?

Regards
JB
Post by PashaTurok
Hoever when I do feature:install pax-cdi/0.8 I get
null^M
at
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:388)^M
at Proxy464edfe2_2888_4e51_96cc_e74c9c101925.installFeature(Unknown
Source)^M
at
org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:67)^M
at
org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38)^M
at
org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3]^M
at Proxy23360963_282c_4a85_911b_a95f1c1ab5d2.execute(Unknown
Source)[:]^M
at Proxy23360963_282c_4a85_911b_a95f1c1ab5d2.execute(Unknown
Source)[:]^M
at
org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)^M
at
org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208)^M
at
org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109)^M
at java.security.AccessController.doPrivileged(Native
Method)[:1.8.0_40]^M
at
org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3]^M
at
org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)[25:org.apache.karaf.shell.console:3.0.3]^M
How to fix it?
--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039652.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
***@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Krzysztof Sobkowiak
2015-04-13 16:44:14 UTC
Permalink
feature:install pax-cdi/0.8.0 as JB has written. I have forgotten one 0. Find the correct version using feature:list | grep pax-cdi
Post by PashaTurok
Hoever when I do feature:install pax-cdi/0.8 I get
null^M
at
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:388)^M
at Proxy464edfe2_2888_4e51_96cc_e74c9c101925.installFeature(Unknown
Source)^M
at
org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:67)^M
at
org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38)^M
at
org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3]^M
at Proxy23360963_282c_4a85_911b_a95f1c1ab5d2.execute(Unknown
Source)[:]^M
at Proxy23360963_282c_4a85_911b_a95f1c1ab5d2.execute(Unknown
Source)[:]^M
at
org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)^M
at
org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208)^M
at
org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109)^M
at java.security.AccessController.doPrivileged(Native
Method)[:1.8.0_40]^M
at
org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3]^M
at
org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)[25:org.apache.karaf.shell.console:3.0.3]^M
How to fix it?
--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039652.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Krzysztof Sobkowiak

JEE & OSS Architect
Apache Software Foundation Member
Apache ServiceMix <http://servicemix.apache.org/> Committer & PMC chair
Senior Solution Architect @ Capgemini SSC <http://www.pl.capgemini-sdm.com/en/>
Jean-Baptiste Onofré
2015-04-13 16:46:03 UTC
Permalink
It's 0.8.0 not 0.8.

feature:install pax-cdi/0.8.0

Regards
JB
Post by PashaTurok
Hoever when I do feature:install pax-cdi/0.8 I get
null^M
at
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:388)^M
at Proxy464edfe2_2888_4e51_96cc_e74c9c101925.installFeature(Unknown
Source)^M
at
org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:67)^M
at
org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38)^M
at
org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3]^M
at Proxy23360963_282c_4a85_911b_a95f1c1ab5d2.execute(Unknown
Source)[:]^M
at Proxy23360963_282c_4a85_911b_a95f1c1ab5d2.execute(Unknown
Source)[:]^M
at
org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3]^M
at
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)^M
at
org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208)^M
at
org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109)^M
at java.security.AccessController.doPrivileged(Native
Method)[:1.8.0_40]^M
at
org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3]^M
at
org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)[25:org.apache.karaf.shell.console:3.0.3]^M
How to fix it?
--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039652.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
***@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
PashaTurok
2015-04-13 17:00:14 UTC
Permalink
I tried feature:install pax-cdi/0.8 and feature:install pax-cdi/0.8.0 - the
result is the same. When I do ***@root<>> list | grep pax-cdi I get
nothing. I mean the result is ***@root<>>



--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039656.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Jean-Baptiste Onofré
2015-04-13 17:06:17 UTC
Permalink
You have to register pax-cdi 0.8.0 first:

***@root()> feature:repo-add
mvn:org.ops4j.pax.cdi/pax-cdi-features/0.8.0/xml/features
***@root()> feature:list|grep -i pax-cdi|grep -i 0.8.0

You will see the features.

And after:

feature:install pax-cdi/0.8.0

You may have an issue with javax.annotations, just change the version in
etc/jre.properties.

Regards
JB
Post by PashaTurok
I tried feature:install pax-cdi/0.8 and feature:install pax-cdi/0.8.0 - the
--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039656.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
***@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
PashaTurok
2015-04-13 17:57:33 UTC
Permalink
I've changed version of javax.annotation to 1.2 in /etc/jre.properties and
when I execute feature:install pax-cdi/0.8.0 I get osgi framework exception
that javax.annotaion package can't be resolved. what to do?



--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039658.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Krzysztof Sobkowiak
2015-04-13 18:26:42 UTC
Permalink
Hi

I have just taken a fresh Karaf 3.0.3 and imported the pax cdi 0.8.0 repository

***@root()> feature:repo-add mvn:org.ops4j.pax.cdi/pax-cdi-features/0.8.0/xml/features
Adding feature url mvn:org.ops4j.pax.cdi/pax-cdi-features/0.8.0/xml/features
***@root()> feature:install pax-cdi/0.8.0
Error executing command: Can't install feature pax-cdi/0.8.0:
Could not start bundle mvn:org.ops4j.pax.cdi/pax-cdi-extension/0.8.0 in feature(s) pax-cdi-1.1-0.8.0, pax-cdi-0.8.0,
pax-cdi-1.2-0.8.0: Unresolved constraint in bundle org.ops4j.pax.cdi.extension [80]: Unable to resolve 80.0: missing
requirement [80.0] osgi.wiring.package; (&(osgi.wiring.package=javax.annotation)(version>=1.1.0)(!(version>=2.0.0)))

Next I have changed the version of javax.annotation to 1.2

jre-1.7= \
javax.accessibility, \
javax.activation;version="1.1", \
javax.activity, \
javax.annotation;version="1.2", \

After restart I could install the pax cdi

***@root()> feature:install pax-cdi/0.8.0
***@root()>

Regards
Krzysztof
Post by PashaTurok
I've changed version of javax.annotation to 1.2 in /etc/jre.properties and
when I execute feature:install pax-cdi/0.8.0 I get osgi framework exception
that javax.annotaion package can't be resolved. what to do?
--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039658.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Krzysztof Sobkowiak

JEE & OSS Architect
Apache Software Foundation Member
Apache ServiceMix <http://servicemix.apache.org/> Committer & PMC chair
Senior Solution Architect @ Capgemini SSC <http://www.pl.capgemini-sdm.com/en/>
PashaTurok
2015-04-13 21:39:33 UTC
Permalink
Stupid question. Now I try to install to karaf weld 2.2.10.Final. By analogy
I do this way:
feature:repo-add mvn:org.jboss.weld/weld-features/2.2.10.Final/xml/features
However it says
Error executing command: Error resolving artifact
org.jboss.weld:weld-features:xml:features:2.2.10.Final: Could not find
artifact org.jboss.weld:weld-features:xml:features:2.2.10.Final in central
(http://repo1.maven.org/maven2/)
How to fix it? And how do you undestand mvn path adding repo?



--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039667.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Krzysztof Sobkowiak
2015-04-14 04:34:51 UTC
Permalink
There is no separate features repository for weld. It is defined in pax-cdi repository you have already installed. The
pax-cdi 0.8.0 defines a pax-cdi-1.2-weld feature which installs weld 2.2.4.Final feature. There is no feature for
2.2.10.Final. You should install the version provided by pax-cdi repository - it ensures the compatibility between
pax-cdi and weld.

regards
Krzysztof
Post by PashaTurok
Stupid question. Now I try to install to karaf weld 2.2.10.Final. By analogy
feature:repo-add mvn:org.jboss.weld/weld-features/2.2.10.Final/xml/features
However it says
Error executing command: Error resolving artifact
org.jboss.weld:weld-features:xml:features:2.2.10.Final: Could not find
artifact org.jboss.weld:weld-features:xml:features:2.2.10.Final in central
(http://repo1.maven.org/maven2/)
How to fix it? And how do you undestand mvn path adding repo?
--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039667.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Krzysztof Sobkowiak

JEE & OSS Architect
Apache Software Foundation Member
Apache ServiceMix <http://servicemix.apache.org/> Committer & PMC chair
Senior Solution Architect @ Capgemini SSC <http://www.pl.capgemini-sdm.com/en/>
Krzysztof Sobkowiak
2015-04-14 04:36:26 UTC
Permalink
I meant, pax-cdi-1.2-weld feature installs weld 2.2.4.Final bundle, not feature.
Post by Krzysztof Sobkowiak
There is no separate features repository for weld. It is defined in pax-cdi repository you have already installed. The
pax-cdi 0.8.0 defines a pax-cdi-1.2-weld feature which installs weld 2.2.4.Final feature. There is no feature for
2.2.10.Final. You should install the version provided by pax-cdi repository - it ensures the compatibility between
pax-cdi and weld.
regards
Krzysztof
Post by PashaTurok
Stupid question. Now I try to install to karaf weld 2.2.10.Final. By analogy
feature:repo-add mvn:org.jboss.weld/weld-features/2.2.10.Final/xml/features
However it says
Error executing command: Error resolving artifact
org.jboss.weld:weld-features:xml:features:2.2.10.Final: Could not find
artifact org.jboss.weld:weld-features:xml:features:2.2.10.Final in central
(http://repo1.maven.org/maven2/)
How to fix it? And how do you undestand mvn path adding repo?
--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039667.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Krzysztof Sobkowiak

JEE & OSS Architect
Apache Software Foundation Member
Apache ServiceMix <http://servicemix.apache.org/> Committer & PMC chair
Senior Solution Architect @ Capgemini SSC <http://www.pl.capgemini-sdm.com/en/>
Christoph Gritschenberger
2015-04-15 09:58:22 UTC
Permalink
Hi,

JRE actually only supplies 1.0 of javax.annotation.
That's why the weld-feature in karaf-3.0.3 provides the bundle
mvn:javax.annotation/javax.annotation-api/1.2

You should use that bundle too, rather than modifying the version in
jre.properties.

kind regards,
Christoph
Post by Krzysztof Sobkowiak
Hi
I have just taken a fresh Karaf 3.0.3 and imported the pax cdi 0.8.0 repository
Adding feature url mvn:org.ops4j.pax.cdi/pax-cdi-features/0.8.0/xml/features
Could not start bundle mvn:org.ops4j.pax.cdi/pax-cdi-extension/0.8.0 in feature(s) pax-cdi-1.1-0.8.0, pax-cdi-0.8.0,
pax-cdi-1.2-0.8.0: Unresolved constraint in bundle org.ops4j.pax.cdi.extension [80]: Unable to resolve 80.0: missing
requirement [80.0] osgi.wiring.package; (&(osgi.wiring.package=javax.annotation)(version>=1.1.0)(!(version>=2.0.0)))
Next I have changed the version of javax.annotation to 1.2
jre-1.7= \
javax.accessibility, \
javax.activation;version="1.1", \
javax.activity, \
javax.annotation;version="1.2", \
After restart I could install the pax cdi
Regards
Krzysztof
Post by PashaTurok
I've changed version of javax.annotation to 1.2 in /etc/jre.properties and
when I execute feature:install pax-cdi/0.8.0 I get osgi framework exception
that javax.annotaion package can't be resolved. what to do?
--
View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039658.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Loading...