私はmaven installを通して依存関係jarをダウンロードすることに問題があります。私のmavenが古いセントラルリポジトリのURLを指しているのはなぜですか?
日食コンソールから、私はMavenのが古い中央リポジトリのURLからjarファイルをダウンロードしようとしていると言うことができます: "https://repo.maven.apache.org/maven2 "ではなく" http://repo1.maven.org/maven2/"
私のpom.xml
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.xxxx</groupId>
<artifactId>TestServices</artifactId>
<version>7.0.3.6</version>
<dependencies>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.0.2</version>
<scope>compile</scope>
</dependency>
</dependencies>
のそして、私のビルドは、次のエラーメッセージで失敗しています:
[ERROR] Failed to execute goal on project 'xxxyyy': Could not resolve dependencies for project xxxyyy:jar:4.0.3.6: The following artifacts could not be resolved: org.codehaus:xstream:jar:1.3.1, gxs:ai:jar:0.5, javax.activation:activation:jar:1.0.2, com.oracle.jdbc:classes12:jar:9.2.0.5, org.eclipse.core:resources:jar:3.1.0, org.eclipse.core:runtime:jar:3.2.0.v20060603, org.eclipse.emf:common:jar:2.2.1.v200609210005, org.eclipse.emf:ecore:jar:2.2.1.v200609210005, org.eclipse.emf:ecore.xmi:jar:2.2.1.v200609210005, org.eclipse.equinox:common:jar:3.2.0.v20060603, org.eclipse:osgi:jar:3.2.1.R32x_v20060919, org.eclipse.wst.xml:core:jar:1.1.1.v200609210600, org.eclipse:xsd:jar:2.2.1.v200609210005, javax.mail:mail:jar:1.3.2, org.apache:log4j:jar:1.2.8: Failure to find org.codehaus:xstream:jar:1.3.1 in ${localRepo} was cached in the local repository, resolution will not be reattempted until the update interval of 'abcd' has elapsed or updates are forced -> [Help 1]
pom.xmlを表示できますか? – Gatusko
@Gatusko更新された投稿 – Hello
更新された回答あなたが助けてくれることを願っています – Gatusko