Hi, just for the record: I tried with JDK 1.5 on my machine and got the same dependencies.
Cheers, Robert > -----Ursprüngliche Nachricht----- > Von: robert.kl...@innovations.de [mailto:robert.kl...@innovations.de] > Gesendet: Montag, 20. Juli 2009 08:29 > An: users@maven.apache.org > Betreff: AW: Dependency missing on Windows > > Thanks for the hint, Brett > > I'm pretty sure the buildserver uses 1.4 for compilation because a > Class version error broke the build ;) > > But you are right, the server runs a 1.5 JDK and my machine a 1.6. So I > think the build simply doesn't do what I'd expected. It seems to me, > that the JDK is used for the dependency resolution. If so, this would > explain the difference between my machine and the server. > > I will check that. > > Cheers, > > Robert > > > > -----Ursprüngliche Nachricht----- > > Von: Brett Randall [mailto:javabr...@gmail.com] > > Gesendet: Samstag, 18. Juli 2009 01:30 > > An: Maven Users List > > Betreff: Re: Dependency missing on Windows > > > > Hi Robert, > > > > javax.xml.stream was added to the JDK @1.6 (6) - could it be that you > > are building locally with a 1.6 JDK whereas your CI server is using > 1.5 > > (which I don't think covers this dependency in the JDK)? > > > > I know you have detailed some info contra to that, but it seems the > > most > > likely reason to me. Either way I'm pretty sure this dep is not in > JDK > > 1.4 on your server, which would explain the missing dep. Double- > check > > your local/remote build JDKs. > > > > Best > > Brett > > > > > > robert.kl...@innovations.de wrote: > > > Hi, > > > > > > I have a strange experience with a missing dependency. The problem > > > occurred when upgrading spring-ws-core to version 1.5.7. In that > > version > > > they changed a dependency from stax:stax-api to > > > javax.xml.stream:stax-api. > > > > > > This change worked fine on my machine (yeah, I know) but broke the > > build > > > on our ci server, as the new dependency resolved to stax-api-1.0- > > 2.jar > > > which is built with Java 1.5 and not 1.4 (which we unfortunately > must > > > support). > > > > > > The interesting thing: when calling mvn dependency:tree on the > server > > > showed the dependency but it did not appear on my machine > > > > > > This of course would explain, why the build worked locally. > > > > > > Can anybody explain this difference in dependency resolution? > > > > > > Some details > > > - The server is running Linux with Maven 2.0.9 and Java 1.5 > > > - I'm using Windows XP with Maven 2.1.0 (but also tried 2.0.9 with > > same > > > result) and Java 1.6 > > > - Same Repositories > > > - Server and Windows should use Java 1.4 for building > > > - It is mulit-module project > > > - In the project is a transitive dependency to stax:stax-api in > > version > > > 1.0.1 (this version was used by spring-ws-core before the upgrade) > > > > > > Cheers, > > > > > > Robert Klaus > > > Business Rules Management > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org