I don't know how to say this well, so I'll just state the problem and the solution.
P: In maven, if you declare a variable for a host (where you keep config files or something), if you cannot reach the host your build might fail. I've got this issue for a groovy build script, checkstyle and pmd config's.
A: Rather than modifying your pom and possibly messing up the code, you can change your local settings.xml file to have that property instead. It seems to take priority over vars in parent poms.
Ideally, I'd store those config files with the parent pom, but I've not had time to look into how to do that.
No comments:
Post a Comment