[jboss-user] [Beginners Corner] - Patch for drools examples pom.xml
nuttycom
do-not-reply at jboss.com
Thu Jun 26 13:30:26 EDT 2008
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
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160944#4160944
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160944
More information about the jboss-user
mailing list