3 Replies Latest reply on Mar 28, 2013 9:28 AM by ffang

    Issues with osgi:install

    jcoders

      Hello,

             I downloaded the Fuse ide (FuseIDEEnterprise-7.1.0) and the fuse esb (FuseESBEnterprise-7.1.0).I built the sample cbr example after i commented out the repository and pulgin sections of the pom file (we have a nexus repository that we have to go through, the nexus repo is pointing to the fuse repository)that was in the examples folder of the FuseIDEEnterprise-7.1.0 via the Fuse ide using the "clean install" as my maven goal.

      I have the following settings changed in the org.ops4j.pax.url.mvn.cfg file under /etc as well

       

      org.ops4j.pax.url.mvn.settings=file:D:/Maven/settings.xml

       

      Didn't change anything else in the org.ops4j.pax.url.mvn.cfg file

       

      Started up fuse via the command line from the installation folder executing bin\fuseesb.It starts up without any issues.I then tried to execute the following command

      osgi:install -s fab:mvn:org.fusesource.examples/cbr/7.1.0.fuse-047

       

      It stays on it for a while and then errors out .I checked the logs and find it is going to "http://repo.fusesource.com/nexus/content/repositories/releases" even though i have it pointed to my settings file which points to the local nexus repository.Not sure if i have to change any other settings file.I have attached my log file along with this post.

        • 1. Re: Issues with osgi:install
          ffang

          Hi,

           

          What's your maven settings.xml looks like?

           

          It should have something like

           

          Freeman

          • 2. Re: Issues with osgi:install
            jcoders

            I have the mirror section in my maven settings.xml file.I am attaching a copy of my settings.xml file along with this post

            • 3. Re: Issues with osgi:install
              ffang

              Hi,

               

              Your mirror is

              <mirrors>
                              <mirror>
                                      <id>FEI_Nexus_Central</id>
                                      <name>FEI Nexus mirror of Maven Central</name>
                                      <url>http://{Company's nexus url here}</url>
                                      <mirrorOf>central</mirrorOf>
                              </mirror>
                      </mirrors>
              
              

               

              It only mirror central maven repo to your company's nexus server, it should be

               

              instead, which means mirror all maven repo urls(including the fuse maven repo) your company's nexus server.

               

              Freeman