Maven Bintray dependencies赢得';t下载IntelliJ
我在IntelliJ 2017.1中创建了一个简单的kotlin项目 对于初学者,我想向这个库添加依赖项: 我添加了maven框架,并编辑了pom.xml,如下所示。为了简单起见,我删除了kotlin配置项Maven Bintray dependencies赢得';t下载IntelliJ,maven,pom.xml,kotlin,bintray,Maven,Pom.xml,Kotlin,Bintray,我在IntelliJ 2017.1中创建了一个简单的kotlin项目 对于初学者,我想向这个库添加依赖项: 我添加了maven框架,并编辑了pom.xml,如下所示。为了简单起见,我删除了kotlin配置项 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
<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>
4.0.0
暴露的
暴露的
https://dl.bintray.com/kotlin/exposed
org.jetbrains.com
暴露的
0.7.6
聚甲醛
org.jetbrains.kotlin
kotlin-stdlib-jre8
${kotlin.version}
Kotlin库已下载,我在外部库中看到它们。不幸的是,这不是暴露的情况。我缺少什么?您定义了您想要的是
pom
而不是jar
按如下方式导入依赖项:
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed</artifactId>
<version>0.7.6</version>
</dependency>
org.jetbrains.com
暴露的
0.7.6