fixed artifact/version detection
This commit is contained in:
@@ -282,7 +282,7 @@ public class PurgeRepoMojo extends AbstractMojo {
|
||||
|
||||
private class DeleteNonMetadataVisitor implements FileVisitor<Path> {
|
||||
|
||||
private final Pattern versionPathPattern = Pattern.compile("/([^/]+)/([^/]+)$");
|
||||
private final Pattern versionPathPattern = Pattern.compile("/([^/]+)/([^/]+)/[^/]+$");
|
||||
|
||||
@Override
|
||||
public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException {
|
||||
|
Reference in New Issue
Block a user