Combine Maven profile properties

I have fought with this problem a couple of times, but now I found a way out. Let's say you have a Maven POM and, depending on the active profiles, you want to set a property, like: You should know by now that using mvn package -Pdev,ci is not going to produce the outcome you … Continue reading Combine Maven profile properties

The “Maven and Github on Windows” hell!

I'm sure this is not the first time I prepare a post like this, but I might have decided to last minute drop it: this time it's not going to happen. Sadly I have to use Windows at work and when I have some spare time I do contribute to Open Source Software and I … Continue reading The “Maven and Github on Windows” hell!

Artifactory and NamedVirtualHost

Today I needed to publish an Artifactory repository I've set up for my company to a first level URL, something like it revealed to be not as straightforward as I supposed to. Once haveing installed Tomcat, deployed the Artifactory WAR and checked that everything was running fine I needed to map the URL to … Continue reading Artifactory and NamedVirtualHost

Maven POM version management

A friend and colleague pointed me to a great Maven plugin I wasn't aware of and that is probably going to save me some headaches: the Codehaus hosted versions-maven-plugin brings to Maven users some very nice functionality!I'm not going to copy here the full documentation, but just to make you wishing more, here is the goals list:versions:compare-dependencies compares the … Continue reading Maven POM version management