mvn clean install
http3
and http3s
providersmvn -Pshell -Dhttp3
http4
and http4s
providersmvn -Pshell -Dhttp4
http5
and http5s
providersmvn -Pshell -Dhttp5
http*
and http*s
providers togethermvn -Pshell -Dhttp3 -Dhttp4 -Dhttp5
webdav3
providersmvn -Pshell -Dwebdav3
webdav4
and webdav4s
providersmvn -Pshell -Dwebdav4
mvn -Pshell -Dhttp3 -Dhttp4 -Dhttp5 ... cd http3://repo1.maven.org/maven2/org/apache/commons/commons-vfs2/ ... cat maven-metadata.xml ... cd http3s://repo1.maven.org/maven2/org/apache/commons/commons-vfs2/ ... cat maven-metadata.xml ... cd http4://repo1.maven.org/maven2/org/apache/commons/commons-vfs2/ ... cat maven-metadata.xml ... cd http4s://repo1.maven.org/maven2/org/apache/commons/commons-vfs2/ ... cat maven-metadata.xml ... cd http5://repo1.maven.org/maven2/org/apache/commons/commons-vfs2/ ... cat maven-metadata.xml ... cd http5s://repo1.maven.org/maven2/org/apache/commons/commons-vfs2/ ... cat maven-metadata.xml ... cd http://repo1.maven.org/maven2/org/apache/commons/commons-vfs2/ ... cat maven-metadata.xml ... cd https://repo1.maven.org/maven2/org/apache/commons/commons-vfs2/ ... cat maven-metadata.xml ... pwd > Current folder is https://repo1.maven.org/maven2/org/apache/commons/commons-vfs2 pwfs > FileSystem of current folder is org.apache.commons.vfs2.provider.http.HttpFileSystem@668be11a (root: https://repo1.maven.org/) ... quit
Set -Dproviders=<custom_providers.xml_resource_name>
.
mvn -Pshell -Dhttp3 -Dhttp4 -Dproviders=providers-http4-default.xml ... Custom providers configuration used: file:/tmp/commons-vfs/commons-vfs2-examples/target/classes/providers-http4-default.xml VFS Shell null cd http://repo1.maven.org/maven2/org/apache/commons/commons-vfs2/ > Current folder is http://repo1.maven.org/maven2/org/apache/commons/commons-vfs2 pwd > Current folder is http://repo1.maven.org/maven2/org/apache/commons/commons-vfs2 pwfs > FileSystem of current folder is org.apache.commons.vfs2.provider.http4.Http4FileSystem@6e012f9b (root: http://repo1.maven.org/) ...
(After starting a modern WebDAV server such as Apache Jackrabbit Standalone...)
mvn -Pshell -Dwebdav3 cp http3://commons.apache.org/downloads/index.html webdav3://admin:admin@localhost:8080/repository/default/index.html cd webdav3://admin:admin@localhost:8080/repository/default/ ls > > Contents of webdav3://admin:admin@localhost:8080/repository/default test.txt index.html cat index.html ...
(After starting a modern WebDAV server such as Apache Jackrabbit Standalone...)
mvn -Pshell -Dwebdav4 cp http4://commons.apache.org/downloads/index.html webdav4://admin:admin@localhost:8080/repository/default/index.html cd webdav4://admin:admin@localhost:8080/repository/default/ ls > > Contents of webdav4://admin:admin@localhost:8080/repository/default test.txt index.html cat index.html ... cp http4://commons.apache.org/downloads/index.html webdav4s://admin:admin@67d6eab2.ngrok.io/repository/default/index2.html cd webdav4://admin:admin@67d6eab2.ngrok.io/repository/default/ ls > > Contents of webdav4://admin:admin@localhost:8080/repository/default test.txt index.html index2.html cat index2.html ...