mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-11 13:39:32 +00:00
Add -H:EnableURLProtocols=https
This commit is contained in:
@@ -97,6 +97,7 @@
|
|||||||
--allow-incomplete-classpath
|
--allow-incomplete-classpath
|
||||||
-H:IncludeResources=org/jboss/fuse/mvnd/.*
|
-H:IncludeResources=org/jboss/fuse/mvnd/.*
|
||||||
-H:IncludeResources=org/jline/utils/.*
|
-H:IncludeResources=org/jline/utils/.*
|
||||||
|
-H:EnableURLProtocols=https
|
||||||
</buildArgs>
|
</buildArgs>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@@ -165,7 +165,7 @@ public class Installer {
|
|||||||
OutputStream out = new BufferedOutputStream(Files.newOutputStream(localZip), BUFFER_SIZE)) {
|
OutputStream out = new BufferedOutputStream(Files.newOutputStream(localZip), BUFFER_SIZE)) {
|
||||||
copy(in, out);
|
copy(in, out);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new RuntimeException("Could not download " + zipUri + " to " + localZip);
|
throw new RuntimeException("Could not download " + zipUri + " to " + localZip, e);
|
||||||
}
|
}
|
||||||
return localZip;
|
return localZip;
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
Reference in New Issue
Block a user