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 »

Maven Eclipse plugin using project dependencies

Posted by rnaufal on 22nd August 2011

Some months ago I was noting the behavior of the Maven Eclipse plugin during the eclipse:eclipse goal.

I realized that its default behavior is to build the dependencies based on the Eclipse projects instead of the installed packages on the repository. During development time, it’s the behavior we need, but if you want to build the Eclipse files using the packages on the repository, you have to use the following command:

mvn eclipse:eclipse -Declipse.useProjectReferences=false

By default, the useProjectReferences flag is set to true, in other words, the plugin will create and reference the projects in Eclipse. Without it you’ll have to use mvn install to make changes available for dependent projects. Very interesting to note.

Update *: After creating the project dependencies, you have to execute mvn install to make it available for mvn eclipse:eclipse on dependent projects for the first time.

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