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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:23:17+00:00 2026-06-05T13:23:17+00:00

My usual practice is to have a single maven project (can be multi-module) per

  • 0

My usual practice is to have a single maven project (can be multi-module) per svn trunk like this:

trunk/ (style 1)
  /pom.xml
  /submod-1
  /submod-2

Basically, the entire trunk is treated as a single release package. I find this easier to manage. There’s an aggregation/parent pom to manage all modules within this trunk.

However, i noticed some of my peers organize like this:

trunk/ (style 2)
  /project-1
    /pom.xml
  /project-2
    /pom.xml

Basically, within the single svn trunk…project-1 and project-2 needs to be managed separately. i.e. I cannot checkout the trunk and work with its contents as a single multi-module maven project -something i appreciate.

Q1: When would style 2 be a good idea, if at all?

Q2: Can someone tell/point me to best practices on how to manage maven projects with subversion?

  • 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-06-05T13:23:18+00:00Added an answer on June 5, 2026 at 1:23 pm

    I have seen instances of both.

    In my opinion, it depends on how independent the projects/modules are. If they have their own release plans, then it makes sense for them to have their own trunk, branches and tags. However, if the projects/modules are always released together, it may make sense for them to be part of a single trunk.

    From a maven perspective, if the modules of a multi-module project inherit their <version> from the parent, then it should follow style 1 above.

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

Sidebar

Related Questions

I have commited just the src folder and pom.xml of maven project into SVN
I have a class which I can write like this: class FileNameLoader { public:
As usual, I have Googled this a fair bit and read up on the
The usual way to assign color box functionality on a link is like this:
I have a library I wrote with a structure like this: SolutionA\ --Source\ --Core\
While doing a desing/framework it is a usual practice to have a Base Class
Say I have a class like this: @interface MyAwesomeClass : NSObject { @private NSString
As usual, I've Googled this and read through the documentation ( W3C's CSS Selectors
The usual pattern for a singleton class is something like static Foo &getInst() {
I have a SQL Server 2005 data-mart star schema with the usual fact 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.