Maven2

Ant, Gradle and Maven - comparison - install script

This is a part of "Ant/Gradle/Maven comparison" series.

A common task during development is the creation of an installable version of software. The one I mention in this post is a real one - this is something I've been working working with since few months. It does few things related to Fuse ESB:

  • unpacks Fuse sources,
  • updates some config files,
  • retrieves few JARs from Maven repository and put them into deploy folder,
  • does some more file-related stuff - creates directories and copies files,
  • produces ready-to-unpack-and-use file: tar.gz (for Linux) and zip (for Windows).

I started to write this with Ant/Maven, and then switched to Gradle. I'll present few code snippets here, that should give you a decent understanding of difference that Gradle makes. Please judge for yourself if the switch from Ant/Maven to Gradle was worth the effort.

 

Ant, Gradle and Maven - comparison - checking build prerequisites

So you decided to check some build prerequisites before doing any real job. You want to check if proper Java version is installed, if some configuration files are available etc.

I'll show you how you can do this using Ant, Gradle and Maven.

 

Maven ? Ant ? ...or Gradle ?!

Are you using Maven ? Or maybe you hate Maven and you still use Ant ? Or maybe you feel that both are not enough and you are looking for something else. Than look no more, cause Gradle offers what you need.

 

GeeCON 2009 conference, Cracow, Poland

The GeeCON 2009 (http://geecon.org/) conference is over :( This is a sad news, because this event was GREAT !

It took place on 7-8th of May in my home town of Cracow, Poland. I enjoyed every bit of it - from interesting sessions to great catering.

GeeCON 2009

This conference was special to me, because I was one of the speakers there with "Automation of functional tests" session. :)

 

Annoyed by checkstyle errors?

Sometimes, when I try to build some (open-source) project from sources, I got checkstyle errors like this (example comes from Fuse ESB):

 

Maven bash completion

Today I finally set up the bash completion for Maven. Yes, I know, it's nothing new. But in case you don't know how to do it, you might be interested in reading this post. If you do already know, go waste your time somewhere else. ;)

 

maven-antrun-plugin problems (with solutions)

During my JEasyTest digging, I stumbled upon few maven-antrun-plugin problems. Here they come (with solutions).

 
Please comment using
 
Syndicate content