I personally would go for a release version(rebuild), the snapshot is often related to code under development so there could be some parts that are broken...

On 28/05/2015 16:50, [email protected] wrote:

I am just trying to avoid a rebuild.

When I do feature:install cxf-jaxrs/3.1.0-SNAPSHOT

it changes the - to a . and looks for 3.1.0.SNAPSHOT

Is there a way to tell it to look for the snapshot version of 3.1.0 or do I have to do a rebuild and use the released version

On 2015-05-28 10:41, [email protected] wrote:

Why not just using the released version ?

Regards
JB

On 2015-05-28 16:37,[email protected]  <mailto:[email protected]>  
wrote:
I think you guys are correct. Even though the webconsole shows cxf 3.1.0.SNAPSHOT as installed and active, when I do a features:list -i no version of cxf is in there. I do not even see a 3.1.0.SNAPSHOT on Maven central now that 3.1 was released. Is there another maven repo for 3.1.0.SNAPSHOT On 2015-05-28 10:31, Morgan Hautman wrote:
I thinks I found your problem :) You have installed "3.1.1.SNAPSHOT" but you need to install "3.1.0.SNAPSHOT" since this is the version range it requires "[3.1.0.SNAPSHOT,3.1.0.SNAPSHOT]" Regards Morgan 28/05/2015 15:20, [email protected] <mailto:[email protected]> wrote:
When I look at what version of cxf I have installed through the web console I see. Apache CXF JAX-RS Clientorg.apache.cxf.cxf-rt-rs-client [1 <http://cta-solr.dev-aitecd.us.gov:8080/system/console/bundles/105>] 3.1.0.SNAPSHOT Active * * * * 106 Apache CXF JAX-RS Extensions: Providersorg.apache.cxf.cxf-rt-rs-extension-providers [2 <http://cta-solr.dev-aitecd.us.gov:8080/system/console/bundles/106>] 3.1.0.SNAPSHOT Active * * * * 107 Apache CXF JAX-RS Extensions: Searchorg.apache.cxf.cxf-rt-rs-extension-search [3 <http://cta-solr.dev-aitecd.us.gov:8080/system/console/bundles/107>] 3.1.0.SNAPSHOT Active * * * * 108 Apache CXF JAX-RS Service Descriptionorg.apache.cxf.cxf-rt-rs-service-description [4 <http://cta-solr.dev-aitecd.us.gov:8080/system/console/bundles/108>] 3.1.0.SNAPSHOT Active * * * * 109 Apache CXF Runtime HTTP Transportorg.apache.cxf.cxf-rt-transports-http [5 <http://cta-solr.dev-aitecd.us.gov:8080/system/console/bundles/109>] 3.1.0.SNAPSHOT Active When I do a feature:list | grep 'cxf' I see cxf-jaxws | 3.1.1.SNAPSHOT | | | cxf-3.1.1-SNAPSHOT | The problem is when I try to install my plugin I get this error karaf@root <mailto:karaf@root>()> feature:install cfif-cta Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=cxf-jaxrs; type=karaf.feature; version="[3.1.0.SNAPSHOT,3.1.0.SNAPSHOT]";
filter:="(&(osgi.identity=cxf-jaxrs)(type=karaf.feature)(version>=3.1.0.SNAPSHOT)(version<=3.1.0.SNAPSHOT))"
Does anyone know where my versioning is going wrong
Links: ------ [1] http://cta-solr.dev-aitecd.us.gov:8080/system/console/bundles/105 [2] http://cta-solr.dev-aitecd.us.gov:8080/system/console/bundles/106 [3] http://cta-solr.dev-aitecd.us.gov:8080/system/console/bundles/107 [4] http://cta-solr.dev-aitecd.us.gov:8080/system/console/bundles/108 [5] http://cta-solr.dev-aitecd.us.gov:8080/system/console/bundles/109

Reply via email to