2017-07-04 1 views
0

Eclipse Oxygenを使用しており、Nexus OSS Repository Managerがインストールされています。 Window-> Preferences-> Mavenで起動時にリポジトリのインデックスの更新をダウンロードするにチェックしました。Nexusのインデクサーを更新しようとしているときにEclipseがnexus-maven-repository-index.zipを探しているのはなぜですか?

起動時にEclipseがNexusのインデックスを更新しようとしていますが、しばらく時間がかかります。しかし、その後、ネクサスのインデックスを更新できないというエラーが表示されます。ログから

は私が関連する行を抽出しています:

!ENTRY org.eclipse.m2e.logback.appender 4 0 2017-07-04 10:55:22.312 
!MESSAGE Unable to update index for nexus|http://localhost:8081/nexus/content/groups/public/: .m2\repository\.cache\m2e\1.8.0\33b5073b9c3fc53d62eb8dc83e442c3d\nexus-maven-repository-index.zip (The system cannot find the file specified) 
!STACK 0 
java.io.FileNotFoundException: .m2\repository\.cache\m2e\1.8.0\33b5073b9c3fc53d62eb8dc83e442c3d\nexus-maven-repository-index.zip (The system cannot find the file specified)... 

私はカタログとして、私は、エラーメッセージ取得していますネクサスインデクサーを新しいMavenプロジェクトを開始し、選択しよう:No archetypes currently available. The archetype list will refresh when the indexes finish updating.

私が興味を持っていますがEclipseがなぜnexus-maven-repository-index.gzではなくnexus-maven-repository-index.zipを探しているのですか?

フォルダ.m2 \ repository.cache \ m2e \ 1.8.0 \ 33b5073b9c3fc53d62eb8dc83e442c3d \次の3つのファイルがあります。nexus-maven-repository-index.gz(360 MB)、nexus-maven-repository-index.properties (180B)およびチャンク.1st(0B)。 No nexus-maven-repository-index.zip。

私はStackoverlowで解決策を探していましたが、多くのことを試してみましたが、この問題(これまでより悪かった)を改善しましたが、解決しませんでした。

答えて

0

ログメッセージは誤解を招く可能性があります。他のインデックスファイルのダウンロードに失敗すると、Nexusはそのファイルをダウンロードしようとします。 .gzファイルをダウンロードできない場合、その行が表示されます。

関連する問題