Java 8 facilitates several functional interface in java.util.function package. If we observe carefully, there are primarily four kinds of interfaces provided in this package, which are:
* Supplier
* Consumer
* Function
* Predicate
with
With Maven, we can achieve the similar effect of invalidating local dependency cache and download artifacts from repository by using following command.
mvn -U
If you are using Gradle, you probably know that Gradle use a binary metadata chache to store various aspects of dependency resolution (see following gradle doc ).
There might be a point when you
Using following Maven command, the version of artifacts can be updated in a multi-module maven project.
mvn versions:set -DnewVersion='new-version'For instance, the following maven command updates the version in
In my job, we work with a maven multi-module project. While using maven, I have discovered several commands that are quite effective during development. In this post, and in the upcoming posts I