The latest release (binaries and source) of Commons VFS can be found here.
You will also need to download the dependencies (jars) used by Apache Commons VFS. You can download the jars from the list below; with Apache Maven dependency resolution is automatic.
To obtain the Commons VFS source, you can either:
To build Commons VFS, you can use Maven 3.0.5 or later. You need to use Java 6 or later (tested with Java 6 - 8). Production builds are done with the -Pjava-1.6 profile from Commons Parent (which will compile and test with a JDK from the JAVA_1_6_HOME environment variable).
Use mvn clean verify to locally build and test the core and examples modules. This will build the core JAR files in commons-vfs/core/target/commons-vfs2-<version>.jar.
If you want to build the additional sandbox file systems as well, use mvn -Pinclude-sandbox clean verify. This will also create the sandbox components in commons-vfs/sandbox/target/commons-vfs2-sandbox-<version>.jar.
See the commons-vfs2-example Module on how to use VFS Example Shell to verify the result.