Skip to content
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

The POM project URLs are broken and 404s #798

Closed
davidburstrom opened this issue Feb 13, 2021 · 1 comment
Closed

The POM project URLs are broken and 404s #798

davidburstrom opened this issue Feb 13, 2021 · 1 comment
Labels

Comments

@davidburstrom
Copy link
Contributor

The published POMs have broken project URLs as they refer to <url>https://github.com/diffplug/project</url> instead of <url>https://github.com/diffplug/spotless</url>, e.g. POM for Gradle plugin 5.10.1. This also applies for the SCM entry in each POM.

The problem arises because the rootProject name is deduced by the parent directory name and is then referenced from

url "https://github.com/${project.org}/${rootProject.name}"
. Since CircleCI by default checks out the repo in a directory called project, Gradle picks that up as the default root project name. It's easily circumvented by setting the explicit root project name to spotless in settings.gradle. I've raised a related ticket here on Gradle.

@nedtwigg nedtwigg added the bug label Feb 16, 2021
@pzygielo
Copy link
Contributor

Almost reported duplicate for this. This scm url is also used by dependabot in PR description. It results in

Bumps spotless-maven-plugin from 2.10.2 to 2.10.3.

Commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants