Hi

I'm working with a 1.6 jdk, but wanted to build things on 1.5, so I've set
up the right source and target parameters in my plugin management section in
the parent pom of my projects. (I know this is right since it picked up some
issues when i first turned this on).

Now one of my dependencies is commons-dbcp and I was pulling in version 1.4
which worked fine on my box. But when I tried it on someone else's, it
failed. Apparently DBCP 1.4 required JDK 1.6. So I've had to change the
version in my maven dependency management section.

However, should this not have picked this up during compile time? if it was
compiling on 1.5? Is there anything I can do to ensure that this scenario
doesn't happen again?

Chris


-- 
View this message in context: 
http://old.nabble.com/Maven-not-checking-versions-of-downloaded-artefacts--tp28141323p28141323.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to