-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URISyntaxException
errors for invalid URLs
#144
Comments
raboof
added a commit
to raboof/sbt-license-report
that referenced
this issue
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.
I assume coursier just doesn't do variable resolution on "info" fields when technically it should. |
This was referenced Nov 17, 2024
Possibly, I don't know how responsibilities are distributed for this. See also #92. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since the update from 1.6.1 to 1.7.0, several Pekko builds fail with:
This sounds somewhat similar to #92, except #92 already appeared in 1.6.1.
Let's first see if this issue still appears after #143
The text was updated successfully, but these errors were encountered: