Zanata Rest client

Parent pom for Zanata modules

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

org.zanata
ArtifactId

ArtifactId

zanata-rest-client
Last Version

Last Version

4.6.2
Release Date

Release Date

Type

Type

jar
Description

Description

Zanata Rest client
Parent pom for Zanata modules
Project Organization

Project Organization

Zanata Project

Download zanata-rest-client

How to add to project

<!-- https://jarcasting.com/artifacts/org.zanata/zanata-rest-client/ -->
<dependency>
    <groupId>org.zanata</groupId>
    <artifactId>zanata-rest-client</artifactId>
    <version>4.6.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.zanata/zanata-rest-client/
implementation 'org.zanata:zanata-rest-client:4.6.2'
// https://jarcasting.com/artifacts/org.zanata/zanata-rest-client/
implementation ("org.zanata:zanata-rest-client:4.6.2")
'org.zanata:zanata-rest-client:jar:4.6.2'
<dependency org="org.zanata" name="zanata-rest-client" rev="4.6.2">
  <artifact name="zanata-rest-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.zanata', module='zanata-rest-client', version='4.6.2')
)
libraryDependencies += "org.zanata" % "zanata-rest-client" % "4.6.2"
[org.zanata/zanata-rest-client "4.6.2"]

Dependencies

compile (20)

Group / Artifact Type Version
org.zanata : zanata-common-api jar 4.6.2
org.zanata : zanata-adapter-po jar 4.6.2
org.jboss.resteasy : resteasy-client jar 3.0.19.Final
org.jboss.spec.javax.annotation : jboss-annotations-api_1.2_spec jar 1.0.0.Final
org.jboss.resteasy : resteasy-multipart-provider jar 3.0.19.Final
org.jboss.resteasy : resteasy-jackson-provider jar 3.0.19.Final
org.jboss.resteasy : resteasy-jaxb-provider jar 3.0.19.Final
org.codehaus.jackson : jackson-core-asl jar 1.9.13
org.codehaus.jackson : jackson-jaxrs jar 1.9.13
org.codehaus.jackson : jackson-mapper-asl jar 1.9.13
org.codehaus.jackson : jackson-xc jar 1.9.13
log4j : log4j jar 1.2.17
org.slf4j : slf4j-log4j12 jar 1.7.22
org.apache.commons : commons-lang3 jar 3.5
commons-codec : commons-codec jar 1.10
commons-beanutils : commons-beanutils jar 1.9.3
org.slf4j : slf4j-api jar 1.7.22
org.apache.maven : maven-artifact jar 3.5.0
com.google.guava : guava jar 18.0
org.slf4j : jcl-over-slf4j jar 1.7.22

provided (3)

Group / Artifact Type Version
com.google.code.findbugs : findbugs-annotations jar 3.0.1
com.google.code.findbugs : jsr305 jar 3.0.2
net.jcip : jcip-annotations jar 1.0

test (4)

Group / Artifact Type Version
org.zanata : stub-server jar 4.6.2
org.assertj : assertj-core jar 3.8.0
junit : junit jar 4.12
org.mockito : mockito-core jar 1.10.19

Project Modules

There are no modules declared in this project.

Zanata

Zanata is a web-based system for translators to translate documentation and software online using a web-browser. It is written in Java and uses modern web technologies like JBoss EAP, CDI, GWT, Hibernate, and a REST API. It currently supports translation of DocBook/Publican documentation through PO files, and a number of other formats. Projects can be uploaded to and downloaded from a Zanata server using a Maven plugin or a command line client.

For developers and writers: By using Zanata for your document translations, you can open up your project for translations without opening your entire project in version control.

For translators: No need to deal with PO files, gettext or a version control system - just log in to the website, join a language team and start translating, with translation memory (history of similar translations) and the ability to see updates from other translators in seconds.

Find out about Zanata here: http://zanata.org/

Zanata is Free software, licensed under the LGPL.

Developers: Building Zanata from source

Prerequisites

