3 Replies Latest reply on May 14, 2008 1:20 AM by Bruce Snyder

    Problem in executing fuse-esb-3.3.0.6 examples

    Jayasree B Novice

      Hi

       

      I am getting following error when i try to execute examples in Fuse ESB.Could you please help me out to resolve this?

       

      C:\iona\fuse-esb-3.3.0.6\examples>mvn -e install jbi:projectDeploy

      + Error stacktraces are turned on.

      Scanning for projects...

      Searching repository for plugin with prefix: 'jbi'.

      org.apache.maven.plugins: checking for updates from central

      repository metadata for: 'org.apache.maven.plugins' could not be retri

      eved from repository: central due to an error: Error transferring file

      Repository 'central' will be blacklisted

      -


      BUILD ERROR

      -


      The plugin 'org.apache.maven.plugins:maven-jbi-plugin' does not exist or

      no valid version could be found

      -


      Trace

      org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m

      aven.plugins:maven-jbi-plugin' does not exist or no valid version could be found

       

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

      ultLifecycleExecutor.java:1303)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor

      (DefaultLifecycleExecutor.java:1542)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy

      AggregationNeeds(DefaultLifecycleExecutor.java:405)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi

      fecycleExecutor.java:137)

              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)

              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)

              at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

      java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

      sorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:585)

              at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

              at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

              at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

       

              at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

      Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The p

      lugin 'org.apache.maven.plugins:maven-jbi-plugin' does not exist or no valid ver

      sion could be found

              at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

      uginVersion(DefaultPluginVersionManager.java:229)

              at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

      uginVersion(DefaultPluginVersionManager.java:91)

              at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug

      inManager.java:171)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

      ultLifecycleExecutor.java:1274)

              ... 14 more

      -


      Total time: 1 minute 4 seconds

      Finished at: Wed Apr 23 10:54:32 GMT+05:30 2008

      Final Memory: 1M/1M

      -


       

        • 1. Re: Problem in executing fuse-esb-3.3.0.6 examples
          Martin Murphy Novice

          It looks like you have run the maven command from the root directory that does not have a pom.xml in it. Hence, you will not be configured to use the open.iona repo and will not be able do download the required plugin. If you run this same command from any of the other directories it will work fine.

           

          By the way, FUSE ESB 3.3.0.10 is out now if you would like to try that instead.

          • 2. Re: Problem in executing fuse-esb-3.3.0.6 examples
            Jayasree B Novice

            Hi,

             

            I tried with fuse-esb-3.3.0.10 and getting error while running fuse example.

            Even I am facing problem when executing maven commands while creating a new maven project.

             

            Please help me in resolving this.

             

            C:\iona\fuse-esb-3.3.0.10\examples\cxf-wsdl-first>mvn -e install jbi:projectDepl

            oy

            + Error stacktraces are turned on.

            Scanning for projects...

            Downloading: http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.3.

            0.10-fuse/samples-3.3.0.10-fuse.pom

            Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.3.0.1

            0-fuse/samples-3.3.0.10-fuse.pom

            -


            FATAL ERROR

            -


            Failed to resolve artifact.

             

            GroupId: org.apache.servicemix

            ArtifactId: samples

            Version: 3.3.0.10-fuse

             

            Reason: Unable to download the artifact from any repository

             

              org.apache.servicemix:samples:pom:3.3.0.10-fuse

             

            from the specified remote repositories:

              central (http://repo1.maven.org/maven2),

              open.iona.m2-snapshot (http://repo.open.iona.com/maven2-snapshot),

              open.iona.m2 (http://repo.open.iona.com/maven2)

             

             

            -


            Trace

            org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.apache

            .servicemix:samples for project: org.apache.servicemix.samples:cxf-wsdl-first:po

            m:null for project org.apache.servicemix.samples:cxf-wsdl-first:pom:null

                    at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:376)

                    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:289)

                    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)

                    at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)

                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

            java:39)

                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

            sorImpl.java:25)

                    at java.lang.reflect.Method.invoke(Method.java:585)

                    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

                    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

                    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

             

                    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

            Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent

            : org.apache.servicemix:samples for project: org.apache.servicemix.samples:cxf-w

            sdl-first:pom:null for project org.apache.servicemix.samples:cxf-wsdl-first:pom:

            null

                    at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D

            efaultMavenProjectBuilder.java:1259)

                    at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Def

            aultMavenProjectBuilder.java:745)

                    at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi

            leInternal(DefaultMavenProjectBuilder.java:476)

                    at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave

            nProjectBuilder.java:197)

                    at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:548)

                    at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:458)

                    at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:362)

                    ... 11 more

            Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.se

            rvicemix:samples' not found in repository: Unable to download the artifact from

            any repository

             

              org.apache.servicemix:samples:pom:3.3.0.10-fuse

             

            from the specified remote repositories:

              central (http://repo1.maven.org/maven2),

              open.iona.m2-snapshot (http://repo.open.iona.com/maven2-snapshot),

              open.iona.m2 (http://repo.open.iona.com/maven2)

            for project org.apache.servicemix:samples

                    at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo

            sitory(DefaultMavenProjectBuilder.java:571)

                    at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D

            efaultMavenProjectBuilder.java:1255)

                    ... 17 more

            Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable

            to download the artifact from any repository

             

              org.apache.servicemix:samples:pom:3.3.0.10-fuse

             

            from the specified remote repositories:

              central (http://repo1.maven.org/maven2),

              open.iona.m2-snapshot (http://repo.open.iona.com/maven2-snapshot),

              open.iona.m2 (http://repo.open.iona.com/maven2)

             

                    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De

            faultArtifactResolver.java:206)

                    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De

            faultArtifactResolver.java:73)

                    at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo

            sitory(DefaultMavenProjectBuilder.java:524)

                    ... 18 more

            Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to downl

            oad the artifact from any repository

                    at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def

            aultWagonManager.java:324)

                    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De

            faultArtifactResolver.java:194)

                    ... 20 more

            -


            Total time: 2 seconds

            Finished at: Tue May 13 14:04:56 GMT+05:30 2008

            Final Memory: 1M/2M

            -


             

            • 3. Re: Problem in executing fuse-esb-3.3.0.6 examples
              Bruce Snyder Novice

              I just downloaded FUSE ESB 3.3.0.10, moved my local Maven repo aside (so that Maven will create a new one) and from within the examples/cxf-wsdl-first directory, I executed the following command:

               

              $ mvn install jbi:projectDeploy 
              

               

               

              This command executed successfully and I was able to view the WSDL in a browser.

               

              What I notice about the error you posted is that the following file cannot be downloaded by Maven:

               

              http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.3.0.10-fuse/samples-3.3.0.10-fuse.pom

               

              I simply pasted this URL into a browser and this file is, in fact, there and accessible. For whatever reason, Maven cannot download this file from your computer. Are you possibly required to use a HTTP proxy to access the internet? If so, you need to configure Maven to use this proxy via Maven's settings.xml file in your home directory.

               

              Bruce