From d531bd9bcfa6e072ba381dd364c535a7a02dc3d5 Mon Sep 17 00:00:00 2001 From: Mark Struberg Date: Wed, 16 Oct 2024 13:01:37 +0200 Subject: [PATCH] OWB-1446 move guess sample to cargo-m-p --- samples/guess/pom.xml | 23 +++++++++++---------- samples/pom.xml | 47 +++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 57 insertions(+), 13 deletions(-) diff --git a/samples/guess/pom.xml b/samples/guess/pom.xml index df9992bc0..4503d9c82 100644 --- a/samples/guess/pom.xml +++ b/samples/guess/pom.xml @@ -21,7 +21,7 @@ under the License. org.apache.openwebbeans samples - 4.0.0-SNAPSHOT + 4.0.3-SNAPSHOT ../pom.xml @@ -29,6 +29,7 @@ under the License. org.apache.openwebbeans.samples guess war + Sample Guess Application Simple login application @@ -40,8 +41,8 @@ under the License. guess - org.apache.tomcat.maven - tomcat7-maven-plugin + org.codehaus.cargo + cargo-maven3-plugin @@ -57,8 +58,8 @@ under the License. - org.apache.geronimo.specs - geronimo-servlet_3.0_spec + org.apache.tomcat + tomcat-servlet-api provided @@ -82,18 +83,18 @@ under the License. ${project.version} - - - jakarta.enterprise - jakarta.enterprise.cdi-api - - jakarta.inject jakarta.inject-api + + + jakarta.enterprise + jakarta.enterprise.cdi-api + + jakarta.annotation diff --git a/samples/pom.xml b/samples/pom.xml index 50ca87752..0d564eaaa 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -31,8 +31,19 @@ under the License. OWB Samples Apache OpenWebBeans Samples contains samples project for openwebbeans. + + false + 8080 + @@ -42,10 +53,31 @@ under the License. org.codehaus.cargo cargo-maven3-plugin + + tomcat10x + + org.apache.tomcat + tomcat + ${tomcat.version} + + + + + war + ${project.build.directory}/${project.build.finalName}.war + + /${project.build.finalName} + + + - + + ${tomcat.port} + ${cargo.debug.args} + + @@ -106,12 +138,23 @@ under the License. standalone-sample - + + + + cargoDebug + + + -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 -Xnoagent + + + +