The Unknown Maven Repository System Powering Java

There’s another side to Maven: a vital repository system serving up dependencies for the millions of daily Java builds.

April 7, 2022 · 6 min read · Tom Gregory

Maven phases vs. goals

Do you want to fully understand the difference between Maven phases and goals, and how to execute each of them? OK, let’s start at the low-level and work our way upwards. At its core Maven is a Java build tool which takes your project from some source files and resources to a shiny jar file ready to run. The way Maven achieves this, just like anything worthwhile doing in life, is by executing some code....

April 1, 2022 · 7 min read · Tom Gregory

Maven vs. Gradle in-depth comparison

This in-depth comparison helps you decide whether to use the Maven or Gradle build tool. Whatever your use case, you’ll find the answers here to quickly enable you to pick the right tool to support your project’s growth. Overview Both Maven and Gradle fall into the category of build tools. They’re designed to automate the work involved to take your application’s source code and transform it into an artifact to be published....

December 17, 2021 · 14 min read · Tom Gregory

Top 5 Gradle benefits over Maven

You might be surprised how much difference Gradle can make compared to Maven in terms of developer productivity. To show you how, here are the top 5 benefits of using Gradle, each with a full comparison with Maven. 1. Much faster Gradle is faster. A lot faster. This is a massive productivity boost to developers building projects many times each day. Let’s be specific about what faster means, by comparing Maven and Gradle’s performance in a real project....

December 13, 2021 · 9 min read · Tom Gregory

How to do a Maven to Gradle migration on a Java Spring Boot project

If you’re planning to migrate your Maven project to Gradle, you’ll be looking for the path of least resistance to get the job done as easily as possible. In this article you’ll discover the 8 recommended steps to migrate your Java Spring Boot project from Maven to Gradle. Why do a migration to Gradle? If you’re reading this article you probably know why you want to move to Gradle, but some of the reasons probably include:...

February 14, 2020 · 7 min read · Tom Gregory

7 Things Your Mom Never Told You About Gradle

It’s probably fair to say that Gradle has somewhat of a steep learning curve. Certainly compared to Maven, another popular build automation tool, it’s move flexible and less opinionated about how things should work. Whether you’ve just made the jump into Gradle, or have been using it for a while, in this article you’ll discover seven things you wish you’d known about Gradle. With these pointers, you’ll be well on your way to writing more powerful, more concise build scripts for your application, following best practice all the way....

November 22, 2019 · 7 min read · Tom Gregory