• Home
  • Docker
  • Kubernetes
  • LLMs
  • Java
  • Ubuntu
  • Maven
  • Big Data
  • Archived
Maven | Create a web module (war file)
  1. Using the archetype "maven-archetype-webapp"
  2. POM file (sample)

  1. Using the archetype "maven-archetype-webapp"

  2. POM file (sample)
    Once the project generated, you can adjust the POM file.

    Build the project:

    Use the the goal "jetty:run" to run the web application:

    Use "curl" to test the web application:
© 2025  mtitek