4 Replies Latest reply on Mar 11, 2011 2:51 PM by leothomasd@gmail.com

    Error while building the examples -  Apache Servicemix -4.3.

    leothomasd@gmail.com Newbie

      Hi,

       

      I am getting the below specified error (unable to get resource) while trying to build and run the examples of servicemix 4.3.1 as given in the "Getting started with FUSE ESB" documentation (http://fusesource.com/docs/esb/4.3.1/esb_getting_started/index.html)

       

      1) Changed to the InstallDir/examples directory.

      2) Typed "mvn install"

       

      Any ideas?

       

      Error trace

      =========

      C:\Program Files\FUSE Products\apache-servicemix-4.3.1-fuse-00-00\examples>mvn install

      Scanning for projects...

      Downloading: http://repo.fusesource.com/maven2//org/apache/servicemix/features/features/4.3.1-fuse-00-00/features-4.3.1-fuse-00-00.pom

      Unable to get resource 'org.apache.servicemix.features:features:pom:4.3.1-fuse-00-00' from repository fusesource.releases (http://repo.fusesource.com/maven2/):

      Error transferring file: Connection timed out: connect

      Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/features/features/4.3.1-fuse-00-00/features-4.3.1-fuse-00-00.pom

      Unable to get resource 'org.apache.servicemix.features:features:pom:4.3.1-fuse-00-00' from repository central (http://repo1.maven.org/maven2): Error transferrin

      g file: Connection timed out: connect

      -


      FATAL ERROR

      -


      Error building POM (may not be this project's POM).

       

       

      Project ID: org.apache.servicemix.examples:examples:pom:4.3.1-fuse-00-00

       

      Reason: Cannot find parent: org.apache.servicemix.features:features for project: org.apache.servicemix.examples:examples:pom:4.3.1-fuse-00-00 for project org.apache.servi

      cemix.examples:examples:pom:4.3.1-fuse-00-00

       

       

      -


      Trace

      org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.apache.servicemix.features:features for project: org.apache.servicemix.examples:examples:pom:4.3

      .1-fuse-00-00 for project org.apache.servicemix.examples:examples:pom:4.3.1-fuse-00-00

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

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

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

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

              at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)

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

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

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

              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.features:features for project: org.apache.servicemix.examples:exam

      ples:pom:4.3.1-fuse-00-00 for project org.apache.servicemix.examples:examples:pom:4.3.1-fuse-00-00

              at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)

              at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)

              at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)

              at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)

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

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

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

              ... 12 more

      Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.servicemix.features:features' not found in repository: Unable to download the artifact from

      any repository

       

        org.apache.servicemix.features:features:pom:4.3.1-fuse-00-00

       

      from the specified remote repositories:

        fusesource.snapshots (http://repo.fusesource.com/maven2-snapshot),

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

        fusesource.releases (http://repo.fusesource.com/maven2/)

       

      for project org.apache.servicemix.features:features

              at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)

              at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)

              ... 18 more

      Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

       

        org.apache.servicemix.features:features:pom:4.3.1-fuse-00-00

       

      from the specified remote repositories:

        fusesource.snapshots (http://repo.fusesource.com/maven2-snapshot),

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

        fusesource.releases (http://repo.fusesource.com/maven2/)

       

       

              at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)

              at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)

              at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)

              ... 19 more

      Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository

              at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404)

              at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)

              ... 21 more

      -


      Total time: 46 seconds

      Finished at: Wed Mar 09 13:23:28 CST 2011

      Final Memory: 1M/15M

      -


      C:\Program Files\FUSE Products\apache-servicemix-4.3.1-fuse-00-00\examples>bridge