All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zanata.maven.InitMojo Maven / Gradle / Ivy

Go to download

Zanata client for managing projects, publishing source text and retrieving translations.

There is a newer version: 4.6.2
Show newest version
package org.zanata.maven;

import org.apache.maven.plugins.annotations.Mojo;
import org.zanata.client.commands.ConfigurableCommand;
import org.zanata.client.commands.init.InitCommand;
import org.zanata.client.commands.init.InitOptions;

/**
 * Initialize Zanata project configuration.
 * @author Patrick Huang
 *         [email protected]
 */
@Mojo(name = "init", requiresOnline = true, requiresProject = false)
public class InitMojo extends ConfigurableProjectMojo implements InitOptions {
    @Override
    public ConfigurableCommand initCommand() {
        return new InitCommand(this);
    }

    @Override
    public String getCommandName() {
        return "init";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy