Skip to content

Settings/plugin bootstrap fails to resolve grails-publish from ASF snapshots #15596

@matrei

Description

@matrei

When updating org.apache.grails.gradle:grails-publish to 1.0.0-SNAPSHOT, the Gradle build fails during initialization with an error like:

Error resolving plugin [id: 'com.gradle.develocity', version: '4.3.2']
> Could not resolve all artifacts for configuration 'classpath'.
   > Could not find org.apache.grails.gradle:grails-publish:1.0.0-SNAPSHOT.
     Searched in the following locations:
       - https://plugins.gradle.org/m2/org/apache/grails/gradle/grails-publish/1.0.0-SNAPSHOT/maven-metadata.xml
       - https://plugins.gradle.org/m2/org/apache/grails/gradle/grails-publish/1.0.0-SNAPSHOT/grails-publish-1.0.0-SNAPSHOT.pom
     Required by:
         settings file 'grails-gradle/settings.gradle' > project :build-logic-root:build-logic

The problem is not that the artifact is missing, but that the repository is configured too late in the bootstrap sequence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions