JCenter maven依赖导致找不到包

时间:2015-07-25 16:25:57

标签: java maven jcenter

我正在尝试使用来自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 个答案:

没有答案
相关问题