Kong / unirest-java

Unirest in Java: Simplified, lightweight HTTP client library.
http://kong.github.io/unirest-java/
MIT License
2.58k stars 591 forks source link

unirest-java-bom references wrong artifact unirest-object-mappers-jackson #478

Closed timomeinen closed 11 months ago

timomeinen commented 12 months ago

Describe the bug The new BOM uses the artifactId unirest-object-mappers-jackson here. This artifact is not available in Maven Central. It seems, that the correct artifactId should be unirest-objectmapper-jackson as defined here.

To Reproduce

<dependencyManagement>
    <dependency>
            <groupId>com.konghq</groupId>
            <artifactId>unirest-java-bom</artifactId>
            <version>${unirest.version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

<dependencies>
    <dependency>
        <groupId>com.konghq</groupId>
        <artifactId>unirest-java-core</artifactId>
    </dependency>
    <dependency>
        <groupId>com.konghq</groupId>
        <artifactId>unirest-object-mappers-jackson</artifactId>
    </dependency>
<dependencies>

Will produce the error:

[WARNING] The POM for com.konghq:unirest-object-mappers-jackson:jar:4.0.1 is missing, no dependency information available

Environmental Data:

ryber commented 11 months ago

this should be fixed now in the most recent version

timomeinen commented 11 months ago

Works now. Thank you.