Bintray依赖不会下载的IntelliJ

问题描述 投票:3回答:1

我在的IntelliJ 2017.1创建了一个简单科特林项目

我想补充的依赖于这个库对于初学者:https://github.com/JetBrains/Exposed

我加了Maven的框架,和编辑pom.xml的,所以它看起来像下面。我删除科特林配置项的简单性。

<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <repositories>

        <repository>
            <id>exposed</id>
            <name>exposed</name>
            <url>https://dl.bintray.com/kotlin/exposed</url>
        </repository>

    </repositories>

    <dependencies>

        <dependency>
            <groupId>org.jetbrains.exposed</groupId>
            <artifactId>exposed</artifactId>
            <version>0.7.6</version>
            <type>pom</type>
        </dependency>

        <dependency>
            <groupId>org.jetbrains.kotlin</groupId>
            <artifactId>kotlin-stdlib-jre8</artifactId>
            <version>${kotlin.version}</version>
        </dependency>

    </dependencies>

</project>

科特林库得到了下载的,我看到他们在外部库。不幸的是,这不是案件暴露。我在想什么?

maven pom.xml kotlin bintray
1个回答
2
投票

你确定你想要pomjar

导入你这样的依赖性:

<dependency>
  <groupId>org.jetbrains.exposed</groupId>
  <artifactId>exposed</artifactId>
  <version>0.7.6</version>
</dependency>
© www.soinside.com 2019 - 2024. All rights reserved.