我正在通过本教程学习一些关于 OSGI 的实践https://sites.google.com/site/springosgi/ch01.html
我被困在 1.3 上,当我转到“应用 > 运行”时,我得到构建失败
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.741s
[INFO] Finished at: Tue Nov 22 23:16:54 EST 2011
[INFO] Final Memory: 3M/54M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project spring-osgi-tp: Could not resolve dependencies for project org.springframework.osgi:spring-osgi-tp:pom:1.1.3: Could not find artifact org.springframework.osgi:catalina.start.osgi:jar:SNAPSHOT-1.0 in eclipse-repository (http://repo1.maven.org/eclipse/) -> [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
下载时我收到此警告
[WARNING] The POM for org.springframework.osgi:catalina.start.osgi:jar:SNAPSHOT-1.0 is missing, no dependency information available
我做了一些搜索,发现一个线程似乎在说人工制品在以下仓库中
<repository>
<id>i21-s3-osgi-repo</id>
<name>i21 osgi artifacts repo</name>
<snapshots>
<enabled>true</enabled>
</snapshots>
<url>http://maven.springframework.org/osgi</url>
</repository>
如果我注释掉有问题的依赖关系,那么它会正确构建,尽管我想随着我在教程中的进一步深入,我将需要这个包来启动 Tomcat,有没有人能在这个领域给我一些指示,因为我对 Spring 和奥斯吉?