Eclipse Ivy下载的罐子比预期的多
摘要: Ivy下载的罐子比我预期的要多,我不知道为什么 详细信息: 我正在将我的项目从使用Maven Ant任务进行依赖关系管理转换为Ivy 到目前为止,我已经做了以下工作:Eclipse Ivy下载的罐子比预期的多,eclipse,ivy,ivyde,Eclipse,Ivy,Ivyde,摘要: Ivy下载的罐子比我预期的要多,我不知道为什么 详细信息: 我正在将我的项目从使用Maven Ant任务进行依赖关系管理转换为Ivy 到目前为止,我已经做了以下工作: 将IvyDE安装到我的Eclipse(Helios)中 创建了一个ivy.xml文件 因为我以前成功地使用了Maven Ant任务,所以我复制了 从my build.xml到ivy.xml的密度。我一定要换衣服 依赖项声明使用常春藤格式(org、name、rev) 将IvyDE类路径容器添加到我的Eclipse项目中 现在
<?xml version="1.0" encoding="ISO-8859-1"?>
<ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
<info
organisation="org.robbins"
module="FlashCardsWeb"
status="integration">
</info>
<dependencies>
<dependency org="org.apache.struts" name="struts2-core" rev="2.2.3"/>
<dependency org="org.apache.struts" name="struts2-spring-plugin" rev="2.2.3">
<exclude org="org.springframework" name="spring-web" />
<exclude org="org.springframework" name="spring-beans" />
<exclude org="org.springframework" name="spring-context" />
<exclude org="org.springframework" name="spring-core" />
</dependency>
<dependency org="org.springframework" name="spring-web" rev="3.0.5.RELEASE"/>
<dependency org="org.springframework" name="spring-beans" rev="3.0.5.RELEASE"/>
<dependency org="org.springframework" name="spring-context" rev="3.0.5.RELEASE"/>
<dependency org="org.springframework" name="spring-core" rev="3.0.5.RELEASE"/>
<dependency org="org.springframework" name="spring-jdbc" rev="3.0.5.RELEASE"/>
<dependency org="org.springframework" name="spring-orm" rev="3.0.5.RELEASE"/>
<dependency org="org.apache.struts" name="struts2-tiles-plugin" rev="2.2.1.1"/>
<dependency org="com.jgeppert.struts2.jquery" name="struts2-jquery-plugin" rev="3.0.1"/>
<dependency org="com.jgeppert.struts2.jquery" name="struts2-jquery-richtext-plugin" rev="3.0.1"/>
<dependency org="org.hibernate" name="hibernate-core" rev="3.6.2.Final"/>
<dependency org="org.hibernate" name="hibernate-c3p0" rev="3.6.2.Final"/>
<dependency org="org.hibernate" name="hibernate-entitymanager" rev="3.6.2.Final"/>
<dependency org="org.hibernate" name="hibernate-tools" rev="3.2.4.GA"/>
<dependency org="c3p0" name="c3p0" rev="0.9.1"/>
<dependency org="org.slf4j" name="slf4j-simple" rev="1.6.1"/>
<dependency org="commons-logging" name="commons-logging" rev="1.0.4"/>
<dependency org="mysql" name="mysql-connector-java" rev="5.1.15"/>
<dependency org="junit" name="junit" rev="4.8.1"/>
<dependency org="log4j" name="log4j" rev="1.2.14"/>
<dependency org="org.openid4java" name="openid4java-nodeps" rev="0.9.6" />
<dependency org="org.apache.httpcomponents" name="httpclient" rev="4.0" />
<dependency org="net.sourceforge.nekohtml" name="nekohtml" rev="1.9.10" />
</dependencies>
我遇到了类似的问题,发现这封邮件有帮助 问题是,如果不指定任何conf,Ivy会假定您需要所有conf spring的配置,包括可选的配置 相反:
<dependency org="org.springframework" name="spring" rev="2.0.3"
conf="*->default"/>