aboutcode-org / aboutcode-org/scancode-toolkit
Add support for Ivy-style dependencies.properties file
- Lingua principale
- Python
- Stelle
- 2.6k
- Fork
- 791
- Merge medio
- 1g 12h
- PR unite (30g)
- 5
Descrizione
These are Java property files (using = signs, like MANIFEST.MF) where the left hand side is a property name and the right hand side is a Maven coordinate as in "ns:name:version" as in:
- https://github.com/apache/camel/blob/8d09ae9616b98d2323e213a2dd12e107f9e4febc/dsl/camel-kamelet-main/src/main/resources/camel-main-known-dependencies.properties#L3
- https://github.com/liferay/liferay-portal/blob/379d5d45bc941efe624948991865b40fe63e5c14/lib/development/dependencies.properties#L1
- https://github.com/Netflix/spectator/blob/fac9597cbefd5066a68d92ac1834cb23da6362dc/dependencies.properties#L2
- https://github.com/ebean-orm/website-source/blob/c9dca6ebdcdfd96269d109335cd0081f5389c6e5/sample-source/dependencies.properties#L1
```
javax.ws.rs-api=javax.ws.rs:javax.ws.rs-api:2.1
jstl=jstl:jstl:1.2
```
Some other times it can be instead "ns:name=version" as in:
- https://github.com/Netflix/servo/blob/7dbfafa3b21189e9dd55d6ed2ccbbf256c4f18d3/dependencies.properties#L2
- https://github.com/Netflix/spectator/blob/fac9597cbefd5066a68d92ac1834cb23da6362dc/dependencies.properties#L2
- https://github.com/Dash-Labs/dynamodb-geo/blob/c4f2747b2de35124d8b56f1af871d5ed56716a38/.ply/config/dependencies.properties#L1
- https://github.com/blackducksoftware/bdio/blob/aeea8b1039812f8b994cb43d8d306c34a0006d1a/dependencies.properties#L1
- https://github.com/StarChart-Labs/corona-ide/blob/8f112af3e7d4cf86441caec99689a2830d18226a/dependencies.properties#L5
- https://github.com/garyrussell/spring-xd/blob/8b89c82318a466ee2cf38ae6f945ad435a2fd340/dependencies.properties#L1
```
javax.ws.rs:javax.ws.rs-api=2.1
jstl:jstl=1.2
```
The name may be prefixed as in `devel-dependencies.properties`
See also for related but not processable:
- http://www.jaya.free.fr/ivy/doc/articles/ease-multi-module.html
- https://github.com/JetBrains/intellij-community/blob/ee5b026029449fb9af4a6c555029efab273d0358/build/dependencies/dependencies.properties#L2
- https://github.com/googleapis/sdk-platform-java/blob/e346dfc13c4adc7cab2c1ca58706cbdf1fd8660f/gax-java/dependencies.properties#L7
- https://github.com/clemlabprojects/ambari/blob/6f70d6865c7eebe64e3d92caf3baafef666fa1b0/ambari-agent/src/main/package/dependencies.properties#L6
- https://github.com/StarChart-Labs/alloy/blob/d95975e1b0c0b6c78c9fc9f802ac90a22ec1702b/dependencies.properties#L1
The outcome should be a bunch of Maven dependencies, in the same way we handle a pypi requirements.txt file.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.