Le 14/11/14 20:29, Jianbao (Jim) Tao a écrit :
> 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
>
It's weird, the package is present on the maven repository :

http://search.maven.org/#search|gav|1|g%3A%22org.apache.mina%22%20AND%20a%3A%22mina-http%22

Reply via email to