Skip to content

maven plugin to download phraseapp.com strings during compilation

License

Notifications You must be signed in to change notification settings

askorykh/phrase-maven-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

maven plugin to download phraseapp.com strings during compilation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%