package org.palo.it.forge.maven.plugins.jenkins.actions;
//test for CI
imp
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.palo.it.forge.maven.plugins.jenkins.exceptions.MavenJenkinsPluginsException;
import org.palo.it.forge.maven.plugins.jenkins.models.ProjectInfoJenkins;
import org.palo.it.forge.maven.plugins.jenkins.services.JenkinsService;

/**
 * @goal update
 * @author pguillerm
 * @since 30 juil. 2014
 */
@Mojo(name = "update", defaultPhase = LifecyclePhase.VERIFY, threadSafe = true)
public class MojoUpdateJobs extends AbstractMojoCommons {
    // =========================================================================
    // ATTRIBUTES
    // =========================================================================
    @Override
    protected void executePlugin(ProjectInfoJenkins info) throws MavenJenkinsPluginsException {
        JenkinsService.getInstance().updateJobs(info);
    }

}

package org.palo.it.forge.maven.plugins.jenkins.actions;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.palo.it.forge.maven.plugins.jenkins.exceptions.MavenJenkinsPluginsException;
import org.palo.it.forge.maven.plugins.jenkins.models.ProjectInfoJenkins;
import org.palo.it.forge.maven.plugins.jenkins.services.JenkinsService;

/**
 * @goal update
 * @author pguillerm
 * @since 30 juil. 2014
 */
@Mojo(name = "update", defaultPhase = LifecyclePhase.VERIFY, threadSafe = true)
public class MojoUpdateJobs extends AbstractMojoCommons {
    // =========================================================================
    // ATTRIBUTES
    // =========================================================================
    @Override
    protected void executePlugin(ProjectInfoJenkins info) throws MavenJenkinsPluginsException {
        JenkinsService.getInstance().updateJobs(info);
    }

}

revert test