I Have started to learn on springs recently and I am stuck at the very beginning. in the tutorial that I follow on youtube it says that i have to install maven and from maven i can install spring, i have installed maven and now i want to install Spring framework from it. it sounds pretty simple. As i understand, maven searches for the spring framework from its repositories and downloads.
I have referred these two links - First and Second
But when i try to search for dependencies, i dont see any dependencies dispalyed to me when i search for "springframework" as shown in the tutorial.
everywhere i google, they say the maven indexes have to be updated on startup, the update process starts when i start eclipse , but its not finishing/ending.
This is my pom.xml file,
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.caveofprogramming.spring.test</groupId>
  <artifactId>testprog</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <packaging>jar</packaging>
  <name>testprog</name>
  <url>http://maven.apache.org</url>
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>