Hi,

I use Maven 2.0.7 with JDK 1.5.0_12 on Windows XP.

My application use struts2 and spring-framework. 
In my POM, I add the dependency : org.springframework:spring-beans:2.0.1
and the dependency org.apache.struts:struts2-spring-plugin:2.0.9

I run mvn eclipse:clean eclipse:eclipse -Dwtpversion=1.5
In Eclipse, I see the dependency org.springframework:spring-beans:2.0.5 because 
org.apache.struts:struts2-spring-plugin:2.0.9 needs this dependency

I run mvn clean package. My war file contains 
org.springframework:spring-beans:2.0.1 (not 2.0.5) because I specified it in my 
pom.

Is it normal the de dependency computation is different between mvn 
eclipse:eclipse and mvn package ?
May I do some errors in my maven configuration ? (pom, settings).


Regards,
Eric Lewandowski

Reply via email to