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 562699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:34:56+00:00 2026-05-13T12:34:56+00:00

We are planning on restructuring a complex project with many modules/pieces, what ever you

  • 0

We are planning on restructuring a complex project with many modules/pieces, what ever you wanna call it. In order to move toward a standard directory structure, we would like to adopt the maven file structure.

So the big question is: Can anybody provide a description of the maven file structure, where we don’t have to dig through all the maven speak?

  • 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-13T12:34:56+00:00Added an answer on May 13, 2026 at 12:34 pm

    Please see
    http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html

    src/main/java      Application/Library sources
    src/main/resources   Application/Library resources
    src/main/filters    Resource filter files
    src/main/assembly    Assembly descriptors
    src/main/config      Configuration files
    src/main/webapp      Web application sources
    src/test/java      Test sources
    src/test/resources   Test resources
    src/test/filters     Test resource filter files
    src/site            Site
    LICENSE.txt          Project's license
    README.txt        Project's readme
    

    BTW, we did that migration on existing projects.
    It was a really long and hard task to make everything work as intended, but we are finally done and happy with it.


    UPDATED

    When you have many projects, you have the same structure for each project.

    Now the real problem starts when you want to group them. We had a hard time reading Maven documentation and best-practices, and deciding what was the appropriate structure for us.

    The basic idea would be to group related projects in a common directory (that we call a module), allowing to process the module as a whole without listing them. But if you open the module in an IDE (Eclipse in our case), the projects themselves belong to it, but are not opened as subprojects (that notion doesn’t exist in Eclipse).

    We ended up with a strict hierarchy, that freed us from many maven problems:

    • The actual coding projects (java projects) are always leaf in our directory tree. They are the only ones we open in the IDE. They are of type JAR, or WAR.
    • Their parents/modules are always of type POM. They have no java code.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im planning to upgrade a large vb6 application to .net. The project uses many
I'm planning on doing more coding from home but in order to do so,
When planning a software project, I wish to force Microsoft Project to keep several
We are planning on moving for MS Source Safe (ouch) to SVN. We are
I was planning to use url routing for a Web Forms application. But, after
I am planning to extend the basic html input tag provided by Spring to
I'm planning on creating a game that contains a landscape with objects on it.
I'm planning to write a program in Ruby to analyse some data which has
I'm planning to propose to my (very small) company that we buy a computer
I'm planning on creating a social networking + MP3 lecture downloading / browsing /

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.