When using the following dependency in maven:
<dependency>
<groupId>org.apache.mina</groupId>
<artifactId>mina-http</artifactId>
<version>2.0.9</version>
</dependency>
I got an error like below:
Could not find artifact org.apache.mina:mina-core:bundle:2.0.9
I checked the pom of mina-http, looks like the type element is giving the
trouble, as in
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mina-core</artifactId>
<version>${project.version}</version>
<type>bundle</type>
</dependency>
If I exclude mina-core in the dependency and add it separately, things will
be fine. However, it is annoying that I have to add that exclusion.
Jim