File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
src/main/java/org/cryptomator/cli Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1010 <properties >
1111 <java .version>1.8</java .version>
1212 <commons .cli.version>1.3.1</commons .cli.version>
13- <cryptofs .version>1.0.1 </cryptofs .version>
14- <webdav-nio .version>0.2.3 </webdav-nio .version>
13+ <cryptofs .version>1.1.0 </cryptofs .version>
14+ <webdav-nio .version>0.4.0 </webdav-nio .version>
1515 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1616 </properties >
1717
5656 <dependency >
5757 <groupId >org.apache.logging.log4j</groupId >
5858 <artifactId >log4j-slf4j-impl</artifactId >
59- <version >2.7 </version >
59+ <version >2.8 </version >
6060 </dependency >
6161 <dependency >
6262 <groupId >org.apache.logging.log4j</groupId >
6363 <artifactId >log4j-core</artifactId >
64- <version >2.7 </version >
64+ <version >2.8 </version >
6565 </dependency >
6666 </dependencies >
6767
6868 <build >
6969 <plugins >
7070 <plugin >
71- <groupId >org.apache.maven.plugins</groupId >
7271 <artifactId >maven-compiler-plugin</artifactId >
73- <version >3.5 .1</version >
72+ <version >3.6 .1</version >
7473 <configuration >
7574 <source >${java.version} </source >
7675 <target >${java.version} </target >
8079
8180 <plugin >
8281 <artifactId >maven-assembly-plugin</artifactId >
82+ <version >3.0.0</version >
8383 <executions >
8484 <execution >
8585 <id >make-assembly</id >
Original file line number Diff line number Diff line change @@ -56,7 +56,8 @@ private static void validate(Args args) throws IllegalArgumentException {
5656 }
5757
5858 private static void startup (Args args ) throws IOException {
59- WebDavServer server = WebDavServer .create (args .getBindAddr (), args .getPort ());
59+ WebDavServer server = WebDavServer .create ();
60+ server .bind (args .getBindAddr (), args .getPort ());
6061 server .start ();
6162
6263 for (String vaultName : args .getVaultNames ()) {
@@ -65,7 +66,7 @@ private static void startup(Args args) throws IOException {
6566 String vaultPassword = args .getVaultPassword (vaultName );
6667 CryptoFileSystemProperties properties = CryptoFileSystemProperties .cryptoFileSystemProperties ().withPassphrase (vaultPassword ).build ();
6768 Path vaultRoot = CryptoFileSystemProvider .newFileSystem (vaultPath , properties ).getPath ("/" );
68- server .startWebDavServlet (vaultRoot , vaultName );
69+ server .createWebDavServlet (vaultRoot , vaultName );
6970 }
7071
7172 waitForShutdown (() -> {
You can’t perform that action at this time.
0 commit comments