Skip to content

Commit

Permalink
revert parallel download of maven depedencies
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Dec 6, 2024
1 parent 2cee375 commit 5ded068
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/lucee/runtime/mvn/POM.java
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ public List<POM> getAllDependencies() throws IOException {
return list;
}

private static TreeNode<POM> getDependenciesX(POM pom, boolean recursive, int level, TreeNode<POM> node) throws IOException {
private static TreeNode<POM> getDependencies(POM pom, boolean recursive, int level, TreeNode<POM> node) throws IOException {
ExecutorService executor = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors());
List<Future<Void>> futures = new ArrayList<>();
try {
Expand All @@ -494,7 +494,7 @@ private static TreeNode<POM> getDependenciesX(POM pom, boolean recursive, int le
}
}

private static TreeNode<POM> getDependencies(POM pom, boolean recursive, int level, TreeNode<POM> node) throws IOException {
private static TreeNode<POM> getDependenciesAsync(POM pom, boolean recursive, int level, TreeNode<POM> node) throws IOException {
ExecutorService executor = null;
try {
List<POM> deps = pom.getDependencies();
Expand Down

0 comments on commit 5ded068

Please sign in to comment.