maven repository issue
        Posted  
        
            by 
                Pratap Murukutla
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Pratap Murukutla
        
        
        
        Published on 2012-09-22T09:19:51Z
        Indexed on 
            2012/09/22
            9:37 UTC
        
        
        Read the original article
        Hit count: 302
        
maven
i have created a maven web project using the below site.
http://www.mkyong.com/maven/how-to-create-a-web-application-project-with-maven/
i have done all of the steps given there and executed the simple hello world program
Now i have to include spring dependencies into my eclipse web project.
So
<dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring</artifactId>
            <version>3.1.2</version>
        </dependency>
in the dependencies tag i added the above code.
It is saying as below
unable to find jars from the repositories (local and as well as remote)
it gave suggestion to execute the command
mvn install -artifactid=springframework (something like this)
but when i mentioned version as 2.5.6 it correctly take.
is it the problem with the version 3.1.2 is unavailable at maven repository.
how to get the latest versions if maven is not working properly for latest versions.
It also gave me the suggestion to go for manually download and put in local repository
© Stack Overflow or respective owner