想要使用Maven存储库来使用Apache commons VFS库的任何想法? 谢谢。Apache Commons VFS Maven知识库?
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-vfs2</artifactId>
<version>2.1-SNAPSHOT</version>
</dependency>
** **编辑:下面的资料库正常工作:
<repository>
<id>commons-vfs</id>
<name>Apache Commons VFS Repository Group</name>
<url>https://repository.apache.org/content/groups/snapshots/</url>
<layout>default</layout>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
您确定artifactId? http://mvnrepository.com/artifact/org.apache.commons/commons-vfs2/2.0 – 2012-07-12 11:45:42
或者它可以作为SNAPSHOT使用:https://repository.apache.org/index.html#nexus-search;quick~commons- vfs2-distribution – 2012-07-12 11:48:21
@nico_ekito你是对的:artifact id是错误的。我在我的问题中纠正了它,并添加了正确的Maven存储库。感谢您的帮助,并随时添加一个答案,以便我可以接受它;-) – kiwifrog 2012-07-12 16:19:19