[overlord-commits] Overlord SVN: r41 - in trunk/samples/jbossesb/purchasing: system and 1 other directory.

overlord-commits at lists.jboss.org overlord-commits at lists.jboss.org
Fri Jun 20 07:58:43 EDT 2008


Author: jeff.yuchang
Date: 2008-06-20 07:58:43 -0400 (Fri, 20 Jun 2008)
New Revision: 41

Modified:
   trunk/samples/jbossesb/purchasing/README.txt
   trunk/samples/jbossesb/purchasing/system/pom.xml
Log:
[SOAG-13]
* update pom file


Modified: trunk/samples/jbossesb/purchasing/README.txt
===================================================================
--- trunk/samples/jbossesb/purchasing/README.txt	2008-06-20 11:30:06 UTC (rev 40)
+++ trunk/samples/jbossesb/purchasing/README.txt	2008-06-20 11:58:43 UTC (rev 41)
@@ -1,16 +1,23 @@
 The Purchasing example.
 
-
 Required to run the Purchasing example:
 - ANT
+- Maven
 - JBoss AS 4.2.1 or higher with the JBoss ESB SAR deployment (jbossesb.sar). 
 
 Settings required to edit before running:
 
-File: system/build.xml 
-- Update the "deployer.dir" to your JBossAS server directory.
+File: system/pom.xml 
+- Update the "deploy.dir" to your JBossAS server directory.
 
+-- Notice Before jbossesb-rosetta.jar and jbossesb-config-model.jar get published in jboss maven repository, you need to install these two artifacts into 
+your local repository by using following commands:
 
+mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> 
+    -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging> 
+
+Here we are using jbossesb-rosetta 4.2.1 version, jbossesb-config-model 1.0.1 version.
+
 Running instructions:
 ------------------------------------------------
 To run the purchasing, follow these steps:
@@ -19,12 +26,10 @@
 
 2 - from the $JBossAS, execute the command to start the ESB: "bin/run.sh", or "bin/run.bat" for windows.
 
-3 - from the $Purchasing/system, execute the command to deploy the "Purchasing system": "ant deploy"
-* this should deploy the ESB file to your JBoss AS server/default.
-
 3 - from the $Purchasing/system execute the command to start the Hsql database: "ant startdb".
 
-4 - start another window/shell, from the $Purchasing/system execute the command to export the schemas to db: "ant schemaexport".
+4 - Open up another shell, from the $Purchasing/system, execute the command to deploy the "Purchasing system": "mvn install"
+* this should deploy the ESB archive to your JBoss AS server/default.
 
 5 - from the $Purchasing/client, execute the command to run the client: "ant runClient"
     You will see the "<BuyResponse id="5"></BuyResponse>" in the client console.

Modified: trunk/samples/jbossesb/purchasing/system/pom.xml
===================================================================
--- trunk/samples/jbossesb/purchasing/system/pom.xml	2008-06-20 11:30:06 UTC (rev 40)
+++ trunk/samples/jbossesb/purchasing/system/pom.xml	2008-06-20 11:58:43 UTC (rev 41)
@@ -43,6 +43,7 @@
 			    <groupId>org.hibernate</groupId>
 			    <artifactId>hibernate-tools</artifactId>
 			    <version>${hibernate-tools-version}</version>
+				<scope>provided</scope>
 		    </dependency>
 
 			<dependency>




More information about the overlord-commits mailing list