You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by "reta (via GitHub)" <gi...@apache.org> on 2025/12/10 01:31:14 UTC

[PR] CXF-9188: Update Maven Archetypes and 'JAX-RS: Maven Plugins' guide [cxf]

reta opened a new pull request, #2779:
URL: https://github.com/apache/cxf/pull/2779

   CXF-9188: Update Maven Archetypes and 'JAX-RS: Maven Plugins' guide


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cxf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CXF-9188: Update Maven Archetypes and 'JAX-RS: Maven Plugins' guide [cxf]

Posted by "reta (via GitHub)" <gi...@apache.org>.
reta commented on PR #2779:
URL: https://github.com/apache/cxf/pull/2779#issuecomment-3637059555

   > @reta I just did a mvn clean install with the patch applied and then mvn archetype:generate -Dfilter=org.apache.cxf.archetype: -Dversion=4.2.0-SNAPSHOT and selected 1 and did mvn clean install in the generated folder. Did I miss a step?
   
   No, steps are all good, I am curious what did you see among choices:
   
   ```
   $ mvn archetype:generate -Dfilter=org.apache.cxf.archetype: -Dversion=4.2.0-SHAPSHOT
   [INFO] Scanning for projects...
   [INFO]
   [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
   [INFO] Building Maven Stub Project (No POM) 1
   [INFO] --------------------------------[ pom ]---------------------------------
   [INFO]
   [INFO] >>> archetype:3.4.1:generate (default-cli) > generate-sources @ standalone-pom >>>
   [INFO]
   [INFO] <<< archetype:3.4.1:generate (default-cli) < generate-sources @ standalone-pom <<<
   [INFO]
   [INFO]
   [INFO] --- archetype:3.4.1:generate (default-cli) @ standalone-pom ---
   [INFO] Generating project in Interactive mode
   Downloading from central: https://repo.maven.apache.org/maven2/archetype-catalog.xml
   Downloaded from central: https://repo.maven.apache.org/maven2/archetype-catalog.xml (17 MB at 21 MB/s)
   [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
   Choose archetype:
   1: remote -> io.github.rzo1.org.apache.cxf.archetype:cxf-jaxrs-service (Simple CXF JAX-RS webapp service using Spring configuration)
   2: remote -> io.github.rzo1.org.apache.cxf.archetype:cxf-jaxws-javafirst (Creates a project for developing a Web service starting from Java code)
   3: remote -> io.github.rzo1.org.apache.cxf.archetype:cxf-jaxws-wsdlfirst (Creates a contract (WSDL)-first CXF web service)
   4: remote -> org.apache.cxf.archetype:cxf-jaxrs-service (Simple CXF JAX-RS webapp service using Spring configuration)
   5: remote -> org.apache.cxf.archetype:cxf-jaxws-javafirst (Creates a project for developing a Web service starting from Java code)
   6: remote -> org.apache.cxf.archetype:cxf-jaxws-wsdlfirst (Creates a contract (WSDL)-first CXF web service)
   Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 
   ```
   
   This is what I am getting and 1-3 are not the ones we should be picking, but 4-6.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cxf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CXF-9188: Update Maven Archetypes and 'JAX-RS: Maven Plugins' guide [cxf]

Posted by "coheigea (via GitHub)" <gi...@apache.org>.
coheigea commented on PR #2779:
URL: https://github.com/apache/cxf/pull/2779#issuecomment-3637271430

   Ah sorry, I didn't spot the first three weren't from CXF.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cxf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CXF-9188: Update Maven Archetypes and 'JAX-RS: Maven Plugins' guide [cxf]

Posted by "reta (via GitHub)" <gi...@apache.org>.
reta commented on PR #2779:
URL: https://github.com/apache/cxf/pull/2779#issuecomment-3636933950

   > I tried the jaxrs one with the patch and got some errors:
   > 
   > ```
   > SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
   > java.lang.NoClassDefFoundError: jakarta/servlet/ServletContextListener
   > ```
   
   Thanks @coheigea , did you rebuild & republish archetypes locally? Could you please share the complete log (here or on the issue)? I did run them locally and confirmed that the generated projects are passing tests and are deployable.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cxf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CXF-9188: Update Maven Archetypes and 'JAX-RS: Maven Plugins' guide [cxf]

Posted by "coheigea (via GitHub)" <gi...@apache.org>.
coheigea commented on PR #2779:
URL: https://github.com/apache/cxf/pull/2779#issuecomment-3637028788

   @reta I just did a mvn clean install with the patch applied and then mvn archetype:generate -Dfilter=org.apache.cxf.archetype: -Dversion=4.2.0-SNAPSHOT and selected 1 and did mvn clean install in the generated folder. Did I miss a step?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cxf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CXF-9188: Update Maven Archetypes and 'JAX-RS: Maven Plugins' guide [cxf]

Posted by "reta (via GitHub)" <gi...@apache.org>.
reta merged PR #2779:
URL: https://github.com/apache/cxf/pull/2779


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cxf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org