2

I'm trying to find an alternative to versioning, release creation, deployment etc. that is not Maven.

Let me explain: We use Maven to build almost anything, Java, Docker, NodeJS, Golang, you name it.

For that we use different Maven plugins like release, scm, and version plugin. Maven downloads zillions of stuff before actually doing what it is supposed to do. And since we have many build servers, usually the m2 Repo is (almost) empty and so the build takes long time.

I'm looking for a way or a tool out of the Maven crazyness that can:

  • detect and increment versions
  • create and push Git commits
  • support raw shell commands, so that I can custom commands for different programming languages

Any ideas?

  • Please don't kill me, but: Bash scripts? Or maybe you should distribute the m2 repo before or during the build? – kutschkem May 18 '18 at 11:57
1

Jeka may help you.

It can be used both as a library and a first class build tool.

It features flexible way to release programmatically, especially using git. It uses its own feature to release itself. Its release process is triggered by the presence of a git tag on HEAD. It provides also convenient way to integrate command line tools.

0

Gradle would be something to look at since it has support for a number of languages and has faster build times than maven since it caches build artifacts and it has support for distributed builds. It is highly extensible using plugins so it can support a number of custom scenarios. Gradle has a great plugin ecosystem so you should be able to find how to get things done fairly quickly.

If you are feeling super adventurous and want sheer build speed , take a look facebook’s build tool Buck. It also does caching and some smart dependency tracking so builds are faster. Buck is fairly new so your mileage may vary by the type of language and platform.

0

Ant, but you will need to create scripts to perform all the details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.