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

org.jlot.maven.plugin.AddLocaleMojo Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
package org.jlot.maven.plugin;

import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.Parameter;
import org.jlot.client.executor.AddLocaleCommandExecutor;
import org.jlot.client.executor.spi.CommandExecutor;

/**
 * Register as a jlot user
 * 
 * All Mojos requires a maven project. Even this mojo. This is because we always
 * want to be sure to have a full blown ProjectConfiguration object with baseDir
 * and projectName.
 */

@Mojo(name = "addLocale", requiresOnline = true, requiresProject = true, inheritByDefault = false, aggregator = true, requiresDirectInvocation = true)
public class AddLocaleMojo extends AbstractJlotMojo
{
	@Parameter
	private String	locale;

	@Override
	protected Class getCommandExecutorClass ( ) throws Exception
	{
		return AddLocaleCommandExecutor.class;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy