2013-05-07 96 views
0

我的jira插件项目工作正常。由于变更未在JIRA中反映,因此我执行了“地图集清理”。 现在,当我执行 - 寰润然后它给了我相关性错误如下:jira插件项目中的maven依赖项错误

org.apache.http does not exists. 
org.apache.http.client does not exists. 
org.apache.http.client does not exists. 
org.apache.http.client.methods does not exists. 
..... 

在pom.xml中,它已经存在了..

 <dependency> 
     <groupId>org.apache.httpcomponents</groupId> 
     <artifactId>httpclient</artifactId> 
     <version>4.1.1</version> 
     <scope>test</scope> 
    </dependency> 

任何想法..这怎么可能解决?

+3

您已经添加了测试范围的依赖,如果需要在比测试其他的关系是不阶段你必须改变范围。 – 2013-05-07 07:07:27

+0

谢谢,这是原因,它解决了这个问题。 PLZ添加评论,所以,我可以标记答案... – dsi 2013-05-08 10:37:51

回答

1

您已经添加了测试范围的依赖,如果需要在比测试阶段等的关系是不,你必须改变范围