void () { assumeVersion("bundled"); var embedder = myManager.getEmbedder(MavenEmbeddersManager.FOR_FOLDERS_RESOLVE, myDir.getPath()); var archetypes = embedder.getRemoteArchetypes("https://repo1.maven.org/maven2/"); var filtered = archetypes.stream() .filter(archetype -> "org.apache.maven.archetypes".equals(archetype.groupId) && "maven-archetype-archetype".equals(archetype.artifactId) && "1.0".equals(archetype.version) ).toList(); assertEquals(1, filtered.size()); }