You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by ks...@apache.org on 2013/05/09 14:36:56 UTC

svn commit: r1480606 - in /juddi/trunk/juddi-examples/wsdl2uddi-lifecyle: README.txt pom.xml

Author: kstam
Date: Thu May  9 12:36:56 2013
New Revision: 1480606

URL: http://svn.apache.org/r1480606
Log:
JUDDI-514 updating the readme and adding a deploydev profile

Modified:
    juddi/trunk/juddi-examples/wsdl2uddi-lifecyle/README.txt
    juddi/trunk/juddi-examples/wsdl2uddi-lifecyle/pom.xml

Modified: juddi/trunk/juddi-examples/wsdl2uddi-lifecyle/README.txt
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/wsdl2uddi-lifecyle/README.txt?rev=1480606&r1=1480605&r2=1480606&view=diff
==============================================================================
--- juddi/trunk/juddi-examples/wsdl2uddi-lifecyle/README.txt (original)
+++ juddi/trunk/juddi-examples/wsdl2uddi-lifecyle/README.txt Thu May  9 12:36:56 2013
@@ -19,12 +19,22 @@ INFO: Registering business WSDL-Business
 [INFO] BUILD SUCCESS
 [INFO] ------------------------------------------------------------------------
 
-4. Now that the business is there, we can deploy the wsdl2uddi.war which contains the
+4. Build the wsdl2uddi.war:
+
+mvn clean package
+
+5. Now that the business is there, we can deploy the wsdl2uddi.war which contains the
 JAX-WS HelloWorld WebService and it deploys its wsdl (in wsdl/HelloWorld.wsdl). So on deployment
-it brings up the WebService AND it registers it to UDDI.
+it brings up the WebService AND it registers it to UDDI. 
+
+From the distro use:
 
 mvn -Pdeploy cargo:deploy
 
+when in src tree tomcat is in a different location, so use the deploydev profile:
+
+mvn -Pdeploydev cargo:deploy
+
 [INFO] Scanning for projects...
 [INFO]                                                                         
 [INFO] ------------------------------------------------------------------------
@@ -65,7 +75,7 @@ Registering the WSDL:
 2013-05-08 21:31:58,421 INFO [org.apache.juddi.v3.client.config.UDDIClerk] - Registering bindingTemplate with key uddi:uddi.joepublisher.com:binding_localhost_helloworld_helloworldimplport_8080
 
 
-5. Check that we can find this business in the registry by running from Queries
+6. Check that we can find this business in the registry by running from Queries
 
 mvn -Pfind test
 
@@ -90,10 +100,16 @@ BindingTemplates: 1
 So we got one Service, which one binding. Note that the descriptions were provided in the wsdl file
 using <wsdl:documentation> elements.
 
-6. Finally to undeploy the wsdl2uddi.war call 
+7. Finally to undeploy the wsdl2uddi.war call 
+
+From the distro use:
 
 mvn -Pdeploy cargo:undeploy
 
+when in src tree tomcat is in a different location, so use the deploydev profile:
+
+mvn -Pdeploydev cargo:undeploy
+
 This removes the HelloWorld WebService and removes the data from the UDDI server.
 
 ClientSide logging:

Modified: juddi/trunk/juddi-examples/wsdl2uddi-lifecyle/pom.xml
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/wsdl2uddi-lifecyle/pom.xml?rev=1480606&r1=1480605&r2=1480606&view=diff
==============================================================================
--- juddi/trunk/juddi-examples/wsdl2uddi-lifecyle/pom.xml (original)
+++ juddi/trunk/juddi-examples/wsdl2uddi-lifecyle/pom.xml Thu May  9 12:36:56 2013
@@ -170,9 +170,6 @@
                         </container>
                         <configuration>
                             <type>existing</type>
-                            <!-- in src tree use this
-                            <home>${basedir}/../../juddi-tomcat/target/tomcat/apache-tomcat-6.0.26</home> -->
-                            <!--  in distro use this -->
                             <home>${basedir}/../../juddi-tomcat-${project.parent.version}</home>
                         </configuration>
                         <deployables>
@@ -188,6 +185,35 @@
             </plugins>
         </build>  
         </profile>
+                <profile>
+        <id>deploydev</id>
+        <build>
+            <plugins>
+                <plugin>
+                    <groupId>org.codehaus.cargo</groupId>
+                    <artifactId>cargo-maven2-plugin</artifactId>
+                    <version>1.3.3</version>
+                    <configuration>
+                        <container>
+                            <containerId>tomcat6x</containerId>
+                        </container>
+                        <configuration>
+                            <type>existing</type>
+                            <home>${basedir}/../../juddi-tomcat/target/tomcat/apache-tomcat-6.0.26</home> -->
+                        </configuration>
+                        <deployables>
+                            <deployable>
+                                <groupId>org.apache.juddi.example</groupId>
+                                <artifactId>wsdl2uddi-lifecycle</artifactId>
+                                <type>war</type>
+                                
+                            </deployable>
+                         </deployables>
+                     </configuration>
+                </plugin>
+            </plugins>
+        </build>  
+        </profile>
     </profiles>
     <packaging>war</packaging>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org