From personal experience single artifact repositories work best. Mostly due to the way git's branching/tagging model works ( over the whole repository ).

Also, the maven-release-plugin in its default configuration only releases from the root of the repository so unless you want ALL your models to have the same version number ALL the time, a multi-module project just doesn't really work too well in git land.

Mark


Eric Kolotyluk wrote:

I'm a git newbie and I was wondering if there are any best practices
around using maven with git people could point me to?

For example, if I have a project with several artifacts/modules

net.kolotyluk.coolapp
- client.jar
- common.jar
- service.jar

is it better to create a single repository "net.kolotyluk.coolapp" for
the project, or several repositories such as
"net.kolotyluk.coolapp.client" "net.kolotyluk.coolapp.common" and
"net.kolotyluk.coolapp.service" for each artifact?

Cheers, Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to