Open minds leads to freedom

Communicating my thoughts on software development

Integration tests in a Gradle build

Posted by rnaufal on 16th July 2016

Here is an interesting post about how to add integration tests and configure its dependencies in a Gradle build.

Tags: ,
Posted in gradle, groovy | No Comments »

Some interesting Maven tips

Posted by rnaufal on 24th August 2011

Here are some Maven tips, extracted from Javalobby:

  • Maven rf option: If your project has some modules and the build fails at one of them, it’s possible to run the build only at this module, preventing from running the entire build. You can achieve this behavior by executing this command:
  • mvn -rf my-project clean install

  • Maven pl option: This option allows you to build specific modules instead of building all projects. You can execute the following command to have this behavior:
  • mvn -pl my-project-A,my-project-B clean install

    This command will build only my-project-A and my-project-B.

Tags: , , , , ,
Posted in Uncategorized | No Comments »