简体   繁体   中英

Apache Commons VFS Maven Repository?

Any idea on which Maven repository to use in order to use Apache commons VFS libraries? 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

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:

http://repository.jboss.org/

Version 2.1-SNAPSHOT implements some new features.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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