Mobbeel / fataar-gradle-plugin

Gradle plugin to help embed dependencies in generated AAR artifact
https://plugins.gradle.org/plugin/com.mobbeel.plugin
Apache License 2.0
340 stars 44 forks source link

Missing required attribute: dependency groupId POM #31

Open wellbranding opened 5 years ago

wellbranding commented 5 years ago

Why published pom could not be included? I get multiple errors and after running info I get following errors:

<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>test</groupId>
  <artifactId>com.test</artifactId>
  <version>0.0.2.7</version>
  <packaging>aar</packaging>
  <dependencies>
    <dependency>
      <artifactId>build.aar</artifactId>
      <type>aar</type>
      <scope>compile</scope>
      <exclusions>
        <exclusion>
          <artifactId>*</artifactId>
          <groupId>*</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.android.support</groupId>
      <artifactId>appcompat-v7</artifactId>
      <version>27.1.1</version>
      <scope>runtime</scope>
    </dependency>
  </dependencies>
</project>

And assemble provides this info:

Could not parse POM Missing required attribute: dependency groupId

cvilia commented 3 years ago

this confused me long time ,did you resolved it ?

deepakrathi commented 2 years ago

I am facing this issue right now? Has anybody resolved this?