[jboss-svn-commits] JBL Code SVN: r35380 - in labs/jbossrules/trunk: drools-guvnor and 1 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Oct 1 08:49:20 EDT 2010


Author: ge0ffrey
Date: 2010-10-01 08:49:20 -0400 (Fri, 01 Oct 2010)
New Revision: 35380

Removed:
   labs/jbossrules/trunk/drools-guvnor/src/main/webapp/org.drools.guvnor.Guvnor/
Modified:
   labs/jbossrules/trunk/README.txt
   labs/jbossrules/trunk/drools-guvnor/pom.xml
   labs/jbossrules/trunk/pom.xml
Log:
JBRULES-2705 Guvnor: Use gwt-maven-plugin and remove the ant script

Modified: labs/jbossrules/trunk/README.txt
===================================================================
--- labs/jbossrules/trunk/README.txt	2010-10-01 12:44:12 UTC (rev 35379)
+++ labs/jbossrules/trunk/README.txt	2010-10-01 12:49:20 UTC (rev 35380)
@@ -32,6 +32,15 @@
 the following command worked well:
 set MAVEN_OPTS=-Xmx512m
 
+Configuring settings.xml for maven
+----------------------------------
+
+Read this document:
+  http://community.jboss.org/wiki/MavenGettingStarted-Developers
+so you can:
+ - deploy artifacts to the jboss repository
+ - easily use the jboss plugins
+
 Configuring Eclipse
 ===================
 

Modified: labs/jbossrules/trunk/drools-guvnor/pom.xml
===================================================================
--- labs/jbossrules/trunk/drools-guvnor/pom.xml	2010-10-01 12:44:12 UTC (rev 35379)
+++ labs/jbossrules/trunk/drools-guvnor/pom.xml	2010-10-01 12:49:20 UTC (rev 35380)
@@ -1,16 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <!-- README: if you have problems running the build.
-  you may need to go up one directory, and run "mvn install" to
-  make sure all the deps are ready.
-
-  If by chance the slackers who maintain the other projects have left the build slight broken,
-  you can skip the tests by doing:
-
-  "mvn -DskipTests install" and it should work.
-
-  -->
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <artifactId>drools</artifactId>
@@ -23,18 +13,17 @@
   <build>
     <finalName>drools-guvnor</finalName>
     <plugins>
-      <!-- TODO JBRULES-2686 -->
-      <!--<plugin>-->
-        <!--<groupId>org.codehaus.mojo</groupId>-->
-        <!--<artifactId>gwt-maven-plugin</artifactId>-->
-        <!--<version>1.2</version>-->
-        <!--<configuration>-->
-          <!--<module>org.drools.guvnor.Guvnor</module>-->
-          <!--<runTarget>org.drools.guvnor.Guvnor/Guvnor.html</runTarget>-->
-          <!--&lt;!&ndash; TODO experiment with <draftCompile>true</draftCompile> &ndash;&gt;-->
-        <!--</configuration>-->
-      <!--</plugin>-->
       <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>gwt-maven-plugin</artifactId>
+        <version>2.1-20101001.MGWT219</version>
+        <configuration>
+          <module>org.drools.guvnor.Guvnor</module>
+          <runTarget>org.drools.guvnor.Guvnor/Guvnor.html</runTarget>
+          <!-- TODO experiment with <draftCompile>true</draftCompile> -->
+        </configuration>
+      </plugin>
+      <plugin>
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
@@ -170,24 +159,22 @@
       <groupId>org.drools</groupId>
       <artifactId>drools-factconstraint</artifactId>
     </dependency>
-    <!-- TODO JBRULES-2686 -->
-    <!--<dependency>&lt;!&ndash; TODO with maven-gwt-plugin 2.1 use compileSourcesArtifacts instead (http://jira.codehaus.org/browse/MGWT-170) &ndash;&gt;-->
-      <!--<groupId>org.drools</groupId>-->
-      <!--<artifactId>drools-factconstraint</artifactId>-->
-      <!--<version>${project.version}</version>-->
-      <!--<classifier>sources</classifier>-->
-    <!--</dependency>-->
+    <dependency><!-- TODO with maven-gwt-plugin 2.1 use compileSourcesArtifacts instead (http://jira.codehaus.org/browse/MGWT-170) -->
+      <groupId>org.drools</groupId>
+      <artifactId>drools-factconstraint</artifactId>
+      <version>${project.version}</version>
+      <classifier>sources</classifier>
+    </dependency>
     <dependency>
       <groupId>org.drools</groupId>
       <artifactId>drools-ide-common</artifactId>
     </dependency>
-    <!-- TODO JBRULES-2686 -->
-    <!--<dependency>&lt;!&ndash; TODO with maven-gwt-plugin 2.1 use compileSourcesArtifacts instead (http://jira.codehaus.org/browse/MGWT-170) &ndash;&gt;-->
-      <!--<groupId>org.drools</groupId>-->
-      <!--<artifactId>drools-ide-common</artifactId>-->
-      <!--<version>${project.version}</version>-->
-      <!--<classifier>sources</classifier>-->
-    <!--</dependency>-->
+    <dependency><!-- TODO with maven-gwt-plugin 2.1 use compileSourcesArtifacts instead (http://jira.codehaus.org/browse/MGWT-170) -->
+      <groupId>org.drools</groupId>
+      <artifactId>drools-ide-common</artifactId>
+      <version>${project.version}</version>
+      <classifier>sources</classifier>
+    </dependency>
     <dependency>
       <groupId>wsdl4j</groupId>
       <artifactId>wsdl4j</artifactId>

Modified: labs/jbossrules/trunk/pom.xml
===================================================================
--- labs/jbossrules/trunk/pom.xml	2010-10-01 12:44:12 UTC (rev 35379)
+++ labs/jbossrules/trunk/pom.xml	2010-10-01 12:49:20 UTC (rev 35380)
@@ -1376,6 +1376,11 @@
         <artifactId>gwt-user</artifactId>
         <version>${gwt.version}</version>
       </dependency>
+      <dependency><!-- Only use for a plugin dependency, not as a normal dependency -->
+        <groupId>com.google.gwt</groupId>
+        <artifactId>gwt-dev</artifactId>
+        <version>${gwt.version}</version>
+      </dependency>
       <dependency>
         <groupId>commons-fileupload</groupId>
         <artifactId>commons-fileupload</artifactId>



More information about the jboss-svn-commits mailing list