You will need:

  • Java SDK 8 (OpenJDK recommended)
  • zsh (for the build script)
  • npm (optional)
  • MySQL or MariaDB (optional)
  • JBoss EAP 7 or WildFly 10 (optional)
  • Linux or Mac OSX. Windows works too, sometimes.

A full build needs to download and install node, npm, mysql and WildFly/EAP, some of which are platform-dependent.

Building

The build script you need to know about is ./build. It covers all your Zanata-building needs. Disclaimer: may not cover all your Zanata-building needs.

The -h argument prints the build script's help.

Building on Mac OS X and macOS Sierra

Currently, there is an extra step needed to build Zanata on a Mac. For ./build to work, you will need to point to the correct Java directory using the following command (using the correct JDK version on your Mac):

export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.X_XX.jdk/Contents/Home"

This JAVA_HOME workaround will not be needed in the next release of the Maven wrapper: io.takari:maven-wrapper:0.1.7.

See https://github.com/takari/maven-wrapper/pull/14 for details.

Build everything with unit tests

./build --all - Builds the entire project (client and server ) fairly quickly, skipping integration tests and static analysis (checkstyle, etc), but including unit tests.

NB: If you need to run functional tests later without rebuilding, you should add -i to install the war file to your Maven repo after packaging.

Quickly build a .war file for later tests or docker deployment

./build --server -iQ - Builds and installs the project as quickly as possible, skipping all checks and verifications (i.e. tests, checkstyle, etc).

The binaries will be installed to your Maven repo for usage in later (partial) builds and tests.

Quickly build and run a server for testing

./build -w - Builds zanata-war and starts a JBoss/WildFly server using the cargo plugin. This is intended for starting a Zanata instance with the aim of running functional tests from an IDE.

Development using docker (experimental)

For a quick Zanata development environment with Docker, please visit the docker README.

Commits

These are the format rules for our git commit messages. This leads to more readable messages that are easy to follow when looking through the project history.

Commit Message Format

Each commit message consists of a header, a body and a footer. The header has a special format that includes a type, a scope and a subject:

<type>: <subject>
<BLANK LINE>
<Jira reference>
<body>

Type

Must be one of the following:

  • revert: Revert previous commit. Subject should be This reverts commit <hash>
  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • refactor: A code change that neither fixes a bug nor adds a feature
  • perf: A code change that improves performance
  • test: Adding missing tests
  • chore: Changes to the build process or auxiliary tools and libraries such as documentation generation

Source code note

Please note that any references to pull request numbers in commit messages (eg merge nodes) prior to 20 October 2016 are referring to the old repositories (before they were merged into the zanata-platform repository):

GitHub tries to auto-link numbers to pull requests, but such links will generally be incorrect for old commit messages.

org.zanata

Zanata

Versions

Version
4.6.2
4.6.1
4.6.0
4.6.0-rc-3
4.6.0-rc-2
4.6.0-rc-1
4.5.0
4.5.0-rc-3
4.5.0-rc-2
4.5.0-rc-1
4.4.5
4.4.4
4.4.3
4.4.1
4.4.0
4.4.0-alpha-3
4.4.0-alpha-2
4.4.0-alpha-1
4.3.3
4.3.2
4.3.1
4.3.0
4.3.0-alpha-3
4.3.0-alpha-2
4.3.0-alpha-1
4.2.4
4.2.3
4.2.1
4.2.0
4.2.0-rc-5
4.2.0-rc-4
4.2.0-rc-3
4.1.1
4.1.0
4.0.0
4.0.0-rc-2
4.0.0-alpha-2
4.0.0-alpha-1
3.9.1
3.9.0
3.8.4
3.8.3
3.8.2
3.8.1
3.8.0
3.7.4
3.7.3
3.7.2
3.7.1
3.7.0
3.6.0
3.4.2
3.4.1
3.4.0
3.3.2
3.3.1
3.3.0
3.2.0
3.1.2
3.1.1
3.1.0
3.0.1
3.0.0
2.3.0
2.2.0
2.0.1
2.0.0
1.7.5
1.7.4
1.7.3