phrase-plugin

This projects contains a maven plugin to download PhraseApp translations due the build process from [PhraseApp API v2](http://docs.phraseapp.com/api/v2/).

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.mytaxi.maven.plugins
ArtifactId

ArtifactId

phrase-plugin
Last Version

Last Version

1.0.7
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

phrase-plugin
This projects contains a maven plugin to download PhraseApp translations due the build process from [PhraseApp API v2](http://docs.phraseapp.com/api/v2/).
Project URL

Project URL

https://github.com/mytaxi/phrase-maven-plugin
Source Code Management

Source Code Management

https://github.com/mytaxi/phrase-maven-plugin

Download phrase-plugin

How to add to project

<plugin>
    <groupId>com.mytaxi.maven.plugins</groupId>
    <artifactId>phrase-plugin</artifactId>
    <version>1.0.7</version>
</plugin>

Dependencies

compile (9)

Group / Artifact Type Version
com.mytaxi.apis : phrase-java-client jar 1.0.6
org.apache.maven : maven-plugin-api jar 3.2.2
org.apache.maven : maven-model jar 3.2.2
org.apache.maven : maven-core jar 3.2.2
org.sonatype.plexus : plexus-build-api jar 0.0.7
org.codehaus.plexus : plexus-utils jar 3.0.22
org.springframework : spring-web jar 3.2.15.RELEASE
org.springframework : spring-core jar 3.2.15.RELEASE
com.google.guava : guava jar 19.0

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.3

test (4)

Group / Artifact Type Version
org.apache.maven : maven-aether-provider jar 3.2.2
org.apache.maven : maven-compat jar 3.2.2
junit : junit jar 4.12
org.apache.maven.shared : maven-invoker jar 2.1.1

Project Modules

There are no modules declared in this project.

Phrase Maven Plugin

Build Status Maven Central

What is this?

This projects contains a maven plugin to download PhraseApp translations due the build process from PhraseApp API v2.

What you have to do to start it with maven?

Create the bean PhraseAppSyncTask to run this job scheduled lately.

Configure the maven plugin

<plugin>
    <groupId>com.mytaxi.maven.plugins</groupId>
    <artifactId>phrase-plugin</artifactId>
    <version>1.0.0</version>
    <configuration>
        <authToken>YOUR_AUTH_TOKEN(REQUIRED)</authToken>
        <projectId>YOUR_PROJECT_ID(REQUIRED)</projectId>
        
        <generatedResourcesFolderName>YOUR_GENERATED_RESOURCE_FOLDER(default:generated-resources/)</generatedResourcesFolderName>
        <messagesFolderName>YOUR_MESSAGES_FOLDERNAME(default:messages/)</messagesFolderName>
        <messageFilePrefix>YOUR_MESSAGE_FILE_PREFIX(default:messages_)</messageFilePrefix>
        <messageFilePostfix>YOUR_MESSAGE_FILE_POSTFIX(default:.properties)</messageFilePostfix> 
    </configuration>
    <executions>
        <execution>
            <goals>
                <goal>phrase</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Versions

Version
1.0.7
1.0.5
1.0.4
1.0.3
1.0.0