Problem parsing POM?

Could not parse POM

Works fine in the browser, gradle can’t parse it when executing:

gradle check

Please help?


This dependency doesn’t have a <groupId> or a <version>

1 Like

That comes from a locally defined repository as such:

repositories {
    // Use 'maven central' for resolving your dependencies.
    // You can declare any Maven/Ivy/file repository here.

    maven { url "" }
    maven { url "./libs" }

…where “./libs” is where the in project repo lives. Gradle and Maven both build it fine in the host project (“”), but the gradle file from this dependent project which uses that project is the one I’m having problems with.

EDIT: Thanks! I just had the “name” attribute but no group and artifact. It built fine in the host project so it went unnoticed.

Thanks again!