0 Replies Latest reply on Jun 26, 2008 1:30 PM by Kris Nuttycombe

    Patch for drools examples pom.xml

    Kris Nuttycombe Newbie

      I found that I had to make some changes to the pom.xml file of the drools examples project to get it to build. Here's the patch:

      --- pom.xml 2008-06-26 11:24:57.000000000 -0600
      +++ pom.xml 2008-06-26 11:26:42.000000000 -0600
      @@ -5,21 +5,23 @@
       <parent>
       <artifactId>drools</artifactId>
       <groupId>org.drools</groupId>
      - <version>4.0.7.SNAPSHOT</version>
      + <version>4.0.7</version>
       </parent>
      
       <!--
       TODO make this packing pom and make 2 submodules: example-waltz and example-manners
       (and possibly example-common too)
       -->
      + <groupId>org.drools</groupId>
       <artifactId>drools-examples</artifactId>
       <packaging>jar</packaging>
       <name>Drools :: examples</name>
      
       <repositories>
       <repository>
      - <id>basedir</id>
      - <url>file://${basedir}/../m2_repo</url>
      + <id>drools</id>
      + <name>JBoss Drools Repository for Maven</name>
      + <url>http://repository.jboss.com/maven2</url>
       </repository>
       </repositories>
      


      I switched the examples to use the jboss maven2 repository because the m2_repo directory is empty in the examples zipfile.

      Kris