Ошибка maven с использованием TriplePlay и реагирования SNAPSHOT - PullRequest
0 голосов
/ 18 января 2012

Я переключился с tripleplay и реагировал с 1.0 и 1.1 на 1.1-SNAPSHOT и 1.2-SNAPSHOT соответственно, чтобы иметь возможность использовать самый последний код из git (такой как AbsoluteLayout)

теперь, когда я пытаюсь упаковать игру для HTML5, используя

mvn clean package

Я получаю:

[WARNING] The POM for com.threerings:react:jar:1.2-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for com.threerings:tripleplay:jar:1.1-SNAPSHOT is missing, no dependency information available
...
[ERROR] Failed to execute goal on project h4ck1t-core: Could not resolve dependencies for project com.jengibre:h4ck1t-core:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.threerings:react:jar:1.2-SNAPSHOT, com.threerings:tripleplay:jar:1.1-SNAPSHOT: Failure to find com.threerings:react:jar:1.2-SNAPSHOT in http://forplay.googlecode.com/svn/mavenrepo was cached in the local repository, resolution will not be reattempted until the update interval of forplay-legacy has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Я пытался добавить -U для принудительного обновления, но без эффекта

Мой пом использует PlayN версии 1.0.3

спасибо!

Ответы [ 2 ]

1 голос
/ 20 февраля 2012

В проекте playn-samples отредактируйте файл core / pom.xml и получите -SNAPSHOT для зависимости tripleplay. 1.1 был выпущен в основной репозиторий mvn.

1 голос
/ 18 января 2012

Релизы моментальных снимков недоступны из Maven Central , только выпущенные версии.

Вы можете попробовать найти репозиторий моментальных снимков (если он существует) и затем добавить его в раздел репозиториевваше ПОМ.

...