Nelz's Blog

Mah blogginess

A Maven Bug


I figured it out like 2 or 3 weeks ago, but forgot the context around it…

If you are running a non-project task, for some reason your profiles defined in the <MAVEN_HOME>/conf/settings.xml file are ignored.

So, in my case, it was not looking at my internal repository for an archetype that I knew was there. I spent about 3 hours today trying to figure out what was wrong with my configuration… Only to find out that I hadn’t done anything wrong. Talk about frustrating!!

I don’t remember what I was reading all those weeks ago that confirmed this is a not-me-specific bug… But today I was able to find and It looks like they thought it was fixed, but I am living proof that there is still something ‘hinkey’ going on…