Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
make default project type help text more descriptive and link to expl…
Browse files Browse the repository at this point in the history
…anatory wiki page
  • Loading branch information
davidmason committed Jan 30, 2013
1 parent 5607a0b commit efee9bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Expand Up @@ -20,7 +20,7 @@ public interface PutProjectOptions extends ConfigurableOptions
@Option(name = "--source-checkout-url", metaVar = "SRCURL", required = false, usage = "URL for original source in a machine-readable format, e.g. git@github.com:zanata/zanata.git")
public void setSourceCheckoutUrl(String sourceCheckoutUrl);

@Option(name = "--default-project-type", metaVar = "TYPE", required = true, usage = "Default project type")
@Option(name = "--default-project-type", metaVar = "TYPE", required = true, usage = "Default project type. Versions under this project that do not specify a project type will use this default. Valid values are : Utf8Properties, Properties, Gettext, Podir, Xliff, Xml, Raw. See https://github.com/zanata/zanata/wiki/Project-Types")
public void setDefaultProjectType(String type);

public String getProjectSlug();
Expand Down
Expand Up @@ -70,7 +70,7 @@ public void setSourceCheckoutUrl(String sourceCheckoutUrl)
}

@Override
@Option(name = "--default-project-type", metaVar = "TYPE", required = true, usage = "Default project type")
@Option(name = "--default-project-type", metaVar = "TYPE", required = true, usage = "Default project type. Versions under this project that do not specify a project type will use this default. Valid values are : Utf8Properties, Properties, Gettext, Podir, Xliff, Xml, Raw. See https://github.com/zanata/zanata/wiki/Project-Types")
public void setDefaultProjectType(String defaultProjectType)
{
this.defaultProjectType = defaultProjectType;
Expand Down
Expand Up @@ -52,8 +52,11 @@ public class PutProjectMojo extends ConfigurableMojo<PutProjectOptions> implemen
private String sourceCheckoutUrl;

/**
* Default Project type {utf8properties, properties, gettext, podir, xliff,
* xml, raw}
* Default Project type. Versions under this project that do not
* specify a project type will use this default. Valid values are
* {utf8properties, properties, gettext, podir, xliff, xml, raw}.
*
* See https://github.com/zanata/zanata/wiki/Project-Types
*
* @parameter expression="${zanata.defaultProjectType}"
* @required
Expand Down

0 comments on commit efee9bd

Please sign in to comment.