damsel/README.md
Yevgeniy Poluektov 00b40ebe24 fix bug: two dependencies with equal classifier and different version… (#126)
* fix bug: two dependencies with equal classifier and different versions override one another
 to solve this use different classifier for different versions

* fix readme
2017-03-16 17:08:18 +03:00

35 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Damsel
[![Build Status](http://ci.rbkmoney.com/buildStatus/icon?job=rbkmoney_private/damsel/master)](http://ci.rbkmoney.com/job/rbkmoney_private/job/damsel/job/master/)
Systemwide protocol collection.
# Требования к оформлению Thrift IDL файлов
- __Namespace:__
В каждом файле нужно __обязательно__ указывать `namespace` для __JAVA__:
namespace java com.rbkmoney.damsel.<name>
Где `<name>` - имя, уникальное для Thrift IDL файлa в Damsel.
# Java development
Собрать дамзель и инсталировать новый jar в локальный мавен репозиторий:
* make wc_compile
* make wc_java_install LOCAL_BUILD=true SETTINGS_XML=path_to_rbk_maven_settings
Чтобы ипользовать несколько версий дамзели в проекте используте classifier:v${commit.number}
```
<dependency>
<groupId>com.rbkmoney</groupId>
<artifactId>damsel</artifactId>
<version>1.136-07b0898</version>
<classifier>v136</classifier>
</dependency>
```