Skip to content

Commit

Permalink
Removed default insert
Browse files Browse the repository at this point in the history
  • Loading branch information
infvg committed Sep 17, 2024
1 parent 4970692 commit 2ae8606
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ public void testResolvePom()
ArtifactResolver artifactResolver = new ArtifactResolver("target/local-repo", MAVEN_CENTRAL_URI);
List<Artifact> artifacts = artifactResolver.resolvePom(pomFile);

assert artifacts != null;
Assert.assertNotNull("artifacts is null", artifacts);
for (Artifact artifact : artifacts) {
assert artifact.getFile() != null;
Assert.assertNotNull("Artifact " + artifact + " is not resolved", artifact.getFile());
}
}
}

0 comments on commit 2ae8606

Please sign in to comment.