user1434702
user1434702

Reputation: 829

Maven 'Missing artifact

My local rpository is already has cxf-bundle-2.7.5.jar(download from search.maven.org by myself) and pom but eclipse still get a error 'Missing artifact org.apache.cxf:cxf-bundle:bundle:2.7.5' and when I update project repository make a file cxf-bundle-2.7.5.bundle.lastUpdated everytime. How could i fix this problem and why.

<dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-bundle</artifactId>
        <version>2.7.5</version>
        <type>bundle</type>
    </dependency>

Thanks!!!

Upvotes: 0

Views: 6606

Answers (1)

khmarbaise
khmarbaise

Reputation: 97517

The simple answer is that the bundle is not really a bundle in the meaning of the type. If you take a look at search.maven.org you will see that there are jar, source, javadoc available so you need to change the dependency definition into the following:

<dependency>
    <groupId>org.apache.cxf</groupId>
    <artifactId>cxf-bundle</artifactId>
    <version>2.7.5</version>
</dependency>

Upvotes: 6

Related Questions