mirror of
https://github.com/frohoff/ysoserial.git
synced 2026-09-26 17:01:53 +08:00
revert change
This commit is contained in:
@@ -243,7 +243,7 @@ public class PayloadsTest {
|
|||||||
private static URL[] getDependencyUrls(String[] dependencies) throws MalformedURLException {
|
private static URL[] getDependencyUrls(String[] dependencies) throws MalformedURLException {
|
||||||
File[] jars = dependencies.length > 0
|
File[] jars = dependencies.length > 0
|
||||||
? Maven.configureResolver()
|
? Maven.configureResolver()
|
||||||
.workOffline(JavaVersion.getLocalVersion().major == 6) // use cached deps for java 1.6
|
// .workOffline(JavaVersion.getLocalVersion().major == 6) // use cached deps for java 1.6
|
||||||
.withRemoteRepo("central", "https://repo1.maven.org/maven2/", "default")
|
.withRemoteRepo("central", "https://repo1.maven.org/maven2/", "default")
|
||||||
.withMavenCentralRepo(false)
|
.withMavenCentralRepo(false)
|
||||||
// .withRemoteRepo("jenkins", "https://repo.jenkins-ci.org/public/", "default")
|
// .withRemoteRepo("jenkins", "https://repo.jenkins-ci.org/public/", "default")
|
||||||
|
|||||||
Reference in New Issue
Block a user