@@ -0,0 +1,1294 @@
+package hudson.maven;%0D%0A%0D%0Aimport org.jvnet.hudson.test.HudsonTestCase;%0D%0Aimport org.jvnet.hudson.test.ExtractResourceSCM;%0D%0Aimport hudson.tasks.Maven.MavenInstallation;%0D%0Aimport hudson.model.Slave;%0D%0A%0D%0Aimport java.net.URLClassLoader;%0D%0Aimport java.util.Arrays;%0D%0A%0D%0A/**%0D%0A * @author huybrechts%0D%0A */%0D%0Apublic class MavenProjectTest extends HudsonTestCase %7B%0D%0A%0D%0A    public void testOnMaster() throws Exception %7B%0D%0A        MavenModuleSet project = createMavenProject();%0D%0A        MavenInstallation mi = configureDefaultMaven();%0D%0A        project.setScm(new ExtractResourceSCM(getClass().getResource(%0D%0A                %22/simple-projects.zip%22)));%0D%0A        project.setGoals(%22validate%22);%0D%0A        project.setMaven(mi.getName());%0D%0A%0D%0A        assertBuildStatusSuccess(project.scheduleBuild2(0).get());%0D%0A    %7D%0D%0A%0D%0A    public void testOnSlave() throws Exception %7B%0D%0A        MavenModuleSet project = createMavenProject();%0D%0A        MavenInstallation mi = configureDefaultMaven();%0D%0A        project.setScm(new ExtractResourceSCM(getClass().getResource(%0D%0A                %22/simple-projects.zip%22)));%0D%0A        project.setGoals(%22validate%22);%0D%0A        project.setMaven(mi.getName());%0D%0A        project.setAssignedLabel(createSlave().getSelfLabel());%0D%0A%0D%0A        assertBuildStatusSuccess(project.scheduleBuild2(0).get());%0D%0A    %7D%0D%0A%0D%0A%0D%0A%7D%0D%0A

add a smoke test for native Maven projects on master and slave