Re: Using Git tags to cut releases to Maven Central from TravisCI

2019-08-01 Thread Hervé BOUTEMY
thank you Matthieu for sharing to me, one key interesting part is: > An issue with solutions like yours is reproducibility : `git checkout X.Y.Z > && mvn install`will not build again artifact-X.Y.Z ; but this can be > considered minor depending on the use cases & needs. and with jgitver, there is

Re: Maven question - how to pull code from bitbucket repository as dependency

2019-08-01 Thread Jason Young
On Wed, Jun 12, 2019 at 1:04 AM Anders Hammar wrote: > Having a dependency to some other scm repo is not a good approach. If that > changes your build could fail all of a sudden and you want consistency. > This is not true. The "big 3" VCSes each allow you to checkout a specific tag or revision

Re: Using Git tags to cut releases to Maven Central from TravisCI

2019-08-01 Thread Matthieu BROUILLARD
Hi Ben, several years ago I created jgitver to cover such a use case and even more. It uses git information (tags, branches, commits, metadatas, ...) to automatically compute a version based on configurable rules. So like you I can simply do: `git tag X.Y.Z && mvn depl