I’m using Hudson and Maven 2 for my automated build/CI. I can build fine with maven from the command line, but when I run the same goal with Hudson, the build fails complaining of missing artifacts. I’m running Hudson as a windows XP service.
Share
Obvious question, but have you got Hudson set up to point to the same Maven repository as your command line build? You can check this from the Hudson admin gui – look in the Maven section of the Manage Hudson page. This should have a
MAVEN_HOMEenvironment variable listed. Look in the settings.xml file under:The
localRepositoryconfiguration item is the location of the Maven repository that the Hudson build is using.