未找到包中的java JCenter maven依赖项结果
我试图使用一些来自JCenter的依赖项,而不是标准的maven存储库,但是在使用
mvn clean install
这导致maven输出中出现以下错误(编译错误)
package com.bol.api.openapi_4_0 does not exist
cannot find symbol
symbol: class SearchResults
location: class be.goedkoperzoeken.results.BolSearchResults
等等
这是我的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>
<groupId>bla.foo.blaat</groupId>
<artifactId>bolapi</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>blaat</name>
<dependencies>
<dependency>
<groupId>com.bol.openapi</groupId>
<artifactId>openapi-java-client</artifactId>
<version>4.0.1</version>
</dependency>
</dependencies>
<repositories>
<repository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>bintray-pvdissel-bol-com-releases</id>
<name>bintray</name>
<url>http://dl.bintray.com/pvdissel/bol-com-releases</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-pvdissel-bol-com-releases</id>
<name>bintray-plugins</name>
<url>http://dl.bintray.com/pvdissel/bol-com-releases</url>
</pluginRepository>
</pluginRepositories>
我错过了什么?在我看来,这就像我的pom。xml拥有所需的所有信息,Eclipse似乎没有抱怨
共 (0) 个答案