時々、mavenは依存関係に達しません。私のせいによるきっとmaven依存関係に到達できません
が、私は多くの多くの依存関係の問題もなく、プロジェクトの多くを構築することができます...この機会に
私が取得しようとしている:
<dependency>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
<version>4.3.1.Final</version>
</dependency>
をし、私が手:
[ERROR] Plugin org.richfaces.cdk:maven-cdk-plugin:4.3.1.Final or one of its depe
ndencies could not be resolved: Could not find artifact org.richfaces.cdk:maven-
cdk-plugin:jar:4.3.1.Final in central (https://repo.maven.apache.org/maven2) ->
[Help 1]
私は現在、jdk 1.8でmaven 3.3.9を使用しています。私は私のブラウザでチェックした
...
<activeProfiles>
<!--make the profile active all the time -->
<activeProfile>nexus</activeProfile>
</activeProfiles>
<profiles>
...
<profile>
<id>nexus</id>
<!--Override the repository (and pluginRepository) "central" from the Maven Super POM
to activate snapshots for both! -->
<repositories>
<repository>
<id>repoId022</id>
<name>repositoryId022</name>
<url>https://mvnrepository.com/artifact/</url>
</repository>
...
と私は依存パスに到達し、問題なくそれをダウンロードすることができます:私はまた、settings.xml内の私のアクティブなプロファイルrefereceでリポジトリのタグを追加しました。
今私はアイデアがありません...何かを提案できますか? ありがとう!
依存関係を試してダウンロードし、mavenを追加するか、ローカルファイルからフェッチするようにmavenを追加してください。 –
@Mark、中央のアーティファクトIDはmaven-cdk-pluginからmaven-richfaces-resources-pluginに変更されます。これをやり直してみてください。 –
Amitあなたは正しいです。 plsはそれを指摘する方法をより良く説明し、正解とマークします! –