Re: Maven is downloading older version of junit

2010-05-13 Thread AVSUNIL
POM reposted: org.codehaus.mojo buildnumber-maven-plugin 1.0-beta-3 validate

Re: Maven is downloading older version of junit

2010-05-13 Thread AVSUNIL
I checked that junit 4.8.1 jar is proper and is downloaded from my remote/server repository to my proxy/local repository. It is present in storage location of nexus file system. I have Java 1.5 on my system. I have set junit 4.8.1 in my build classpath. Still it is giving compilation issues as it

Re: Maven is downloading older version of junit

2010-05-12 Thread AVSUNIL
Thanks Kalpak for response. The issue is that compilation fails when I try to use anything specific to junit 4.8 in my junit test classes. Here is what is happening: > When I see the nexus proxy (or local) repository, after I do mvn clean and > mvn compile, it is downloading 3.8.1, 3.8.2 and 4.8.

Maven is downloading older version of junit

2010-05-12 Thread AVSUNIL
Hi, In one of project application, I was using junit 3.8.1. Now I want to move to junit 4.8.1. I have changed the pom dependancy for downloading junit 4.8.1 and it is working fine. But I am noticing that junit 3.8.1 is still being downloaded by Maven through nexus repository. How do I avoid downl