https://github.com/flowdalic/maven-transitive-dynamic-dependency
https://github.com/flowdalic/maven-transitive-dynamic-dependency
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/flowdalic/maven-transitive-dynamic-dependency
- Owner: Flowdalic
- Created: 2019-02-24T19:41:26.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-24T20:00:41.000Z (about 6 years ago)
- Last Synced: 2025-02-13T06:43:05.887Z (3 months ago)
- Language: Java
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Test maven (transitive) dynamic dependencies
============================================This project declares a dependency to
```
org.igniterealtime.smack:smack-tcp:4.3.2
```which itself declares, over `smack-core` a dependency to
```
org.jxmpp:jxmpp-core:[0.6, 0.7)
```However, different build systems resolve this ranged dynamic
dependency differently.It failes with `mvn` (Maven)
```bash
$ mvn exec:java
…
Smack version: 4.3.2 (4.3.2-4.3 2019-02-22)
jxmpp version: 0.7.0-alpha5
ERROR: jxmpp version does not start with '0.6' as expected. :(
```because an errornous version of jxmpp (0.7.0-alpha5 at the time of
writing) is pulled in.And is successful with `gradle` (Gradle)
```bash
$ gradle run
…
Smack version: 4.3.2 (4.3.2-4.3 2019-02-22)
jxmpp version: 0.6.3
```