Import dependency on Maven Jetbrains Exposed

The Jetbrains SQL Framework Kotlin github "Exposed" page has a link to a page where you can get the maven dependency for this library ( https://bintray.com/kotlin/exposed/exposed/view# ). The same dependency can also be found in 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 solve this dependency. I check the ~ / .m2 / directory and it seems that it is loaded (there is a jar). Looking at the repository, I saw that there was no pom.xml, and they used Gradle.

Is it possible to import this dependency using maven?

+4
source share
1 answer

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

<repositories>
    <repository>
        <id>exposed</id>
        <name>exposed</name>
        <url>https://dl.bintray.com/kotlin/exposed</url>
    </repository>
</repositories>
+7
source

Source: https://habr.com/ru/post/1671049/


All Articles