All Questions
13 questions
0
votes
2
answers
396
views
Suggestion a Safe Strategy to Migrate to Monorepo
Consider a bitbucket project with 3 separate repos, A, B, C. These form the components of a microservices application, APP. We'd like to safely try out a monorepo pattern and see if it streamlines ...
1
vote
2
answers
5k
views
What directories and files should I push to my Git repository from local?
I have been using Netbeans to practice JDBC coding. Netbeans projects create multiple sub-directories (/build, /lib, /src...). Should I add and commit all of these directories and files or should I ...
0
votes
2
answers
242
views
Microservices: how far should coupling / decoupling of application parts relying on the same data backends go?
I am in the process of migrating a pretty much monolithic PHP application to microservices. With the development pipeline, docker containerisation, CI/CD and scalability in mind, what would be the ...
4
votes
1
answer
3k
views
Working with maven and multiple git repositories
We recently migrated from SVN, with most code in a single repo, to git, with most projects in their own repos (about 70 of them).
We build about a dozen different apps from this java source. The apps ...
2
votes
1
answer
129
views
How to reduce the chances of getting merge conflicts occurring in two projects of same cloned codebase
I have two applications A and B.
Application A was written before application B, actually B was initially the same fork of A thus, each of the application had the same modules and same code in it.
...
0
votes
2
answers
1k
views
How can I holistically manage a multi module multi repository application
I am writing an application that I've split into multiple jars including re-usable infrastructure libraries, each has their own versions (BOM managed) and git repositories. I'm doing this for a number ...
2
votes
2
answers
503
views
Organizing code in a 2 man team
I've been working with a buddy of mine on a school project. We forecast it'll take ~2 months, so it isn't a small scale project at all. Communication and splitting the work effectively has been a ...
4
votes
1
answer
1k
views
If a dependency is not in the maven repository should I add it to source control?
One of the jar files that I use in my code is not in the maven repository(and yes I tried to avoid using it). I have installed it locally so when I build the project it gets picked up by maven. I also ...
4
votes
1
answer
833
views
Database Password problem when using GIT to manage project that uses Spring to initiate Datasource
I use Spring Framework to code my Web Service, using Dependency injection to inject a DataSource bean into the DAO bean that will be used by the Web Service. I have all the database properties(Url, ...
3
votes
1
answer
3k
views
How to find method and class usages along git repositories
We got some code in a git repository that's used along different projects (with git different repositories), the problem is that we got now so many different projects that's difficult to track which ...
22
votes
2
answers
38k
views
Best way to structure a Git repository for Maven
I need some advice on how to structure our projects in Git. We use Java and Maven is our build tool. Maven kinda assumes all of your projects have a common ancestor eventually. Maven can also be a ...
282
votes
6
answers
168k
views
Choosing between Single or multiple projects in a git repository?
In a git environment, where we have modularized most projects, we're facing the one project per repository or multiple projects per repository design issue. Let's consider a modularized project:
...
2
votes
2
answers
256
views
Bad idea to display mail server info in public github project?
I have the project for work that requires me to send e-mails to people using our work mail server. The server doesn't require authentication. Part of my project is using a Java-Helper I'm developing ...