google / google/play-services-plugins

oss-licenses-plugin cannot handle properties on pom files

Open
#224 0 comments 4 reactions 0 assignees View on GitHub
oss-licenses
Dominant language
Kotlin
Stars
526
Forks
167
Avg merge
7d 21h
Merged PRs (30d)
2

Description

**Describe the bug**
Until oss-licenses-plugin 0.10.4, license of `javax.annotation API` was displayed as `javax.annotation:javax.annotation-api`.
But since oss-licenses-plugin 0.10.5, license is displayed as `${extension.name} API`

**Screenshots**
* oss-licenses-plugin 0.10.4:

![image](https://user-images.githubusercontent.com/221114/163747115-9c0f2d58-b521-4b33-a030-3130de1b4c9f.png)

* oss-licenses-plugin 0.10.5:

![license0105](https://user-images.githubusercontent.com/221114/163747183-ac74a9d5-a2c4-4fee-8116-f18280eae6d8.png)

**Desktop (please complete the following information):**
- Gradle version: 7.4
- Android Studio version : 7.1.3
- Plugin name and version : OSS Licenses 0.10.5

**Additional context**
* In javax.annotation API case, artifact name is using [pom properties](https://maven.apache.org/pom.html#Properties).
```

false
1.3
javax.annotation
javax.annotation-api
Oracle Corporation
org.glassfish
2.3.1
exclude.xml
Low

${extension.name} API
Common Annotations for the JavaTM Platform API
```
* Since oss-licenses-plugin 0.10.5, dependency report was passed from AGP ( #216 ) including artifact name, but it seems AGP did not handle pom property.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.