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

Building of ServiceMix :: Samples :: Loan Broker :: fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 3.4.1
    • Fix Version/s: 3.4.1
    • Component/s: samples
    • Labels:
    • Environment:

      Windows XP SP3, ServiceMix 3.5.0 trunk

    • Patch Info:
      Patch Available

      Description

      Building the Loan Broker sample fails

      [INFO] ServiceMix :: Samples :: Loan Broker :: Drools .... FAILURE [6:09.547s]

      The repository information for Drools seems to be hardcoded in the pom.xml and that is a broken link

      Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/drools/drools-compiler/5.1.1/drools-compiler-5.1.1.pom
      Downloading: http://repository.jboss.com/nexus/content/groups/public/org/drools/drools-compiler/5.1.1/drools-compiler-5.1.1.pom
      Downloading: http://repo1.maven.org/maven2/org/drools/drools-compiler/5.1.1/drools-compiler-5.1.1.pom
      Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/drools/drools-compiler/5.1.1/drools-compiler-5.1.1.pom
      Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/antlr/antlr-master/3.3/antlr-master-3.3.pom
      Downloading: http://repository.jboss.com/nexus/content/groups/public/org/antlr/antlr-master/3.3/antlr-master-3.3.pom
      Downloading: http://repo1.maven.org/maven2/org/antlr/antlr-master/3.3/antlr-master-3.3.pom
      Downloaded: http://repo1.maven.org/maven2/org/antlr/antlr-master/3.3/antlr-master-3.3.pom (10 KB at 64.9 KB/sec)
      Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/antlr/antlr/3.3/antlr-3.3.pom
      Downloading: http://repository.jboss.com/nexus/content/groups/public/org/antlr/antlr/3.3/antlr-3.3.pom
      Downloading: http://repo1.maven.org/maven2/org/antlr/antlr/3.3/antlr-3.3.pom
      Downloaded: http://repo1.maven.org/maven2/org/antlr/antlr/3.3/antlr-3.3.pom (4 KB at 43.5 KB/sec)
      Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.pom
      Downloading: http://repository.jboss.com/nexus/content/groups/public/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.pom
      Downloading: http://repo1.maven.org/maven2/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.pom
      Downloaded: http://repo1.maven.org/maven2/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.pom (8 KB at 117.5 KB/sec)
      Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/eclipse/jdt/core/compiler/ecj/3.5.1/ecj-3.5.1.pom
      Downloading: http://repository.jboss.com/nexus/content/groups/public/org/eclipse/jdt/core/compiler/ecj/3.5.1/ecj-3.5.1.pom
      Downloading: http://repo1.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/3.5.1/ecj-3.5.1.pom
      Downloaded: http://repo1.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/3.5.1/ecj-3.5.1.pom (2 KB at 20.0 KB/sec)
      Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/mvel/mvel2/2.1.0.drools4/mvel2-2.1.0.drools4.pom
      Downloading: http://repository.jboss.com/nexus/content/groups/public/org/mvel/mvel2/2.1.0.drools4/mvel2-2.1.0.drools4.pom
      Downloading: http://repo1.maven.org/maven2/org/mvel/mvel2/2.1.0.drools4/mvel2-2.1.0.drools4.pom
      Downloaded: http://repo1.maven.org/maven2/org/mvel/mvel2/2.1.0.drools4/mvel2-2.1.0.drools4.pom (10 KB at 121.1 KB/sec)

      Instead, link to 5.3.1.FINAL that is in Maven Central

      1. log.txt
        79 kB
        Freeman Fang

        Activity

        Hide
        crat0s Lord Voldemort added a comment -

        Thanks Freeman Fang. This ticket should be closed.

        Show
        crat0s Lord Voldemort added a comment - Thanks Freeman Fang. This ticket should be closed.
        Hide
        ffang Freeman Fang added a comment -

        Ok, please see the log.txt, I build that example without drools lib in my local repo, so it can download it remotely

        Show
        ffang Freeman Fang added a comment - Ok, please see the log.txt, I build that example without drools lib in my local repo, so it can download it remotely
        Hide
        crat0s Lord Voldemort added a comment -

        Thanks Freeman Fang. I've been trying this build since yesterday, and it keeps failing.

        It would be wonderful if someone could post success logs, and we can close this issue.

        Show
        crat0s Lord Voldemort added a comment - Thanks Freeman Fang. I've been trying this build since yesterday, and it keeps failing. It would be wonderful if someone could post success logs, and we can close this issue.
        Hide
        ffang Freeman Fang added a comment -

        Hi,
        The drools artifacts is in jboss maven repository and we already have this repository in smx3 root pom.xml

        <!-- For Drools -->
                <repository>
                    <id>jboss</id>
                    <name>JBoss Maven Repo</name>
                    <url>http://repository.jboss.com/nexus/content/groups/public/</url>
                </repository>
        

        so you should be able to build it, actually from your build log, it already try to reach jboss repository, but probably your firewall or jboss repository temporary down cause issue.

        Show
        ffang Freeman Fang added a comment - Hi, The drools artifacts is in jboss maven repository and we already have this repository in smx3 root pom.xml <!-- For Drools --> <repository> <id>jboss</id> <name>JBoss Maven Repo</name> <url>http: //repository.jboss.com/nexus/content/groups/ public /</url> </repository> so you should be able to build it, actually from your build log, it already try to reach jboss repository, but probably your firewall or jboss repository temporary down cause issue.

          People

          • Assignee:
            ffang Freeman Fang
            Reporter:
            crat0s Lord Voldemort
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development