Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4245354
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T03:49:46+00:00 2026-05-21T03:49:46+00:00

I am wonder how maven know which archetype is used for specified pom.xml I

  • 0

I am wonder how maven know which archetype is used for specified pom.xml

I didn’t find any difference between pom.xml of maven-archetype-quickstart and that of maven-archetype-webapp.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T03:49:47+00:00Added an answer on May 21, 2026 at 3:49 am

    These are two different Questions:

    I am wonder how maven know which
    archetype is used for specified
    pom.xml

    The archetype plugin is usually used interactively. You just call mvn archetype:create, and the wizard walks you through the different steps. There’s nothing you need to configure in a pom. In fact it would be silly to put archetype information in an existing project, as archetypes are for creating new projects.

    I did not found any difference between
    pom.xml of maven-archetype-quickstart
    and that of maven-archetype-webapp.

    The main difference is that webapp contains a folder src/main/webapp which contains your static web resources and the WEB-INF folder. Also, the packaging is set to war. So maven-archetype-quickstart is the default for creating a simple jar project, while maven-archetype-webapp is the default for creating a simple war project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In maven , once you define your modules in you pom.xml all profiles aggregate
http://blogs.jetbrains.com/idea/2010/05/maven-dependencies-diagram/ I can't find it, and I wonder if it's because I'm lame, or
Wonder what the difference between: static PROCESSWALK pProcess32First=(PROCESSWALK)GetProcAddress(hKernel,Process32First); ... pProcess32First(...); what is hKernel? Look
In my small company Maven is something new. I wonder Is Maven used in
While writing for the first time a multi-modules maven pom, I wonder something. First,
I wonder whether I can setting up a private maven repository based on my
I wonder what is the Maven way in my situation. My application has a
I wonder if it is possible, to stop Maven 3.0 downloading old libraries and
I know why not to commit Eclipse/IDE-specific files into a VCS like Git (which
I have parent pom which configures certain plugins <pluginManagement> </plugins> <plugin> <artifactId>gmaven-plugin</artifactId> ... </plugin>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.