Maven import dependency Jetbrains Exposed
Asked Answered
I

1

7

On the github page of Jetbrains' Exposed,a Kotlin SQL Framework, there is a link to a page where you can get the maven dependency for this library (https://bintray.com/kotlin/exposed/exposed/view#). The same dependecy can also be found on MVNRepository (https://mvnrepository.com/artifact/org.jetbrains.exposed/exposed/0.7.6).

I am using maven 3.3.9 and Intellij 2016.3.4, but maven cannot resolve this dependency. I check the ~/.m2/ directory and it seems that it is downloaded (there is a jar present). After looking at the repository I saw that there was no pom.xml and they where using Gradle.

Is it still possible to import this dependency with maven?

Interviewer answered 28/2, 2017 at 15:15 Comment(0)
P
11

It is listed on mvnrepository, but artifact itself is located in Kotlin Exposed repository. You have to add link to the Exposed repository to your POM for Maven to find it.

<repositories>
    <repository>
        <id>exposed</id>
        <name>exposed</name>
        <url>https://dl.bintray.com/kotlin/exposed</url>
    </repository>
</repositories>
Pascual answered 1/3, 2017 at 7:59 Comment(1)
If using Nexus bintray.com/package/…Horsemanship

© 2022 - 2024 — McMap. All rights reserved.