mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-09 14:49:06 +00:00
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
package org.mvndaemon.mvnd.common;
|
||||
|
||||
import java.io.File;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.net.URLClassLoader;
|
||||
@@ -26,10 +25,6 @@ import java.util.stream.Stream;
|
||||
public class MavenDaemon {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Disable URL caching so that the JVM does not try to cache resources
|
||||
// loaded from jars that are built by a previous run
|
||||
new File("txt").toURI().toURL().openConnection().setDefaultUseCaches(false);
|
||||
|
||||
final Path mvndHome = Environment.MVND_HOME.asPath();
|
||||
URL[] classpath = Stream.concat(
|
||||
/* jars */
|
||||
|
Reference in New Issue
Block a user