Category Archives: Uncategorized

Hudson and the Sonar plugin fail: MavenInstallation NoSuchMethodError

We ran into an interesting and less than informative error when configuring Maven with our Hudson installation. Maven worked great, as expected, but the Sonar plugin stopped working and were causing builds to fail. The error message wasn’t terribly helpful: FATAL: hudson.tasks.Maven$MavenInstallation.forNode(Lhudson/model/Node;Lhudson/model/TaskListener;)Lhudson/tasks/Maven$MavenInstallation; java.lang.NoSuchMethodError: hudson.tasks.Maven$MavenInstallation.forNode(Lhudson/model/Node;Lhudson/model/TaskListener;)Lhudson/tasks/Maven$MavenInstallation; at hudson.plugins.sonar.SonarPublisher.getMavenInstallationForSonar( at hudson.plugins.sonar.SonarPublisher.executeSonar( at hudson.plugins.sonar.SonarPublisher.perform( at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep( at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep( at… Read More »

Backing up MySQL Databases with mysqldump

We all know that backing up critical data is very important. Unfortunately, it’s not always very clear how to go about doing that. Luckily, making back ups of MySQL databases is easy by using mysqldump. Backing up all databases Backing up all databases is as easy as as this: mysqldump -u username -p password –all-databases… Read More »