Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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>
like image 356
kiwifrog Avatar asked Dec 15 '22 21:12

kiwifrog


1 Answers

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>
like image 199
ndeverge Avatar answered Dec 24 '22 04:12

ndeverge