Apache Commons VFS Maven Repository?
-
20-06-2021 - |
Question
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>
Solution
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>
OTHER TIPS
If you need version 2.1-SNAPSHOT
you can use this Maven repository:
Version 2.1-SNAPSHOT implements some new features.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow