anyframe 4.0설치 확인 부탁드립니다.
D:\>mvn archetype:generate -DarchetypeCatalog="http://dev.anyframejava.org/mavㄷn/repo/archetype-catalog.xml"
명령어 실행시 아래와 같이 접속을 할 수 .가 없다고
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.apache.maven.plugins: checking for updates from anyframe-plugin
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retr
eved from repository: anyframe-plugin due to an error: Error transferring file:
Connection timed out: connect
[INFO] Repository 'anyframe-plugin' will be blacklisted
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retr
eved from repository: central due to an error: Error transferring file: Connect
on timed out: connect
[INFO] Repository 'central' will be blacklisted
[INFO] org.apache.maven.plugins: checking for updates from remote
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retr
eved from repository: remote due to an error: Error transferring file: Connecti
n timed out: connect
[INFO] Repository 'remote' will be blacklisted
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not ex
st or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 3 seconds
[INFO] Finished at: Thu Jan 14 15:13:54 KST 2010
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------
이렇게 Error메시지가 나오네요
setting.xml파일은 해당부분 이 사이트의 설치가이드에서 복사를 했습니다.
설치가이드의 http://dev.anyframejava.org/artifactory/anyframe-repository 부분 확인부탁드립니다.
확인 부탁드립니다.
수고하세요


위 질문의 첨부파일(settings.zip)을 풀면
위 질문의 첨부파일(settings.zip)을 풀면 settings.xml이 나옵니다. 이 파일을 maven home directory안에 있는 conf(-/maven-2.x.x/conf)에 복사하신 후 다시 한번 시도하여 보시기 바랍니다.
D:\devel\anyframe>mvn archetype:generate -DarchetypeCatalog="http://dev.anyframe
java.org/maven/repo/archetype-catalog.xml"
:
Downloading: http://dev.anyframejava.org/artifactory/anyframe-repository/org/apa
che/maven/shared/maven-invoker/2.0.6/maven-invoker-2.0.6.jar
Downloading: http://www.ibiblio.org/maven2/plugins/org/apache/maven/shared/maven
-invoker/2.0.6/maven-invoker-2.0.6.jar
Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-invoker
/2.0.6/maven-invoker-2.0.6.jar
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [archetype:generate]
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.
archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: http://dev.anyframejava.org/maven/repo/archetype-catalog.xml -> anyframe.plug
in.foundation (foundation)
Choose a number: (1): 1
위와 같이 진행이 되면 정상입니다. 여기서 1을 입력후 메뉴얼의 가이드에 따라 이후 진행을 하시면 됩니다.
동일한 현상입니다.
저도 동일한 현상입니다만, 첨부된 파일 settings.zip 로 복사해도 동일하게 해결되지 않는군요.