# Problem parsing POM?

**URL:** <https://discuss.gradle.org/t/problem-parsing-pom/19438>\
**Category:** Help/Discuss\
**Created:** [September 9, 2016, 11:46am UTC](https://discuss.gradle.org/t/problem-parsing-pom/19438 "2016-09-09T11:46:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cogmission](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@cogmission](https://discuss.gradle.org/u/cogmission)\
**Post date:** [September 9, 2016, 11:46am UTC](https://discuss.gradle.org/t/problem-parsing-pom/19438/1 "2016-09-09T11:46:40Z")

</div>

Could not parse POM [https://oss.sonatype.org/content/repositories/snapshots/org/numenta/htm.java/0.6.9-SNAPSHOT/htm.java-0.6.9-20160909.112902-3.pom](https://oss.sonatype.org/content/repositories/snapshots/org/numenta/htm.java/0.6.9-SNAPSHOT/htm.java-0.6.9-20160909.112902-3.pom)

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

`gradle check`

Please help?

---

<div class="post-metadata">

**Author:** ![Lance\_Java](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/lance_java/32/787_2.png) [@Lance\_Java](https://discuss.gradle.org/u/Lance_Java)\
**Post date:** [September 9, 2016, 1:11pm UTC](https://discuss.gradle.org/t/problem-parsing-pom/19438/2 "2016-09-09T13:11:26Z")

</div>

```xml
<dependency>
   <artifactId>algorithmfoundry-shade-culled-1.3</artifactId>
   <scope>compile</scope>
</dependency>

```

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

---

<div class="post-metadata">

**Author:** ![cogmission](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@cogmission](https://discuss.gradle.org/u/cogmission)\
**Post date:** [September 9, 2016, 2:30pm UTC](https://discuss.gradle.org/t/problem-parsing-pom/19438/3 "2016-09-09T14:30:50Z")

</div>

That comes from a locally defined repository as such:

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

    maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
    maven { url "./libs" }
    
}

```

…where “./libs” is where the in project repo lives. Gradle and Maven both build it fine in the host project (“htm.java”), 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!  
David
