Пример интеграции Spring Birt Ошибка maven

Я нашел хороший пример того, как интегрировать maven в spring mvc, что я и хотел бы сделать.

https://github.com/joshlong/spring-birt

Я скачал проект и импортировал проект maven в Spring STS. Я могу выполнить установку maven в проекте spring-birt-integration, который создает файл spring-birt-integration.jar, однако, когда я выполняю установку maven в примере spring-birt-integration-example, я получаю сообщение об ошибке....

Failed to execute goal on project spring-birt-integration-example: 
Could not resolve dependencies for project org.eclipse.birt.spring:spring-birt-integration-example:war:1.0: 
    Failed to collect dependencies for [org.eclipse.birt.spring:spring-birt-integration:jar:1.0 (compile), org.springframework:spring-test:jar:3.1.0.RELEASE (compile), org.mortbay.jetty:servlet-api:jar:3.0.20100224 (compile), cglib:cglib-nodep:jar:2.2 (compile), javax.inject:javax.inject:jar:1 (compile), mysql:mysql-connector-java:jar:5.1.9 (compile)]: 
Failed to read artifact descriptor for org.eclipse.birt.spring:spring-birt-integration:jar:1.0: Failure to find org.eclipse.birt.spring:spring-birt:pom:1.0 in https://oss.sonatype.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-releases has elapsed or updates are forced -> [Help 1]

Настройка в файле pom выглядит так, как будто пример наследует зависимости от проекта spring-birt-integration. Впервые такое вижу и не знаю как исправить.

Может ли кто-нибудь дать мне несколько советов, пожалуйста.

спасибо


person Richie    schedule 22.11.2013    source источник


Ответы (1)


Какой глупый вопрос. После прочтения моих ошибок я понял, что забыл импортировать файл pom верхнего уровня. На самом деле их три для этого проекта.

Это первый раз, когда я вижу проект maven с двумя файлами pom.xml, которые наследуются от родительских проектов. Очень интересно.

person Richie    schedule 22.11.2013