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

Could not find spek-dsl-metadata 2.0.17 #983

Open
jcornaz opened this issue Sep 7, 2021 · 6 comments
Open

Could not find spek-dsl-metadata 2.0.17 #983

jcornaz opened this issue Sep 7, 2021 · 6 comments

Comments

@jcornaz
Copy link
Contributor

jcornaz commented Sep 7, 2021

Looks like most artifacts on maven central are on 2.0.17 except for spek-dsl-metadata and spek-runtime-metadata:

image

source: https://search.maven.org/search?q=org.spekframework.spek2

That is problematic as some of the other modules (like spek-dsl-jvm) depend on the spek-dsl-metadata

@raniejade
Copy link
Member

I removed the metadata publishing since I thought it was not needed anymore 🤦🏽 - what error are you getting @jcornaz?

@looserkevin
Copy link

Hi @raniejade, I get this error:

Could not find org.spekframework.spek2:spek-dsl-metadata:2.0.17.
Searched in the following locations:
  - https://repo.maven.apache.org/maven2/org/spekframework/spek2/spek-dsl-metadata/2.0.17/spek-dsl-metadata-2.0.17.pom
  - https://jcenter.bintray.com/org/spekframework/spek2/spek-dsl-metadata/2.0.17/spek-dsl-metadata-2.0.17.pom
  - https://jitpack.io/org/spekframework/spek2/spek-dsl-metadata/2.0.17/spek-dsl-metadata-2.0.17.pom
Required by:
    project :share:util > project :share:test-util > org.spekframework.spek2:spek-dsl-jvm:2.0.17

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

@raniejade
Copy link
Member

Thanks @looserkevin - honestly I remember the docs saying metadata module shouldn't be needed anymore. But anyway, I'll work on it.

@jcornaz
Copy link
Contributor Author

jcornaz commented Sep 7, 2021

Thanks @raniejade.

It is kind of strange because I don't see the error @looserkevin do (we work together on the same codebase).

However, if I manually look at https://repo1.maven.org/maven2/org/spekframework/spek2/spek-dsl-jvm/2.0.17/spek-dsl-jvm-2.0.17.module I see (at line 39):

{
  "name": "metadataApiElements-published",
  "attributes": {
    "org.gradle.usage": "kotlin-api",
    "org.jetbrains.kotlin.platform.type": "common"
  },
  "available-at": {
    "url": "../../spek-dsl-metadata/2.0.17/spek-dsl-metadata-2.0.17.module",
    "group": "org.spekframework.spek2",
    "module": "spek-dsl-metadata",
    "version": "2.0.17"
  }
}

Which basically references the non-existing spek-dsl-metadata version 2.0.17.

@janbolat
Copy link

janbolat commented Oct 7, 2021

Facing the same issue with 2.0.17 metadata

@robstoll
Copy link
Contributor

cannot update spek for this reason. Any plan to release a 2.0.18 which includes it again?

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

No branches or pull requests

5 participants