Skip to content

Conversation

@mdedetrich
Copy link
Contributor

Thanks

@mdedetrich mdedetrich merged commit 6ccd597 into sbt:main Oct 14, 2024
13 checks passed
@xuwei-k xuwei-k deleted the patch-3 branch October 14, 2024 09:33
raboof added a commit to raboof/sbt-license-report that referenced this pull request Nov 11, 2024
Since sbt#134, encountering an 'invalid' URI such as `https://github.com/rnorth/${project.artifactId}`
from https://github.com/rnorth/duct-tape would throw an error and fail
the entire job. As the user of the plugin likely doesn't have direct
influence over the `pom.xml` of the dependencies, it would be better to
emit a warning. With this change, it becomes:

```
sbt-license-report: dependency [org.rnorth.duct-tape:duct-tape:1.0.8] has malformed homepage url [https://github.com/rnorth/${project.artifactId}]
```

This improves the situation described in sbt#144.

I'm not sure it is a full fix, because I'm not sure
`https://github.com/rnorth/${project.artifactId}` is actually invalid
here: I haven't checked whether maven placeholders are allowed here, and
if so, whose responsibility it is to make sure they get resolved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants