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

  • Home
  • SEARCH
  • 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 6794131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:11:05+00:00 2026-05-26T18:11:05+00:00

Which archetype was used here: http://maven.apache.org/guides/getting-started/index.html It says a directory structure should have been

  • 0

Which archetype was used here: http://maven.apache.org/guides/getting-started/index.html

It says a directory structure should have been created for you like:

/src/main/java/...
/src/test/....

I am using intelliJ, and I created a new maven project using the quickstart archetype.

The project doesn’t seem to have anything other than a pom.xml file at the moment, I guess that is all the quickstart archetype comes with template wise?

I can easily create the directory structure, but was just curious what archetype would generate a folder structure as per the maven getting started link above?

I am creating a simple java library, so was looking for a suitable archetype.

  • 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-26T18:11:06+00:00Added an answer on May 26, 2026 at 6:11 pm

    If you haven’t configured your IntelliJ to point at a valid Maven install, it won’t create the Maven structure/etc. It does not include its own maven.

    Set your M2_HOME environment directory to your Maven directory. On my Linux box I ended up exporting it within the startup script. Under OS X I edited /etc/launchd.conf and added a setenv M2_HOME /my/maven/dir. Under Windows IIRC I edited the startup script. It’s cool I don’t have to remember.

    Once you’ve done that, creating a Maven project from an archetype will work.

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

Sidebar

Related Questions

im just getting started on maven, and im currently following the article from http://www.sonatype.com/books/mvnex-book/reference/simple-project-sect-create-simple.html
I am wonder how maven know which archetype is used for specified pom.xml I
I've created a Maven archetype for a custom project setup, which is working wonderfully,
I'm creating a Maven archetype which generates a project skeleton that will include a
Which way do you prefer to create your forms in MVC? <% Html.Form() {
Which character should be used for ptrdiff_t in printf ? Does C standard clearly
We are using a Maven archetype to create an initial setup for projects using
Maven Archetypes are the templates by which you can quickly generate a running example
According to maven site , and some tutorials on the web, mvn archetype:generate would
I'm generating a Maven archetype for a simple project. I use archetype:generate , and

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.