1 Reply Latest reply on Jul 30, 2010 5:12 AM by Freeman(Yue) Fang

    Lot of problem while doint getting started tutorial

    JEG sBOND Newbie

      Hello,

       

      I followed this tutorial : http://fusesource.com/docs/esb/4.2/getting_started/getting_started.pdf.

       

      1) When trying to build the examples (page 28), when I launch "mvn install" after having changed my directory to mvn install

      Scanning for projects...

      Downloading: http://repo.open.iona.com/maven2//org/apache/servicemix/features/features/4.2.0-fuse-02-00/features-4.2.0-fuse-02-00.pom

      Unable to get resource 'org.apache.servicemix.features:features:pom:4.2.0-fuse-02-00' from repository open.iona.m2 (http://repo.open.iona.com/maven2/)

      : Error transferring file: repo.open.iona.com

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

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

      -


      FATAL ERROR

      -


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

       

       

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

       

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

       

       

      -


      Trace

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

      es:pom:4.2.0-fuse-02-00 for project org.apache.servicemix.examples:examples:pom:4.2.0-fuse-02-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(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

              at java.lang.reflect.Method.invoke(Unknown Source)

              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.exa

      mples:examples:pom:4.2.0-fuse-02-00 for project org.apache.servicemix.examples:examples:pom:4.2.0-fuse-02-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)

       

       

      2) page 30, when typing "karaf@root> install examples-cxf-osgi"

      I get : "java.net.MalformedURLException: no protocol: examples-cxf-osgi"

       

      3) page 32, when typing "karaf@root> features:install webconsole"

      I get : "URL mvn:org.apache.felix/org.apache.felix.metatype/1.0.2 could not be resolved"

       

      How can I do to make the tutorial work ????

       

      Thank you in advance for your answer.

      JEG