這個問題與Eclipse沒有任何關係,但Maven。
假設你正在使用m2eclipse的,你可以使用版本庫瀏覽器作爲Browsing and Manipulating Maven Repositories docs詳細說明。由於我不是Eclipse用戶,我更喜歡使用命令行。
爲了回答您的(非編程)的問題,AFAICT,是的,倉庫工作正常。
POM片斷— 還與快照設置工作,但不是必需的。
<repositories>
<repository>
<id>tapx</id>
<name>howard lewisship snapshot repository</name>
<url>http://howardlewisship.com/snapshot-repository/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.howardlewisship</groupId>
<artifactId>tapx-core</artifactId>
<version>1.2-SNAPSHOT</version>
</dependency>
</dependencies>
依賴性:樹輸出
[...maven/playground]$ mvn dependency:tree
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ test ---
[INFO] com.davelnewton:test:jar:1.0.0-SNAPSHOT
[INFO] \- com.howardlewisship:tapx-core:jar:1.2-SNAPSHOT:compile
[INFO] \- org.apache.tapestry:tapestry-core:jar:5.3.4:compile
[INFO] +- org.antlr:antlr-runtime:jar:3.3:compile
[INFO] | \- org.antlr:stringtemplate:jar:3.2.1:compile
[INFO] | \- antlr:antlr:jar:2.7.7:compile
[INFO] +- commons-codec:commons-codec:jar:1.5:compile
[INFO] +- org.apache.tapestry:tapestry-json:jar:5.3.4:compile
[INFO] \- org.apache.tapestry:tapestry-ioc:jar:5.3.4:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.6.1:compile
[INFO] +- org.apache.tapestry:tapestry-func:jar:5.3.4:compile
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.6.1:compile
[INFO] +- javax.inject:javax.inject:jar:1:compile
[INFO] +- log4j:log4j:jar:1.2.14:compile
[INFO] +- org.apache.tapestry:tapestry5-annotations:jar:5.3.4:compile
[INFO] +- javassist:javassist:jar:3.12.1.GA:compile
[INFO] \- org.apache.tapestry:plastic:jar:5.3.4:compile
You can also browse the repo from the web.
作品現在證明,我充滿版本標記錯誤 – nkvnkv