2016-10-16 8 views
0

私はこの問題に対処しています。私はいくつかのjunitの依存関係を追加しようとするまで、私はmavenプロジェクトの魔法使いがうまく動作するので、この依存関係は検出されますがダウンロードされないので、手動でダウンロードしてインストールする必要がありました。NetbeansのMavenコマンドラインにオプションを追加してください

Failed to execute goal on project project: Could not resolve dependencies for project ar.com.project:project:jar:1.0-SNAPSHOT: Failed to collect dependencies for [org.springframework:spring-web:jar:3.2.2.RELEASE (compile), com.google.code.gson:gson:jar:1.2.2 (compile), junit:junit:jar:4.11-redhat-1 (test)]: Failed to read artifact descriptor for org.hamcrest:hamcrest-core:jar:1.3-redhat-1: Failure to find org.hamcrest:hamcrest-parent:pom:1.3-redhat-1 in http://maven.repository.redhat.com/techpreview/all was cached in the local repository, resolution will not be reattempted until the update interval of jboss-ga-repository has elapsed or updates are forced -> [Help 1] 

To see the full stack trace of the errors, re-run Maven with the -e switch. 
Re-run Maven using the -X switch to enable full debug logging. 

For more information about the errors and possible solutions, please read the following articles: 
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException 

あなたがhttps://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExceptionに移動して、コメントを読めば、それは腸が私ソリューションは、-Uオプションを追加することである私の同じ問題を抱えていたことになりますが、:ここまでは正常に見えるが、私はこのエラーを取得する実行したときのNetBeans私はどこを見つけることができません。どこかわかりますか?

よろしくお願いいたします。

答えて

0

私は画像を見て、オプションを追加する方法を見つけ、まだそれが問題ということではなかったので、私の問題は、:(持続。

enter image description here

関連する問題