public class PushCrowdinMojo extends AbstractCrowdinMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
confirm
This parameter must be
true for push to execute. |
protected String |
projectName
This parameter must match the POM name of the current project in is used
to prevent pushing from the wrong project.
|
protected String |
pushFileName
The base language file that should be uploaded to crowdin.
|
protected String |
pushFileTitle
The title of the pushed file to be displayed on crowdin.
|
API_URL, authenticationInfo, client, crowdinServerId, downloadFolder, languageFilesFolder, project, rootBranch, SAX_BUILDER, statusFile, wagonManager| Constructor and Description |
|---|
PushCrowdinMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
crowdinContainsBranch, crowdinContainsFile, crowdinContainsFile, crowdinContainsFolder, crowdinCreateBranch, crowdinCreateFolder, crowdinGetBranch, crowdinGetFolder, crowdinGetFolder, crowdinIsBranch, crowdinIsFolder, crowdinRequestAPI, crowdinRequestAPI, getBranch, getBranch, getCrowdinFiles, getMavenId, setCrowdinServerId, setDownloadFolder, setLanguageFilesFolder, setProject, setRootBranch, setStatusFile, setWagonManagerprotected String pushFileName
protected String pushFileTitle
protected String projectName
protected String confirm
true for push to execute. If this isn't
specified in the POM file, -Dconfirm=true is required as a
command line argument for the push to execute.public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractCrowdinMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2018. All rights reserved.