简体   繁体   English

Apache Commons VFS Maven存储库?

[英]Apache Commons VFS Maven Repository?

Any idea on which Maven repository to use in order to use Apache commons VFS libraries? 有什么想法使用哪个Maven存储库来使用Apache公共VFS库? Thanks. 谢谢。

    <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-vfs2</artifactId>
        <version>2.1-SNAPSHOT</version>
    </dependency>

** Edit ** : the following repository works fine: **编辑**:以下存储库工作正常:

    <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>

Please check that your artifactId is correct: http://mvnrepository.com/artifact/org.apache.commons/commons-vfs2/2.0 请检查您的artifactId是否正确: http//mvnrepository.com/artifact/org.apache.commons/commons-vfs2/2.0

It should be: 它应该是:

<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-vfs2</artifactId>
    <version>2.0</version>
</dependency>

If you need version 2.1-SNAPSHOT you can use this Maven repository: 如果您需要2.1-SNAPSHOT版本,可以使用此Maven存储库:

http://repository.jboss.org/ http://repository.jboss.org/

Version 2.1-SNAPSHOT implements some new features. 版本2.1-SNAPSHOT实现了一些新功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM