3 Replies Latest reply on Apr 11, 2011 2:16 AM by ffang

    Features could not be resolved

    dhivyateg

      Hi i am using Apache-Servicemix 4.2.0.I have created a custom repository and added it to my features list.When I attempt to install it thru karaf,i am getting an error

       

      Error executing command: URL mvn:org.apache.karaf/apache-karaf/2.0.0-fuse-00-00/xml/features could not be resolved. : mvn:org.apache.karaf/apache-karaf/2.0.0-fuse-00-00/xml/features

       

      I have already searches for the forums related to tis but not able to figure out.

       

      Same error is reflecting when I attempt to install webconsole ie hitting "features:install webconsole also gives me the same error.,Please refer screenshots for more info.

        • 1. Re: Features could not be resolved
          ffang

          Hi,

           

          What's the exact Servicemix version? like 4.2.0-fuse-XXX?

          Also could you elaborate how you add your custom repository to the feature list?

          What's is your custom repository?

           

          Does your machine have internet access?

           

          Freeman

          • 2. Re: Features could not be resolved
            dhivyateg

            Hi,

             

            1.I am using apache-servicemix-4.3.0-fuse-02-00.

             

            2.First I created a project using "maven create' and thru "maven install" i got a jar file of my project.Then I created features.xml(attached screenshot) and added a feature namely exmaple-fuse1.Then I added it to my features listUrl using "features:addUrl" and while installing it thru "features:install",I got the error.

             

            3.Custom repository mentioned here refers to my user-defined features.xml

             

            4.My machine do have internet access.

            • 3. Re: Features could not be resolved
              ffang

              Hi,

               

              With apache-servicemix-4.3.0-fuse-02-00, the karaf version is 2.0.0-fuse-01-00,  your error message indicate you're referring 2.0.0-fuse-00-00, this mismatch cause such error.

               

              Freeman