diff --git a/distribution/src/main/release/samples/java_first_jaxws/README.txt b/distribution/src/main/release/samples/java_first_jaxws/README.txt index c90ca4c45c0..7d1841bf9d8 100644 --- a/distribution/src/main/release/samples/java_first_jaxws/README.txt +++ b/distribution/src/main/release/samples/java_first_jaxws/README.txt @@ -25,13 +25,9 @@ Alternative: WAR deployment of service to Tomcat (either embedded or standalone) value, for running this sample on your local machine most likely: "http://localhost:8080/java_first_jaxws/services/hello_world". -2.) Standalone Tomcat: Manually copy the generated WAR file to the Tomcat webapps folder, -or, if you have Maven and Tomcat set up to use the Tomcat Maven Plugin -(http://tomcat.apache.org/maven-plugin-2.2/tomcat7-maven-plugin/index.html) you can -use the mvn tomcat7:redeploy command instead. +2.) Standalone Tomcat: Manually copy the generated WAR file to the Tomcat webapps folder -For embedded Tomcat 7: Just run mvn tomcat7:run-war from the project base folder. -For embedded Tomcat 8: Just run mvn cargo:run from the project base folder. +For embedded Tomcat: Just run mvn cargo:run from the project base folder. Prior to running the client (mvn -Pclient) it would be good to confirm the generated WSDL can be seen from a web browser at: diff --git a/distribution/src/main/release/samples/java_first_jaxws/pom.xml b/distribution/src/main/release/samples/java_first_jaxws/pom.xml index afb96ba605d..5a631a19460 100644 --- a/distribution/src/main/release/samples/java_first_jaxws/pom.xml +++ b/distribution/src/main/release/samples/java_first_jaxws/pom.xml @@ -37,23 +37,13 @@ src/main/webapp/WEB-INF/web.xml - - org.apache.tomcat.maven - tomcat7-maven-plugin - 2.2 - - myTomcat - http://localhost:8080/manager/text - /${project.build.finalName} - - org.codehaus.cargo cargo-maven2-plugin 1.8.5 - tomcat8x + tomcat org.apache.tomcat tomcat diff --git a/distribution/src/main/release/samples/jax_rs/websocket_web/README.txt b/distribution/src/main/release/samples/jax_rs/websocket_web/README.txt index 7d41f61f4c4..fe584ed09e3 100644 --- a/distribution/src/main/release/samples/jax_rs/websocket_web/README.txt +++ b/distribution/src/main/release/samples/jax_rs/websocket_web/README.txt @@ -16,13 +16,13 @@ Using either UNIX or Windows: This will produce a war file in the target folder. -To run the war file using jetty9 +To run the war file using jetty mvn jetty:run-war (from one command line window) -To run the war file using tomcat7 +To run the war file using tomcat - mvn tomcat7:run-war (from one command line window) + mvn cargo:run (from one command line window) To remove the target dir, run mvn clean". diff --git a/distribution/src/main/release/samples/jax_rs/websocket_web/pom.xml b/distribution/src/main/release/samples/jax_rs/websocket_web/pom.xml index db362ed87d2..ebcfb83f122 100644 --- a/distribution/src/main/release/samples/jax_rs/websocket_web/pom.xml +++ b/distribution/src/main/release/samples/jax_rs/websocket_web/pom.xml @@ -50,62 +50,39 @@ - org.apache.tomcat.maven - tomcat7-maven-plugin - 2.2 + org.codehaus.cargo + cargo-maven2-plugin + 1.8.5 - ${project.build.directory}/${project.artifactId} - 9000 - / + + tomcat + + org.apache.tomcat + tomcat + ${cxf.tomcat.version} + + + + standalone + + ${project.build.directory}/apache-tomcat-${cxf.tomcat.version} + + + 8080 + high + + + + + ${project.groupId} + ${project.artifactId} + war + + /${project.build.finalName} + + + - - - run-tomcat - - true - - - run - - - - - - org.apache.tomcat.embed - tomcat-embed-core - ${cxf.tomcat.version} - - - org.apache.tomcat.embed - tomcat-embed-logging-juli - ${cxf.tomcat.version} - - - org.apache.tomcat.embed - tomcat-embed-jasper - ${cxf.tomcat.version} - - - org.apache.tomcat - tomcat-jasper - ${cxf.tomcat.version} - - - org.apache.tomcat - tomcat-jasper-el - ${cxf.tomcat.version} - - - org.apache.tomcat - tomcat-jsp-api - ${cxf.tomcat.version} - - - org.apache.tomcat.embed - tomcat-embed-websocket - ${cxf.tomcat.version} - - org.apache.maven.plugins diff --git a/distribution/src/main/release/samples/wsdl_first/README.txt b/distribution/src/main/release/samples/wsdl_first/README.txt index af5fca2f196..030a0256dab 100644 --- a/distribution/src/main/release/samples/wsdl_first/README.txt +++ b/distribution/src/main/release/samples/wsdl_first/README.txt @@ -99,11 +99,9 @@ switching the soap:address value to the servlet-specific one (presently commented-out). 2.) For standalone Tomcat: You can manually copy the generated WAR file to the Tomcat -webapps folder, or, if you have Maven and Tomcat set up to use the Tomcat Maven Plugin -(http://tomcat.apache.org/maven-plugin-2.1/tomcat7-maven-plugin/index.html) -you can use the mvn tomcat7:redeploy command instead. +webapps folder. -For embedded Tomcat: Just run mvn tomcat7:run-war from the project base folder. +For embedded Tomcat: Just run mvn cargo:run from the project base folder. 3.) Next activate the client via mvn -Pclient as explained in the previous section. diff --git a/distribution/src/main/release/samples/wsdl_first/pom.xml b/distribution/src/main/release/samples/wsdl_first/pom.xml index b5a373c770f..34e3b8fc728 100644 --- a/distribution/src/main/release/samples/wsdl_first/pom.xml +++ b/distribution/src/main/release/samples/wsdl_first/pom.xml @@ -49,13 +49,38 @@ - org.apache.tomcat.maven - tomcat7-maven-plugin - 2.2 + org.codehaus.cargo + cargo-maven2-plugin + 1.8.5 - myTomcat - http://localhost:8080/manager/text - /${project.build.finalName} + + tomcat + + org.apache.tomcat + tomcat + ${cxf.tomcat.version} + + + + standalone + + ${project.build.directory}/apache-tomcat-${cxf.tomcat.version} + + + 8080 + high + + + + + ${project.groupId} + ${project.artifactId} + war + + /${project.build.finalName} + + +