Hi.

I'm working on a Maven Java Plugin & am running into an issue. I am directly
using the Dependency class in my code from the latest version of that jar,
3.0.1. However, the version in my Maven installation directory lib is 2.0.4
(same as the version of Maven I'm using) & the method available in
Dependency differ quite a bit between these versions. In pom.xml I have
3.0.1 as a dependency & it is in my local repository so the code compiles,
but once I execute my plugin, the mvn executable seems to look at the 2.0.4
jar in its lib directory instead of the configured 3.0.1 library, so I get a
runtime error that the method couldn't be found in the Dependency class. Any
suggestions on getting around this? As hacky as it sounds I even tried
copying the 3.0.1 jar to the Maven lib, renaming it to 2.0.4, but apparently
there are other differences that then causes Maven to choke completely. Any
help is much appreciated.

Thanks!
-- 
View this message in context: 
http://www.nabble.com/problem-with-differing-versions-of-maven-model-tf2273053.html#a6310953
Sent from the Maven Developers forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to