Maven 2.1을 실행할 수 없습니다. 다음을 실행하는 중에 오류가 발생합니다.maven2를 실행할 수 없습니다.
****************************************************************
[email protected]:~/.m2> mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file: Connection refused
[INFO] Repository 'central' will be blacklisted
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Jul 22 17:59:02 IST 2010
[INFO] Final Memory: 3M/240M
[INFO] ------------------------------------------------------------------------
******************************************************************
도와주세요.
가 이[경고]이 저장소 메타 데이터 : 'org.apache.maven.plugins'을 검색 할 수 없습니다
그것을 해결하는 방법. 나는 현지 리포 대신 메이븐 환매 약정에 사용하고 싶습니다. 그것을 해결하는 방법 ? – NareshKumar