Skip to content

gradle-consistent-versions adds optional dependency on root project to Maven POM #1468

@hugoo10

Description

@hugoo10

Hello, I just switched from square/javapoet and I noticed a weird dependency in the pom:

https://repo1.maven.org/maven2/com/palantir/javapoet/javapoet/0.6.0/javapoet-0.6.0.pom

<dependency>
  <groupId>com.palantir.javapoet</groupId>
  <artifactId>javapoet-root</artifactId>
  <version>0.6.0</version>
  <scope>runtime</scope>
  <optional>true</optional>
</dependency>

my issue is that this artifact doesn't exist and when i'm doing mvn dependency:go-offline it tries to download this dependency and falls into error.
Can you fix that?

Metadata

Metadata

Assignees

No one assigned

    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