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 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

Ask A Question

Stats

  • Questions 319k
  • Answers 319k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer By default each app pool gets 1 w3wp process, but… May 14, 2026 at 12:05 am
  • Editorial Team
    Editorial Team added an answer SASL is available in most SVN server binaries available for… May 14, 2026 at 12:05 am
  • Editorial Team
    Editorial Team added an answer First, you might wish to think about your approach some… May 14, 2026 at 12:05 am

Related Questions

We are planning on moving for MS Source Safe (ouch) to SVN. We are
We are planning on adding multi-language support for our ASP.NET Website. I understand the
We are planning to upgrade our test server and to do so we were
What would the differences be in implementing remote business logic? Currently we are planning
We are currently looking at either using CAB or MEF for our next application.

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.