Skip to content

Build fails with missing artifact #631

@magicwerk

Description

@magicwerk

Building after git clone fails with the following error:

./gradlew :btrace-dist:build

  • What went wrong:
    A problem occurred configuring project ':btrace-client'.

Could not resolve all files for configuration ':btrace-client:classpath'.
Could not find org.ajoberstar.grgit:grgit-core:4.0.1.
Searched in the following locations:
- https://plugins.gradle.org/m2/org/ajoberstar/grgit/grgit-core/4.0.1/grgit-core-4.0.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :btrace-client > net.nemerosa.versioning:net.nemerosa.versioning.gradle.plugin:2.15.1 > gradle.plugin.net.nemerosa:versioning:2.15.1

To build successfully, I updated the version in settings.gradle:

// plugin ('versioning', 'net.nemerosa.versioning').version('2.15.1')
plugin ('versioning', 'net.nemerosa.versioning').version('3.0.0')

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions