码迷,mamicode.com
首页 > 编程语言 > 详细

【Java+Maven】问题系列——Maven 报错 Missing artifact xxx:xxx:bundle:xx.xx.xx

时间:2014-12-09 19:45:42      阅读:202      评论:0      收藏:0      [点我收藏+]

标签:maven   bundle   

这个问题可能是依赖的项目打包成bundle造成,比如mina就是这样的,打包成bundle,例子:

<dependency>  
    <groupId>org.apache.mina</groupId>  
    <artifactId>mina-core</artifactId>  
    <version>2.0.4</version>  
    <type>bundle</type>  
    <scope>compile</scope>  
</dependency>

然后需要添加一个bundle插件:

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


【Java+Maven】问题系列——Maven 报错 Missing artifact xxx:xxx:bundle:xx.xx.xx

标签:maven   bundle   

原文地址:http://blog.csdn.net/fcly2013/article/details/41826463

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!