Anyone any idea why on 2 different PC’s who have the exact same workspace (same projects/pom’s), same maven version, same OS, … same anything that might matter, running mvn dependency:list (or tree) returns a different result?
The actual difference concerns a transitive dependency which on PC A is added to the classpath (and therefore to the dependency-list) and on PC B: not).
UPDATE:
Actually, the problems seems to be restricted to Apache CXF dependencies; almost all their transitive dependencies are missing on PC B.
SOLVED
The problem was related to the java version. Everything was setup for java 5 but Maven itself was running in Java 6. In general this is not a problem but the missing cxf dependencies are included in a profile section of cxf-rt-frontend-jaxws:
So, these dependencies are only added when running Maven in 1.5.
Setting the JAVA_HOME to 1.5 solved the issue.