Problems with maven apache mina pom.xml

I have following entries in my pom.xml.

<dependency>
    <groupId>org.apache.mina</groupId>
    <artifactId>mina-core</artifactId>
    <version>2.0.4</version>
</dependency>
<dependency>
    <groupId>org.apache.mina</groupId>
    <artifactId>mina-filter-compression</artifactId>
    <version>2.0.7</version>
</dependency>

I am getting "Missing artifact org.apache.mina:mina-core:bundle: 2.0.7" error in my pom.xml .

Could someone please help in resolving this error.


Solution 1:

Add to your pom file:

<plugins>
    <plugin>
         <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
    </plugin>
</plugins>