Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1160

Basic sample pom.xml has repo errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 3.2
    • None
    • samples
    • None
    • Ubuntu Linux

    Description

      The pom.xml in the basic sample needs updating.

      Using the latest 3.2 ServiceMix download on Ubuntu Linux, I cannot get the "basic" ServiceMix sample to work out-of-the-box. Running "mvn jbi:embeddedServicemix" as the instructions say (http://servicemix.apache.org/basic.html) is returning the following error message below.

      This problem has occurred elsewhere:
      http://www.nabble.com/ServiceMix-Dependencies-not-found-tf4822980s12049.html#a13798573

      Error message:
      ....
      Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-soap/3.2/servicemix-soap-3.2.jar
      Downloading: http://repository.codehaus.org/org/apache/servicemix/servicemix-soap/3.2/servicemix-soap-3.2.jar
      Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/servicemix-soap/3.2/servicemix-soap-3.2.jar
      90K downloaded
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Failed to resolve artifact.

      Missing:
      ----------
      1) org.opensaml:opensaml:jar:1.1

      Try downloading the file manually from the project website.

      Then, install it using the command:
      mvn install:install-file -DgroupId=org.opensaml -DartifactId=opensaml \
      -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
      Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.opensaml -DartifactId=opensaml \
      -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file \
      -Durl=[url] -DrepositoryId=[id]

      Path to dependency:
      1) org.apache.servicemix.samples:basic:jar:3.2
      2) org.apache.servicemix:servicemix-jms:jar:3.2
      3) org.apache.servicemix:servicemix-shared:jar:3.2
      4) org.apache.servicemix:servicemix-soap:jar:3.2
      5) org.opensaml:opensaml:jar:1.1

      2) org.apache.woden:woden:jar:1.0.0M6

      Try downloading the file manually from the project website.

      Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.woden -DartifactId=woden \
      -Dversion=1.0.0M6 -Dpackaging=jar -Dfile=/path/to/file
      Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.woden -DartifactId=woden \
      -Dversion=1.0.0M6 -Dpackaging=jar -Dfile=/path/to/file \
      -Durl=[url] -DrepositoryId=[id]

      Path to dependency:
      1) org.apache.servicemix.samples:basic:jar:3.2
      2) org.apache.servicemix:servicemix-jms:jar:3.2
      3) org.apache.servicemix:servicemix-shared:jar:3.2
      4) org.apache.servicemix:servicemix-soap2:jar:3.2
      5) org.apache.woden:woden:jar:1.0.0M6

      ----------
      2 required artifacts are missing.

      for artifact:
      org.apache.servicemix.samples:basic:jar:3.2

      from the specified remote repositories:
      central (http://repo1.maven.org/maven2),
      servicemix-m2-repo (http://svn.apache.org/repos/asf/incubator/servicemix/m2-repo),
      codehaus (http://repository.codehaus.org),
      apache-incubating (http://people.apache.org/repo/m2-incubating-repository),
      apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
      apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
      apache.incubating (http://people.apache.org/repo/m2-incubating-repository)

      Attachments

        Activity

          People

            bsnyder Bruce Snyder
            gmazza Glen Mazza
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: