Skip to content

Commit 18ef0e5

Browse files
committed
WIP
1 parent a3018af commit 18ef0e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shared/src/main/java/eu/maveniverse/maven/toolbox/shared/DirectorySink.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ public final class DirectorySink implements Consumer<Collection<Artifact>> {
3030
* Creates plain "flat" directory sink that accepts all artifacts and writes them out having filenames as
3131
* "A[-C]-V.E" and prevents overwrite (what you usually want).
3232
* <p>
33-
* This means that if your set of artifacts have artifacts will different groupIDs but same artifactIDs, this sink
34-
* will fail to prevent overwrite.
33+
* This means that if your set of artifacts have artifacts with different groupIDs but same artifactIDs, this sink
34+
* will fail while accepting them, to prevent overwrite.
3535
*/
3636
public static DirectorySink flat(Output output, Path path) throws IOException {
3737
return new DirectorySink(
38-
output, path, ArtifactMatcher.unique(), ArtifactMapper.identity(), ArtifactNameMapper.ACVE(), false);
38+
output, path, ArtifactMatcher.any(), ArtifactMapper.identity(), ArtifactNameMapper.ACVE(), false);
3939
}
4040

4141
private final Output output;

0 commit comments

Comments
 (0)