Java spring プロジェクトを maven に切り替えて、単純な構造から始めたいと考えています。archetype プロジェクトを作成し、メイン パッケージに Service.java を含むサブフォルダーを追加しました。依存関係について説明しますが、エラーが発生します。
maven アーティファクト org.springframework:spring:jar:3.1.1 が見つかりませんでした (http://repo.maven.apache.org/maven2)
<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.home.springtraining</groupId><artifactId>SpringTrainingTemplate</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>SpringTrainingTemplate</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>3.1.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
このパッケージをダウンロードできない理由を知っていますか?