Merge pull request #3622 from eclipse/jetty-9.4.x_use_local_repo_dist_test

force using local repo to download module dependencies
This commit is contained in:
Joakim Erdfelt 2019-05-07 11:46:43 -07:00 committed by GitHub
commit 7e7920a969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -142,6 +142,9 @@ public class DistributionTester
commands.add("-Djava.io.tmpdir=" + workDir.toAbsolutePath().toString());
commands.add("-jar");
commands.add(config.jettyHome.toAbsolutePath() + "/start.jar");
// we get artifacts from local repo first
args = new ArrayList<>(args);
args.add("maven.local.repo=" + System.getProperty("mavenRepoPath"));
commands.addAll(args);
LOGGER.info("Executing: {}", commands);