For the longest time our projects were setup in a mostly canonical maven way. Each module was separated into multiple sub modules. Each top level module got its own source-control repository.
The initial idea was each module was its own thing and our lives would be easier if we could version each project independently.
Reality did not match up with that thought. Our features and functionality grew along with the pace of our major releases. The once separated modules became developed concurrently as they call communicated with each other. To manage the maven tree, we have to either use SNAPSHOT everywhere or version everything. Each of those solutions have problems.
I’ve never had to manage this much source code changing this fast, so I could use some advice. I think the best solution would be to merge all the individual repositories into one repo. In my head, these are the pro’s and con’s I can think of:
- All source code is managed globally across all projects, allowing for coherent feature branching
- With a guaranteed source tree layout, we can write tools to manage maven that will work for all developers
- A developer can get back to the state of any arbitrary build. This could be crucial for rebuilding production artifacts for a damaged system
- We can no longer tie specific modules to specific dependencies. Changing a core library will effect everything.
- We lose some access control. We may not want contractors working on core code, but only the Web front end.
- Similar to above, but developers will be forced to check out everything. With the wrong VCS, downloading branches and tags could be very expensive.
What I’d like to know is what else am I not thinking of? Has anyone else had some experience they’d like to share? Please leave a comment or send a tweet @vi_jedi.
Did you like this? Please share:
The Lost Year: A Failed Experiment to Switch Away From Mac
Fed up with the Apple Keyboard, I bought a ThinkPad, installed Linux, and promptly decided that I hated computers.
Maker's Space, Manager's Space
The Grand Remote Work Experiment: A Retrospective
The COVID-19 pandemic has lead to an unexpected experiment in remote working. What has worked and why?