Add -H:EnableURLProtocols=https

This commit is contained in:
Peter Palaga
2020-06-21 20:06:54 +02:00
parent 3107f08b87
commit 80af2c5ec8
2 changed files with 2 additions and 1 deletions

View File

@@ -97,6 +97,7 @@
--allow-incomplete-classpath
-H:IncludeResources=org/jboss/fuse/mvnd/.*
-H:IncludeResources=org/jline/utils/.*
-H:EnableURLProtocols=https
</buildArgs>
</configuration>
</plugin>

View File

@@ -165,7 +165,7 @@ public class Installer {
OutputStream out = new BufferedOutputStream(Files.newOutputStream(localZip), BUFFER_SIZE)) {
copy(in, out);
} catch (IOException e) {
throw new RuntimeException("Could not download " + zipUri + " to " + localZip);
throw new RuntimeException("Could not download " + zipUri + " to " + localZip, e);
}
return localZip;
} catch (IOException e) {