|
|
|
Maven - ошибка Could not resolve archetype org.apache.maven...
|
|||
|---|---|---|---|
|
#18+
Привет Пытаюсь создать проект в netbeans / или/ eclipse но получаю ошибку Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories. Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE Failed to resolve version for org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE: Could not find metadata org.apache.maven.archetypes:maven-archetype-quickstart/maven-metadata.xml in local (C:\Users\user\.m2\repository) Failed to resolve version for org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE: Could not find metadata org.apache.maven.archetypes:maven-archetype-quickstart/maven-metadata.xml in local (C:\Users\user\.m2\repository) сижу за прокси, в settings.xml параметры proxy настроил <!-- proxies | This is a list of proxies which can be used on this machine to connect to the network. | Unless otherwise specified (by system property or command-line switch), the first proxy | specification in this list marked as active will be used. |--> <proxies> <!-- proxy | Specification for one proxy, to be used in connecting to the network. | <proxy> <id>optional</id> <active>true</active> <protocol>http</protocol> <username>proxyuser</username> <password>proxypass</password> <host>192.168.1.254</host> <port>3128</port> <nonProxyHosts>local.net|some.host.com</nonProxyHosts> </proxy> --> </proxies> netbeans вообще страшные вещи пишет Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.4.1: Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.pom Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.3.1: Plugin org.apache.maven.plugins:maven-install-plugin:2.3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.3.1 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.pom Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.0/maven-site-plugin-3.0.pom Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.0: Plugin org.apache.maven.plugins:maven-site-plugin:3.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-site-plugin:jar:3.0 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.pom Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.1/maven-dependency-plugin-2.1.pom Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.1: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.1 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.0/maven-release-plugin-2.0.pom Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.0: Plugin org.apache.maven.plugins:maven-release-plugin:2.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-release-plugin:jar:2.0 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central ( http://repo.maven.apache.org/maven2): repo.maven.apache.org Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central ( http://repo.maven.apache.org/maven2): repo.maven.apache.org Failure to transfer org.apache.maven.plugins/maven-metadata.xml from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central ( http://repo.maven.apache.org/maven2): repo.maven.apache.org Failure to transfer org.codehaus.mojo/maven-metadata.xml from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central ( http://repo.maven.apache.org/maven2): repo.maven.apache.org ------------------------------------------------------------------------ BUILD FAILURE ------------------------------------------------------------------------ Total time: 13.152s Finished at: Mon Mar 11 18:08:18 FET 2013 Final Memory: 3M/15M ------------------------------------------------------------------------ No plugin found for prefix 'archetype' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\user\.m2\repository), central ( http://repo.maven.apache.org/maven2)%5D]http://repo.maven.apache.org/maven2)] -> [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. я в принципе не так что то делаю, или может проблема в прокси? что то еще настроить надо? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.03.2013, 20:10 |
|
||
|
Maven - ошибка Could not resolve archetype org.apache.maven...
|
|||
|---|---|---|---|
|
#18+
А в принципе это прокси пускает на http://repo.maven.apache.org/? В браузере проверяли? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.03.2013, 09:52 |
|
||
|
Maven - ошибка Could not resolve archetype org.apache.maven...
|
|||
|---|---|---|---|
|
#18+
ivanra, только что проверил Browsing for this directory has been disabled. View this directory's contents on http://search.maven.org instead. получается, Maven для меня недоступен? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.03.2013, 12:01 |
|
||
|
Maven - ошибка Could not resolve archetype org.apache.maven...
|
|||
|---|---|---|---|
|
#18+
VladislavVVivanra, только что проверил Browsing for this directory has been disabled. View this directory's contents on http://search.maven.org instead. получается, Maven для меня недоступен? Код: xml 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. в settings.xml так прямо и написано, если да, то комментарий убери ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.03.2013, 12:10 |
|
||
|
Maven - ошибка Could not resolve archetype org.apache.maven...
|
|||
|---|---|---|---|
|
#18+
VladislavVVivanra, только что проверил Browsing for this directory has been disabled. View this directory's contents on http://search.maven.org instead. получается, Maven для меня недоступен? Нет, все нормально, сервер доступен, это он так и должен отвечать, там разрешен каталог maven2. Что за прокси? Может, у вас организован корпоративный репозиторий? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.03.2013, 12:44 |
|
||
|
Maven - ошибка Could not resolve archetype org.apache.maven...
|
|||
|---|---|---|---|
|
#18+
все работет, спс за ответы действительно реально протупил - раздел прокси был закомментировал (((((( ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.03.2013, 13:15 |
|
||
|
|

start [/forum/topic.php?fid=59&msg=38181031&tid=2125357]: |
0ms |
get settings: |
7ms |
get forum list: |
13ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
135ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
47ms |
get tp. blocked users: |
1ms |
| others: | 255ms |
| total: | 472ms |

| 0 / 0 |
