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
This commit is contained in:
Yevgeniy Poluektov 2017-03-16 17:08:18 +03:00 committed by GitHub
parent 159842a95f
commit 00b40ebe24
2 changed files with 3 additions and 3 deletions

View File

@ -23,13 +23,13 @@ Systemwide protocol collection.
* make wc_compile
* make wc_java_install LOCAL_BUILD=true SETTINGS_XML=path_to_rbk_maven_settings
Чтобы ипользовать несколько версий дамзели в проекте используте classifier:versioned
Чтобы ипользовать несколько версий дамзели в проекте используте classifier:v${commit.number}
```
<dependency>
<groupId>com.rbkmoney</groupId>
<artifactId>damsel</artifactId>
<version>1.136-07b0898</version>
<classifier>versioned</classifier>
<classifier>v136</classifier>
</dependency>
```

View File

@ -74,7 +74,7 @@
</relocation>
</relocations>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>versioned</shadedClassifierName>
<shadedClassifierName>v{commit.number}</shadedClassifierName>
</configuration>
</execution>
</executions>